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" ]
(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;
};
}

View file

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