nix-eval-jobs: switch to nixComponents (#433025)

authored by Jörg Thalheim and committed by GitHub b38cdcc5 6cdf7c60

+13 -5
+12 -4
pkgs/tools/package-management/nix-eval-jobs/default.nix
··· 1 1 { 2 2 lib, 3 3 boost, 4 - cmake, 5 4 fetchFromGitHub, 6 5 meson, 7 6 ninja, 8 7 curl, 9 - nix, 10 8 nlohmann_json, 11 9 pkg-config, 12 10 stdenv, 11 + nixComponents, 13 12 }: 14 13 stdenv.mkDerivation rec { 15 14 pname = "nix-eval-jobs"; ··· 24 23 25 24 buildInputs = [ 26 25 boost 27 - nix 28 26 curl 29 27 nlohmann_json 28 + nixComponents.nix-store 29 + nixComponents.nix-fetchers 30 + nixComponents.nix-expr 31 + nixComponents.nix-flake 32 + nixComponents.nix-main 33 + nixComponents.nix-cmd 30 34 ]; 31 35 32 36 nativeBuildInputs = [ ··· 43 47 # Since this package is intimately tied to a specific Nix release, we 44 48 # propagate the Nix used for building it to make it easier for users 45 49 # downstream to reference it. 46 - passthru = { inherit nix; }; 50 + passthru = { 51 + inherit nixComponents; 52 + # For nix-fast-build 53 + nix = nixComponents.nix-cli; 54 + }; 47 55 48 56 meta = { 49 57 description = "Hydra's builtin hydra-eval-jobs as a standalone";
+1 -1
pkgs/top-level/all-packages.nix
··· 15748 15748 ); 15749 15749 15750 15750 nix-eval-jobs = callPackage ../tools/package-management/nix-eval-jobs { 15751 - nix = nixVersions.nix_2_30; 15751 + nixComponents = nixVersions.nixComponents_2_30; 15752 15752 }; 15753 15753 15754 15754 nix-delegate = haskell.lib.compose.justStaticExecutables haskellPackages.nix-delegate;