3
0
Fork 0
forked from mirrors/nixpkgs

util-linuxMinimal: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-03-01 14:21:26 +01:00 committed by Jonathan Ringer
parent b50d36a69a
commit bcad3669e8
2 changed files with 4 additions and 4 deletions

View file

@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
pname = "util-linux";
pname = "util-linux" + lib.optionalString ( !nlsSupport && ncurses == null && systemd == null ) "-minimal";
version = "2.37.4";
src = fetchurl {
url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/util-linux-${version}.tar.xz";
sha256 = "sha256-Y05pFq2RM2bDU2tkaOeER2lUm5mnsr+AMU3nirVlW4M=";
};

View file

@ -23333,11 +23333,11 @@ with pkgs;
util-linuxCurses = util-linux;
util-linuxMinimal = if stdenv.isLinux then appendToName "minimal" (util-linux.override {
util-linuxMinimal = if stdenv.isLinux then util-linux.override {
nlsSupport = false;
ncurses = null;
systemd = null;
}) else util-linux;
} else util-linux;
v4l-utils = qt5.callPackage ../os-specific/linux/v4l-utils { };