Commit a5ff1199 authored by John Ericson's avatar John Ericson Committed by Robert Hensing
Browse files

attic-client: Use Nix 2.24 for now

parent 1be27f98
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  nixForLinking,
  nixVersions,
  nixosTests,
  boost,
  pkg-config,
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage {

  buildInputs =
    [
      nixForLinking
      nixVersions.nix_2_24
      boost
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin (
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage {
  useFetchCargoVendor = true;

  ATTIC_DISTRIBUTOR = "nixpkgs";
  NIX_INCLUDE_PATH = "${lib.getDev nixForLinking}/include";
  NIX_INCLUDE_PATH = "${lib.getDev nixVersions.nix_2_24}/include";

  # Attic interacts with Nix directly and its tests require trusted-user access
  # to nix-daemon to import NARs, which is not possible in the build sandbox.