fix eval of container test
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22029 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22027 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22026 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22028 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22029 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22027 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22026 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22028 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
This commit is contained in:
parent
93006f816c
commit
1670e2f26d
2 changed files with 8 additions and 7 deletions
|
@ -29,6 +29,7 @@
|
|||
inputs
|
||||
// {
|
||||
inherit system;
|
||||
inputs = inputs';
|
||||
};
|
||||
in
|
||||
import nixpkgs {
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
system,
|
||||
riscv-overlay,
|
||||
...
|
||||
}: {
|
||||
nixpkgs.overlays =
|
||||
if system == "riscv64-linux"
|
||||
then [
|
||||
riscv-overlay.overlays.default
|
||||
]
|
||||
else [];
|
||||
}:
|
||||
if system == "riscv64-linux"
|
||||
then {
|
||||
nixpkgs.overlays = [
|
||||
riscv-overlay.overlays.default
|
||||
];
|
||||
}
|
||||
else {}
|
||||
|
|
Loading…
Reference in a new issue