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