1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 16:51:15 +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:
Eelco Dolstra 2019-08-30 11:22:34 +02:00
parent ebc4dae517
commit 89468410d5
3 changed files with 15 additions and 5 deletions

View file

@ -80,7 +80,7 @@ public:
sFile, sLine, sColumn, sFunctor, sToString,
sRight, sWrong, sStructuredAttrs, sBuilder, sArgs,
sOutputHash, sOutputHashAlgo, sOutputHashMode,
sDescription;
sDescription, sSelf;
Symbol sDerivationNix;
/* If set, force copying files to the Nix store even if they