util-linux: fix unshare -r on linux >=3.19 (close #6130)

This commit is contained in:
Nikolay Amiantov
2015-02-05 00:22:10 +01:00
committed by Vladimír Čunát
parent 4495d06a7f
commit dee90b2c25
2 changed files with 69 additions and 1 deletions
@@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6";
};
patches = [ ./rtcwake-search-PATH-for-shutdown.patch ];
patches = [ ./rtcwake-search-PATH-for-shutdown.patch
./unshare-fix-map-root-user.patch
];
#FIXME: make it also work on non-nixos?
postPatch = ''