aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-05-29 23:09:23 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-05-31 09:59:48 +0200
commit094539ef4a637bde795bf67ddcc8f1f7443499f9 (patch)
treed819894a1acd678ab6b247f5cb245a31bf8fd0d3 /flake.nix
parent65e88694c27a2b1de583b9e6584287fcba0b75b4 (diff)
Rename requires -> inputs, provides -> outputs
Issue #2828.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 20ad2bc7e..ab96d5c90 100644
--- a/flake.nix
+++ b/flake.nix
@@ -5,13 +5,13 @@
epoch = 2019;
- requires = [ "nixpkgs" ];
+ inputs = [ "nixpkgs" ];
- provides = deps: rec {
+ outputs = inputs: rec {
hydraJobs = import ./release.nix {
- nix = deps.self;
- nixpkgs = deps.nixpkgs;
+ nix = inputs.self;
+ nixpkgs = inputs.nixpkgs;
};
checks = {
@@ -29,7 +29,7 @@
defaultPackage = packages.nix;
devShell = import ./shell.nix {
- nixpkgs = deps.nixpkgs;
+ nixpkgs = inputs.nixpkgs;
};
};
}