vlock: Don't try to install setuid binary
With newer Nix it's (fortunately) no longer possible to create a file
with setuid bits, even though the permissions are fixed later the build
will fail during installPhase already.
I've verified whether the contents of the output path are the same as
before this change and the contents match.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
commit4007ee974c68a65444d939312ffe308297bdd3f6
authoraszlig <aszlig@redmoonstudios.org>
dateThu 22 Jun 2017, 04:01 (9 years ago)
parent7a99036
pkgs/misc/screensavers/vlock/default.nix+3−1
@@ -9,7 +9,9 @@ stdenv.mkDerivation {
99 };
1010
1111 prePatch = ''
12− sed -i -e '/INSTALL/s/-[og] [^ ]*//g' Makefile modules/Makefile
12+ sed -i -e '/INSTALL/ {
13+ s/-[og] [^ ]*//g; s/4711/755/
14+ }' Makefile modules/Makefile
1315 '';
1416
1517 patches = [ ./eintr.patch ];