We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d3c2e8 commit 82cad21Copy full SHA for 82cad21
1 file changed
tests/nixos/fetchers-substitute.nix
@@ -4,6 +4,26 @@
4
nodes.substituter =
5
{ pkgs, ... }:
6
{
7
+ # nix-serve is broken while cross-compiling in nixpkgs 25.11. It's been
8
+ # fixed since, but while we're pinning 25.11 we use this workaround.
9
+ nixpkgs.overlays = [
10
+ (
11
+ final: prev:
12
+ let
13
+ v25_11 = final.lib.versions.majorMinor final.lib.version == "25.11";
14
+ warning = final.lib.warnIf (
15
+ !v25_11
16
+ ) "remove the hack in fetchers-substitute.nix when updating nixpkgs from 25.11";
17
+ in
18
+ warning {
19
+ nix-serve = prev.nix-serve.override {
20
+ nix = prev.nix // {
21
+ libs.nix-perl-bindings = prev.nix.nix-perl-bindings ? null;
22
+ };
23
24
+ }
25
+ )
26
+ ];
27
virtualisation.writableStore = true;
28
29
nix.settings.extra-experimental-features = [
0 commit comments