Merge "flake.nix: hack to fix build on staging-next" into main

This commit is contained in:
Ilya K
2025-02-06 17:55:37 +00:00
committed by Gerrit Code Review
+9
View File
@@ -201,6 +201,15 @@
srcDir = ./subprojects/nix-eval-jobs;
};
# HACK: We need nix-prefetch-git for fetchCargoVendor for Rust stuff,
# so it can't use Lix, or we infrec:
# lix -> Rust stuff -> fetchCargoVendor -> nix-prefetch-git -> nix (lix)
# This will eventually become a problem upstream, but until then,
# apply some duct tape and pray.
nix-prefetch-git = prev.nix-prefetch-git.override {
nix = prev.nix;
};
# Export the patched version of boehmgc that Lix uses into the overlay
# for consumers of this flake.
boehmgc-nix = final.nix.passthru.boehmgc-nix;