Skip to content

Commit 4007ee9

Browse files
committedJun 22, 2017
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>
1 parent 7a99036 commit 4007ee9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎pkgs/misc/screensavers/vlock/default.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -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 ];

0 commit comments

Comments
 (0)
Please sign in to comment.