Don’t pass -f to nix when running findProjectAssets
This is unnecessary as we import immediately in the expression.
commit419f5e49d37a37d0c7ca57c97c5febef31cce88f
authorMatthew Bauer <mjbauer95@gmail.com>
dateTue 11 Feb 2020, 14:59 (7 years ago)
parentc0618d5
lib/command/src/Obelisk/Command/Project.hs−2
@@ -315,8 +315,6 @@ findProjectAssets root = do
315315 isDerivation <- readProcessAndLogStderr Debug $
316316 proc nixExePath
317317 [ "eval"
318− , "-f"
319− , root
320318 , "(let a = import " <> importableRoot <> " {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))"
321319 , "--raw"
322320 -- `--raw` is not available with old nix-instantiate. It drops quotation