nix-heuristic-gc: Pin nix_2_24

This commit is contained in:
Robert Hensing 2025-04-07 14:37:55 +02:00
parent d6bd5f2f50
commit c4dddcff9d

View file

@ -3,7 +3,7 @@
{ {
lib, lib,
fetchFromGitHub, fetchFromGitHub,
nix, nixVersions,
boost, boost,
python3Packages, python3Packages,
}: }:
@ -19,12 +19,12 @@ python3Packages.buildPythonPackage rec {
# NIX_SYSTEM suggested at # NIX_SYSTEM suggested at
# https://github.com/NixOS/nixpkgs/issues/386184#issuecomment-2692433531 # https://github.com/NixOS/nixpkgs/issues/386184#issuecomment-2692433531
NIX_SYSTEM = nix.stdenv.hostPlatform.system; NIX_SYSTEM = nixVersions.nix_2_24.stdenv.hostPlatform.system;
NIX_CFLAGS_COMPILE = [ "-I${lib.getDev nix}/include/nix" ]; NIX_CFLAGS_COMPILE = [ "-I${lib.getDev nixVersions.nix_2_24}/include/nix" ];
buildInputs = [ buildInputs = [
boost boost
nix nixVersions.nix_2_24
python3Packages.pybind11 python3Packages.pybind11
python3Packages.setuptools python3Packages.setuptools
]; ];