forked from lix-project/hydra
Update flake.nix
This commit is contained in:
parent
b7be2bf9ad
commit
bc11ab22a3
18
flake.lock
18
flake.lock
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
"nonFlakeRequires": {},
|
"inputs": {
|
||||||
"requires": {
|
|
||||||
"nix": {
|
"nix": {
|
||||||
"contentHash": "sha256-rUM0KiuCRHv8WKBOfv4XKOu7WP8nsYdPdnTPZFBzjyc=",
|
"inputs": {
|
||||||
"requires": {
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"contentHash": "sha256-vy2UmXQM66aS/Kn2tCtjt9RwxfBvV+nQVb5tJQFwi8E=",
|
"narHash": "sha256-rMiWaLXkhizEEMEeMDutUl0Y/c+VEjfjvMkvBwvuQJU=",
|
||||||
"uri": "github:edolstra/nixpkgs/a4d896e89932e873c4117908d558db6210fa3b56"
|
"uri": "github:edolstra/nixpkgs/eeeffd24cd7e407cfaa99e98cfbb8f93bf4cc033"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"uri": "github:NixOS/nix/3cecf3f39c5c580ed6d0c5f0bcbb09dcc53dfae4"
|
"narHash": "sha256-Gu5o0nUsQHthWNXGQ3iZviecgNGcEKY+4R0okapfZ54=",
|
||||||
|
"uri": "github:NixOS/nix/507c150034256117cd56e31944feedb8f2f3ff3e"
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"contentHash": "sha256-vy2UmXQM66aS/Kn2tCtjt9RwxfBvV+nQVb5tJQFwi8E=",
|
"narHash": "sha256-rMiWaLXkhizEEMEeMDutUl0Y/c+VEjfjvMkvBwvuQJU=",
|
||||||
"uri": "github:edolstra/nixpkgs/a4d896e89932e873c4117908d558db6210fa3b56"
|
"uri": "github:edolstra/nixpkgs/eeeffd24cd7e407cfaa99e98cfbb8f93bf4cc033"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nonFlakeInputs": {},
|
||||||
"version": 1
|
"version": 1
|
||||||
}
|
}
|
||||||
|
|
16
flake.nix
16
flake.nix
|
@ -5,15 +5,15 @@
|
||||||
|
|
||||||
epoch = 2019;
|
epoch = 2019;
|
||||||
|
|
||||||
requires = [ "nixpkgs" "nix" ];
|
inputs = [ "nixpkgs" "nix" ];
|
||||||
|
|
||||||
provides = deps: rec {
|
outputs = inputs: rec {
|
||||||
|
|
||||||
hydraJobs = import ./release.nix {
|
hydraJobs = import ./release.nix {
|
||||||
hydraSrc = deps.self;
|
hydraSrc = inputs.self;
|
||||||
nixpkgs = deps.nixpkgs;
|
nixpkgs = inputs.nixpkgs;
|
||||||
nix = deps.nix.provides.hydraJobs.build.x86_64-linux // {
|
nix = inputs.nix.outputs.hydraJobs.build.x86_64-linux // {
|
||||||
perl-bindings = deps.nix.provides.hydraJobs.perlBindings.x86_64-linux;
|
perl-bindings = inputs.nix.outputs.hydraJobs.perlBindings.x86_64-linux;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
defaultPackage = packages.hydra;
|
defaultPackage = packages.hydra;
|
||||||
|
|
||||||
devShell = (import ./release.nix {
|
devShell = (import ./release.nix {
|
||||||
hydraSrc = deps.self;
|
hydraSrc = inputs.self;
|
||||||
nixpkgs = deps.nixpkgs;
|
nixpkgs = inputs.nixpkgs;
|
||||||
shell = true;
|
shell = true;
|
||||||
}).build.x86_64-linux;
|
}).build.x86_64-linux;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue