diff --git a/dhall-nix/src/Dhall/Nix.hs b/dhall-nix/src/Dhall/Nix.hs index 39103ddf0..2b74462b0 100644 --- a/dhall-nix/src/Dhall/Nix.hs +++ b/dhall-nix/src/Dhall/Nix.hs @@ -696,7 +696,7 @@ dhallToNix e = _ -> return (unionChoice k Nothing) loop (Field a (Dhall.Core.fieldSelectionLabel -> b)) = do a' <- loop a - return (a' @. b) + return (Fix (Nix.NSelect a' (mkDoubleQuoted b :| []) Nothing)) loop (Project a (Left b)) = do a' <- loop a let b' = fmap StaticKey (toList b)