Skip to content

Commit 5779990

Browse files
committed
build: pin nixos-option to nix 2.24
1 parent 8dce5f3 commit 5779990

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build/common.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515

1616
nixpkgs.config.allowUnfree = true;
1717

18+
nixpkgs.overlays = [
19+
(_prev: final: {
20+
# fails to find nix-main against nix 2.28.x
21+
# https://github.com/NixOS/infra/pull/620#issuecomment-2784979947
22+
nixos-option = final.nixos-option.override { nix = pkgs.nixVersions.nix_2_24; };
23+
})
24+
];
25+
1826
hardware.enableAllFirmware = true;
1927
hardware.cpu.amd.updateMicrocode = true;
2028
hardware.cpu.intel.updateMicrocode = true;

0 commit comments

Comments
 (0)