@@ -245,7 +245,7 @@ inImpureProjectShell shellName command = withProjectRoot "." $ \root ->
245245projectShell :: MonadObelisk m => FilePath -> Bool -> String -> Maybe String -> m ()
246246projectShell root isPure shellName command = do
247247 let nixPath = $(staticWhich "nix")
248− nixpkgsPath <- fmap T.strip $ readProcessAndLogStderr Debug $ proc nixPath ["eval", "(import .obelisk/impl {}).nixpkgs.path"]
248+ nixpkgsPath <- fmap T.strip $ readProcessAndLogStderr Debug $ setCwd (Just root) $ proc nixPath ["eval", "(import .obelisk/impl {}).nixpkgs.path"]
249249 nixRemote <- liftIO $ lookupEnv "NIX_REMOTE"
250250 (_, _, _, ph) <- createProcess_ "runNixShellAttr" $ setCtlc $ setCwd (Just root) $ proc "nix-shell" $
251251 [ "default.nix"] <>