This commit is contained in:
thornAvery 2021-12-01 03:03:04 +00:00
parent 1cb9558160
commit 4148be6ec7
4 changed files with 4 additions and 4 deletions

View file

@ -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;
}; };
} }

View file

@ -1,3 +1,3 @@
inputs: [ inputs: [
./code ../code
] ]