forked from M-Labs/nac3
flake: fix hydraJobs
This commit is contained in:
parent
e4f35372d3
commit
e8e1499478
|
@ -110,7 +110,7 @@
|
|||
devShell.x86_64-linux = packages.x86_64-linux.nac3artiq;
|
||||
|
||||
# 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";
|
||||
paths = with pkgs; [
|
||||
llvm_12
|
||||
|
@ -124,12 +124,13 @@
|
|||
clippy
|
||||
(python3.withPackages(ps: [ ps.numpy ]))
|
||||
];
|
||||
passthru.hydrapkgs = paths;
|
||||
};
|
||||
|
||||
hydraJobs = {
|
||||
inherit (packages.x86_64-linux) 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 = {
|
||||
|
|
Loading…
Reference in New Issue