Skip to content

Commit 696bcab

Browse files
authored
Merge pull request #1 from weriomat/master
Fix tests + overlays output
2 parents 0c2b81d + 91c89c1 commit 696bcab

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

flake.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
};
1717

1818
outputs = { self, nixpkgs, utils, ... }@inputs:
19-
rec {
20-
overlay = final: prev: let
19+
{
20+
overlays.default = final: prev: let
2121
darwinOptions = final.lib.optionalAttrs final.stdenv.isDarwin {
2222
buildInputs = with final.darwin.apple_sdk.frameworks; [
2323
SystemConfiguration
@@ -150,7 +150,6 @@
150150
};
151151
};
152152
};
153-
overlays.default = overlay;
154153
} //
155154
utils.lib.eachSystem (utils.lib.defaultSystems ++ ["aarch64-darwin"]) (system:
156155
let

nix/tests/common.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
};
1616
};
1717

18+
# The "nixos-test-profile" profile disables the `switch-to-configuration` script by default
19+
system.switch.enable = true;
20+
1821
virtualisation.graphics = false;
1922
virtualisation.memorySize = 1536;
2023
boot.loader.grub.enable = false;

0 commit comments

Comments
 (0)