Merge pull request #264870 from K900/test-eval-fix

nixos/tests/predictable-interface-names: fix eval for systemd-stage1

authored by K900 and committed by GitHub c4b91d02 da939a89

+1 -1
+1 -1
nixos/tests/predictable-interface-names.nix
··· 36 networking.useDHCP = !withNetworkd; 37 38 # Check if predictable interface names are working in stage-1 39 - boot.initrd.postDeviceCommands = script; 40 41 boot.initrd.systemd = lib.mkIf systemdStage1 { 42 enable = true;
··· 36 networking.useDHCP = !withNetworkd; 37 38 # Check if predictable interface names are working in stage-1 39 + boot.initrd.postDeviceCommands = lib.mkIf (!systemdStage1) script; 40 41 boot.initrd.systemd = lib.mkIf systemdStage1 { 42 enable = true;