forked from M-Labs/nac3
1
0
Fork 0

Revert "flake: fix hydraJobs"

This reverts commit e8e1499478.
This commit is contained in:
Sebastien Bourdeauducq 2021-12-05 14:35:25 +08:00
parent 65bc1e5fa4
commit 9ee2168932
1 changed files with 2 additions and 3 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 rec { defaultPackage.x86_64-linux = pkgs.buildEnv {
name = "nac3-dev-shell"; name = "nac3-dev-shell";
paths = with pkgs; [ paths = with pkgs; [
llvm_12 llvm_12
@ -124,13 +124,12 @@
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.hydrapkgs); } // (pkgs.lib.foldr (a: b: {"${pkgs.lib.strings.getName a}" = a;} // b) {} defaultPackage.x86_64-linux.paths);
}; };
nixConfig = { nixConfig = {