cleanup
This commit is contained in:
parent
1cb9558160
commit
4148be6ec7
|
@ -9,19 +9,19 @@
|
||||||
[ "x86_64-linux" ]
|
[ "x86_64-linux" ]
|
||||||
(system:
|
(system:
|
||||||
let pkgs = import inputs.nixpkgs {
|
let pkgs = import inputs.nixpkgs {
|
||||||
overlays = [ ((import ./overlay.nix) inputs) ];
|
overlays = [ ((import ./nix/overlay.nix) inputs) ];
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
defaultPackage = packages.aoc2021;
|
defaultPackage = packages.aoc2021;
|
||||||
packages = inputs.flake-utils.lib.flattenTree
|
packages = inputs.flake-utils.lib.flattenTree
|
||||||
((import ./utils.nix) { inherit pkgs; inherit inputs; });
|
((import ./nix/utils.nix) { inherit pkgs; inherit inputs; });
|
||||||
hydraJobs = builtins.listToAttrs
|
hydraJobs = builtins.listToAttrs
|
||||||
(map (s: { name = s; value = {
|
(map (s: { name = s; value = {
|
||||||
${system} = packages.${s};
|
${system} = packages.${s};
|
||||||
}; })
|
}; })
|
||||||
(builtins.attrNames packages));
|
(builtins.attrNames packages));
|
||||||
}) // {
|
}) // {
|
||||||
overlay = (import ./overlay.nix) inputs;
|
overlay = (import ./nix/overlay.nix) inputs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
inputs: [
|
inputs: [
|
||||||
./code
|
../code
|
||||||
]
|
]
|
Loading…
Reference in a new issue