mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-25 09:34:13 +03:00
Outpaths: don't write outpaths.nix to nixpkgs dir
This commit is contained in:
parent
49fc1d8d58
commit
e441010d55
@ -88,11 +88,11 @@ in
|
||||
|
||||
outPath :: MonadIO m => ExceptT Text m Text
|
||||
outPath = do
|
||||
liftIO $ putStrLn "Writing outpaths.nix..."
|
||||
liftIO $ T.writeFile "./outpaths.nix" outPathsExpr
|
||||
cacheDir <- liftIO $ Utils.outpathCacheDir
|
||||
liftIO $ T.writeFile (cacheDir </> "/outpaths.nix") outPathsExpr
|
||||
liftIO $ putStrLn "Evaluating outpaths..."
|
||||
ourReadProcessInterleaved_
|
||||
"nix-env -f ./outpaths.nix -qaP --no-name --out-path --arg checkMeta true --show-trace"
|
||||
"nix-env -f " <> (cacheDir </> "/outpaths.nix") <> "-qaP --no-name --out-path --arg path . --arg checkMeta true --show-trace"
|
||||
|
||||
data Outpath = Outpath
|
||||
{ mayName :: Maybe Text,
|
||||
|
Loading…
Reference in New Issue
Block a user