M README.md => README.md +2 -0
@@ 26,6 26,8 @@ or:
nix install
+Nix >=2.4 with the `nix-command` feature enabled is required.
+
## Usage
To scan `PATH` for references and pin them, run
M src/BaseContext.hs => src/BaseContext.hs +1 -1
@@ 17,7 17,7 @@ data BaseContext = BaseContext
establishBaseContext :: GlobalOptions -> IO BaseContext
establishBaseContext globalOpts = do
defaultStoreDir <- readProcess "nix"
- ["eval", "--raw", "(builtins.storeDir)"]
+ ["eval", "--raw", "--expr", "builtins.storeDir"]
mempty
pure BaseContext
{ storeDir = fromMaybe defaultStoreDir $ GlobalOptions.storeDir globalOpts