mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
util-linuxMinimal: remove appendToName to have a consistent package name for repology
This commit is contained in:
parent
b50d36a69a
commit
bcad3669e8
@ -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=";
|
||||
};
|
||||
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user