nixVersions.nix_2_26: Move .version to parameter

This commit is contained in:
Robert Hensing
2025-03-31 18:11:26 +02:00
committed by Jörg Thalheim
parent 9aa683efe7
commit b3e4affac6
4 changed files with 5 additions and 2 deletions

View File

@@ -169,6 +169,7 @@ lib.makeExtensible (
nixComponents_2_26 = (
nixDependencies.callPackage ./vendor/2_26/componentized.nix {
version = "2.26.3";
inherit (self.nix_2_24.meta) maintainers;
otherSplices = generateSplicesForNixComponents "nixComponents_2_26";
}

View File

@@ -1 +0,0 @@
2.26.3

View File

@@ -6,6 +6,7 @@
pkgs,
maintainers,
otherSplices,
version,
}:
let
officialRelease = true;
@@ -30,6 +31,7 @@ let
officialRelease
pkgs
src
version
;
};
};

View File

@@ -4,6 +4,7 @@
src,
officialRelease,
maintainers,
version,
}:
scope:
@@ -27,7 +28,7 @@ let
pkg-config
;
baseVersion = lib.fileContents ../.version;
baseVersion = version;
versionSuffix = lib.optionalString (!officialRelease) "pre";