utillinux: no-rebuild clean up
This commit is contained in:
parent
4ed50bdd93
commit
760be1f4b2
@ -1,18 +1,12 @@
|
|||||||
{ lib, stdenv, fetchurl, pkgconfig, zlib, shadow
|
{ lib, stdenv, fetchurl, pkgconfig, zlib, shadow
|
||||||
, ncurses ? null, perl ? null, pam, systemd ? null, minimal ? false }:
|
, ncurses ? null, perl ? null, pam, systemd ? null, minimal ? false }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = lib.concatStringsSep "." ([ majorVersion ]
|
|
||||||
++ lib.optional (patchVersion != "") patchVersion);
|
|
||||||
majorVersion = "2.33";
|
|
||||||
patchVersion = "2";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
pname = "util-linux";
|
pname = "util-linux";
|
||||||
inherit version;
|
version = "2.33.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${pname}-${version}.tar.xz";
|
url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "15yf2dh4jd1kg6066hydlgdhhs2j3na13qld8yx30qngqvmfh6v3";
|
sha256 = "15yf2dh4jd1kg6066hydlgdhhs2j3na13qld8yx30qngqvmfh6v3";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user