lixPackageSets.stable.nix-fast-build: init (#396601)

This commit is contained in:
Peder Bergebakken Sundt
2025-04-23 08:35:39 +02:00
committed by GitHub
2 changed files with 13 additions and 0 deletions
@@ -40,6 +40,14 @@ stdenv.mkDerivation {
# point 'nix edit' and ofborg at the file that defines the attribute,
# not this common file.
pos = builtins.unsafeGetAttrPos "version" args;
# 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 = {
nix = lix;
};
meta = {
description = "Hydra's builtin `hydra-eval-jobs` as a standalone tool";
mainProgram = "nix-eval-jobs";
@@ -12,6 +12,7 @@
ncurses,
stdenv,
clangStdenv,
nix-fast-build,
storeDir ? "/nix/store",
stateDir ? "/nix/var",
@@ -85,6 +86,10 @@ let
nix-eval-jobs = self.callPackage (callPackage ./common-nix-eval-jobs.nix nix-eval-jobs-args) {
stdenv = lixStdenv;
};
nix-fast-build = nix-fast-build.override {
inherit (self) nix-eval-jobs;
};
}
);
in