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 inputs
// { // {
inherit system; inherit system;
inputs = inputs';
}; };
in in
import nixpkgs { import nixpkgs {

View file

@ -2,11 +2,11 @@
system, system,
riscv-overlay, riscv-overlay,
... ...
}: { }:
nixpkgs.overlays = if system == "riscv64-linux"
if system == "riscv64-linux" then {
then [ nixpkgs.overlays = [
riscv-overlay.overlays.default riscv-overlay.overlays.default
] ];
else [];
} }
else {}