nixVersions.nix_2_26: Move .version to parameter
This commit is contained in:
committed by
Jörg Thalheim
parent
9aa683efe7
commit
b3e4affac6
@@ -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";
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
2.26.3
|
||||
@@ -6,6 +6,7 @@
|
||||
pkgs,
|
||||
maintainers,
|
||||
otherSplices,
|
||||
version,
|
||||
}:
|
||||
let
|
||||
officialRelease = true;
|
||||
@@ -30,6 +31,7 @@ let
|
||||
officialRelease
|
||||
pkgs
|
||||
src
|
||||
version
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user