on master help sign in
Fix ob init for nix 2.0

TODO: Ensure collect garbage does not rebuild a cached build

commit8b48ba2f0e623ddc0652de5c97e046016e5c3b89 authorLuigy Leon <luigy@outlook.com> dateMon 7 May 2018, 14:46 (8 years ago) parent0a70834
1 file changed+1−1
lib/command/src/Obelisk/Command/Nix.hs+1−1
lib/command/src/Obelisk/Command/Nix.hs+1−1
@@ -52,7 +52,7 @@ nixBuild cfg = do
5252 , case _nixBuildConfig_outLink cfg of
5353 OutLink_Default -> []
5454 OutLink_None -> ["--no-out-link"]
55− OutLink_IndirectRoot outLink -> ["--indirect", "--add-root", outLink]
55+ OutLink_IndirectRoot outLink -> ["--out-link", outLink]
5656 ]
5757 (_, Just out, Just err, p) <- createProcess (proc "nix-build" args)
5858 { std_out = CreatePipe