util-linux: 2.28.1 -> 2.29
This commit is contained in:
parent
70b0af9f83
commit
e8d3c74b49
@ -4,12 +4,12 @@ stdenv.mkDerivation rec {
|
|||||||
name = "util-linux-${version}";
|
name = "util-linux-${version}";
|
||||||
version = lib.concatStringsSep "." ([ majorVersion ]
|
version = lib.concatStringsSep "." ([ majorVersion ]
|
||||||
++ lib.optional (patchVersion != "") patchVersion);
|
++ lib.optional (patchVersion != "") patchVersion);
|
||||||
majorVersion = "2.28";
|
majorVersion = "2.29";
|
||||||
patchVersion = "1";
|
patchVersion = "";
|
||||||
|
|
||||||
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 = "03xnaw3c7pavxvvh1vnimcr44hlhhf25whawiyv8dxsflfj4xkiy";
|
sha256 = "1rzrmdrz51p9sy7vlw5qmj8pmqazm7hgcch5yq242mkvrikyln9c";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -3,21 +3,17 @@ which isn't valid on NixOS (and a compatibility link on most other modern
|
|||||||
distros anyway).
|
distros anyway).
|
||||||
|
|
||||||
-- nckx <tobias.geerinckx.rice@gmail.com>
|
-- nckx <tobias.geerinckx.rice@gmail.com>
|
||||||
diff --git a/include/pathnames.h b/include/pathnames.h
|
|
||||||
index de6a13c..0c1aeb9 100644
|
|
||||||
--- a/include/pathnames.h
|
--- a/include/pathnames.h
|
||||||
+++ b/include/pathnames.h
|
+++ b/include/pathnames.h
|
||||||
@@ -50,7 +50,7 @@
|
@@ -53,7 +53,7 @@
|
||||||
#define _PATH_VAR_NOLOGIN "/var/run/nologin"
|
#ifndef _PATH_LOGIN
|
||||||
|
|
||||||
#define _PATH_LOGIN "/bin/login"
|
#define _PATH_LOGIN "/bin/login"
|
||||||
|
#endif
|
||||||
-#define _PATH_SHUTDOWN "/sbin/shutdown"
|
-#define _PATH_SHUTDOWN "/sbin/shutdown"
|
||||||
+#define _PATH_SHUTDOWN "shutdown"
|
+#define _PATH_SHUTDOWN "shutdown"
|
||||||
|
|
||||||
#define _PATH_TERMCOLORS_DIRNAME "terminal-colors.d"
|
#define _PATH_TERMCOLORS_DIRNAME "terminal-colors.d"
|
||||||
#define _PATH_TERMCOLORS_DIR "/etc/" _PATH_TERMCOLORS_DIRNAME
|
#define _PATH_TERMCOLORS_DIR "/etc/" _PATH_TERMCOLORS_DIRNAME
|
||||||
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c
|
|
||||||
index 7c748dc..9a99a7c 100644
|
|
||||||
--- a/sys-utils/rtcwake.c
|
--- a/sys-utils/rtcwake.c
|
||||||
+++ b/sys-utils/rtcwake.c
|
+++ b/sys-utils/rtcwake.c
|
||||||
@@ -575,7 +575,7 @@ int main(int argc, char **argv)
|
@@ -575,7 +575,7 @@ int main(int argc, char **argv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user