Commit f658d8ee authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

nix-eval-jobs: switch to nixComponents

this reduces nix-eval-jobs dependency closures to what it exactly uses
parent 1e4e0880
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
{
  lib,
  boost,
  cmake,
  fetchFromGitHub,
  meson,
  ninja,
  curl,
  nix,
  nlohmann_json,
  pkg-config,
  stdenv,
  nixComponents,
}:
stdenv.mkDerivation rec {
  pname = "nix-eval-jobs";
@@ -24,9 +23,14 @@ stdenv.mkDerivation rec {

  buildInputs = [
    boost
    nix
    curl
    nlohmann_json
    nixComponents.nix-store
    nixComponents.nix-fetchers
    nixComponents.nix-expr
    nixComponents.nix-flake
    nixComponents.nix-main
    nixComponents.nix-cmd
  ];

  nativeBuildInputs = [
@@ -43,7 +47,11 @@ stdenv.mkDerivation rec {
  # Since this package is intimately tied to a specific Nix release, we
  # propagate the Nix used for building it to make it easier for users
  # downstream to reference it.
  passthru = { inherit nix; };
  passthru = {
    inherit nixComponents;
    # For nix-fast-build
    nix = nixComponents.nix-cli;
  };

  meta = {
    description = "Hydra's builtin hydra-eval-jobs as a standalone";
+1 −1
Original line number Diff line number Diff line
@@ -15766,7 +15766,7 @@ with pkgs;
    );

  nix-eval-jobs = callPackage ../tools/package-management/nix-eval-jobs {
    nix = nixVersions.nix_2_30;
    nixComponents = nixVersions.nixComponents_2_30;
  };

  nix-delegate = haskell.lib.compose.justStaticExecutables haskellPackages.nix-delegate;