on master help sign in
Don’t pass -f to nix when running findProjectAssets
419f5e4Matthew Bauer
lib/command/src/Obelisk/Command/Project.hs−2
@@ -315,8 +315,6 @@ findProjectAssets root = do
315 isDerivation <- readProcessAndLogStderr Debug $
315 isDerivation <- readProcessAndLogStderr Debug $
316 proc nixExePath
316 proc nixExePath
317 [ "eval"
317 [ "eval"
318− , "-f"
319− , root
320 , "(let a = import " <> importableRoot <> " {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))"
318 , "(let a = import " <> importableRoot <> " {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))"
321 , "--raw"
319 , "--raw"
322 -- `--raw` is not available with old nix-instantiate. It drops quotation
320 -- `--raw` is not available with old nix-instantiate. It drops quotation