aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-08-30 16:27:51 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-08-30 16:27:51 +0200
commit30ccf4e52d31ea0f1531feb8cccdc0314a41265d (patch)
tree95f64a0d22d3c36ea333a2824713206fe4f03549 /doc
parent0588d72286c97c7b43d8682930e0e43b0a1b8c1a (diff)
Turn flake inputs into an attrset
Instead of a list, inputs are now an attrset like inputs = { nixpkgs.uri = github:NixOS/nixpkgs; }; If 'uri' is omitted, than the flake is a lookup in the flake registry, e.g. inputs = { nixpkgs = {}; }; but in that case, you can also just omit the input altogether and specify it as an argument to the 'outputs' function, as in outputs = { self, nixpkgs }: ... This also gets rid of 'nonFlakeInputs', which are now just a special kind of input that have a 'flake = false' attribute, e.g. inputs = { someRepo = { uri = github:example/repo; flake = false; }; };
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions