mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Extract flake dependencies from the 'outputs' arguments
That is, instead of inputs = [ "nixpkgs" ]; outputs = inputs: ... inputs.nixpkgs ...; you can write outputs = { nixpkgs }: ... inputs.nixpkgs ...;
This commit is contained in:
parent
ebc4dae517
commit
89468410d5
3 changed files with 15 additions and 5 deletions
|
@ -304,6 +304,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
|
|||
, sOutputHashAlgo(symbols.create("outputHashAlgo"))
|
||||
, sOutputHashMode(symbols.create("outputHashMode"))
|
||||
, sDescription(symbols.create("description"))
|
||||
, sSelf(symbols.create("self"))
|
||||
, repair(NoRepair)
|
||||
, store(store)
|
||||
, baseEnv(allocEnv(128))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue