From c4dddcff9df916afeb659a3caef1272f802fa446 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 7 Apr 2025 14:37:55 +0200 Subject: [PATCH] nix-heuristic-gc: Pin nix_2_24 --- pkgs/by-name/ni/nix-heuristic-gc/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ni/nix-heuristic-gc/package.nix b/pkgs/by-name/ni/nix-heuristic-gc/package.nix index 0c0c8e76222a..88cad6addb7a 100644 --- a/pkgs/by-name/ni/nix-heuristic-gc/package.nix +++ b/pkgs/by-name/ni/nix-heuristic-gc/package.nix @@ -3,7 +3,7 @@ { lib, fetchFromGitHub, - nix, + nixVersions, boost, python3Packages, }: @@ -19,12 +19,12 @@ python3Packages.buildPythonPackage rec { # NIX_SYSTEM suggested at # https://github.com/NixOS/nixpkgs/issues/386184#issuecomment-2692433531 - NIX_SYSTEM = nix.stdenv.hostPlatform.system; - NIX_CFLAGS_COMPILE = [ "-I${lib.getDev nix}/include/nix" ]; + NIX_SYSTEM = nixVersions.nix_2_24.stdenv.hostPlatform.system; + NIX_CFLAGS_COMPILE = [ "-I${lib.getDev nixVersions.nix_2_24}/include/nix" ]; buildInputs = [ boost - nix + nixVersions.nix_2_24 python3Packages.pybind11 python3Packages.setuptools ];