util-linux: only add updateScript for non-minimal build
We choose the non-minimal build because minimal encompasses libuuid and util-linuxMinimal.
This commit is contained in:
@@ -213,13 +213,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
doCheck = false; # "For development purpose only. Don't execute on production system!"
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
# No nicer place to find latest release.
|
||||
url = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git";
|
||||
rev-prefix = "v";
|
||||
ignoredVersions = "(-rc).*";
|
||||
};
|
||||
|
||||
# encode upstream assumption to be used in man-db
|
||||
# https://github.com/util-linux/util-linux/commit/8886d84e25a457702b45194d69a47313f76dc6bc
|
||||
hasCol = stdenv.hostPlatform.libc == "glibc";
|
||||
@@ -227,6 +220,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
tests = {
|
||||
inherit (nixosTests) pam-lastlog;
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (!isMinimal) {
|
||||
updateScript = gitUpdater {
|
||||
# No nicer place to find latest release.
|
||||
url = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git";
|
||||
rev-prefix = "v";
|
||||
ignoredVersions = "(-rc|-start|-devel).*";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user