utillinux: 2.30 -> 2.30.2
This commit is contained in:
parent
d0631d4445
commit
7b4db5da18
@ -5,23 +5,18 @@ let
|
|||||||
version = lib.concatStringsSep "." ([ majorVersion ]
|
version = lib.concatStringsSep "." ([ majorVersion ]
|
||||||
++ lib.optional (patchVersion != "") patchVersion);
|
++ lib.optional (patchVersion != "") patchVersion);
|
||||||
majorVersion = "2.30";
|
majorVersion = "2.30";
|
||||||
patchVersion = "";
|
patchVersion = "2";
|
||||||
|
|
||||||
fstrimPatch = fetchpatch {
|
|
||||||
url = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/patch/?id=155d48f590a50bb5dc265162ff2f9a971daed543";
|
|
||||||
sha256 = "1wj0fj3iwaimr6p8wxg6l2i1hjyrfgcwcxziyxqz8acxba7k6zxh";
|
|
||||||
};
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "util-linux-${version}";
|
name = "util-linux-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz";
|
url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz";
|
||||||
sha256 = "13d0ax8bcapga8phj2nclx86w57ddqxbr98ajibpzjq6d7zs8262";
|
sha256 = "1p494mwd8v6p6mpmmjybkc7bz1qwp9x4cdi8hdvp2nwvkr4fanvv";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./rtcwake-search-PATH-for-shutdown.patch
|
./rtcwake-search-PATH-for-shutdown.patch
|
||||||
fstrimPatch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "out" "man" ];
|
outputs = [ "bin" "dev" "out" "man" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user