forked from M-Labs/nac3
1
0
Fork 0

flake: fix hydraJobs

This commit is contained in:
Sebastien Bourdeauducq 2021-12-05 13:02:57 +08:00
parent e4f35372d3
commit e8e1499478
1 changed files with 3 additions and 2 deletions

View File

@ -110,7 +110,7 @@
devShell.x86_64-linux = packages.x86_64-linux.nac3artiq; devShell.x86_64-linux = packages.x86_64-linux.nac3artiq;
# Use "nix shell" to enter a development environment. # Use "nix shell" to enter a development environment.
defaultPackage.x86_64-linux = pkgs.buildEnv { defaultPackage.x86_64-linux = pkgs.buildEnv rec {
name = "nac3-dev-shell"; name = "nac3-dev-shell";
paths = with pkgs; [ paths = with pkgs; [
llvm_12 llvm_12
@ -124,12 +124,13 @@
clippy clippy
(python3.withPackages(ps: [ ps.numpy ])) (python3.withPackages(ps: [ ps.numpy ]))
]; ];
passthru.hydrapkgs = paths;
}; };
hydraJobs = { hydraJobs = {
inherit (packages.x86_64-linux) nac3artiq; inherit (packages.x86_64-linux) nac3artiq;
nac3artiq-mingw = packages.x86_64-w64-mingw32.nac3artiq; nac3artiq-mingw = packages.x86_64-w64-mingw32.nac3artiq;
} // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} defaultPackage.x86_64-linux.paths); } // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} defaultPackage.x86_64-linux.hydrapkgs);
}; };
nixConfig = { nixConfig = {