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

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-28 15:44:39 +01:00
parent 93006f816c
commit 1670e2f26d
2 changed files with 8 additions and 7 deletions

View file

@ -29,6 +29,7 @@
inputs
// {
inherit system;
inputs = inputs';
};
in
import nixpkgs {

View file

@ -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 {}