mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 21:46:01 +01: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