Add pure flag to inProjectShell
commitc95f0d951796dd72e1748075db0c79d29cb96866
authorLuigy Leon <luigy@outlook.com>
dateThu 3 May 2018, 14:37 (8 years ago)
parent8c3c07b
lib/command/src/Obelisk/Command/Project.hs+2−1
@@ -158,7 +158,8 @@ inProjectShell shellName command = do
158158 Nothing -> putStrLn "Must be used inside of an Obelisk project"
159159 Just root -> do
160160 (_, _, _, ph) <- createProcess_ "runNixShellAttr" $ setCwd (Just root) $ proc "nix-shell"
161− [ "-A"
161+ [ "--pure"
162+ , "-A"
162163 , "shells." <> shellName
163164 , "--run", command
164165 ]