mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
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>
This commit is contained in:
parent
7a99036cef
commit
4007ee974c
@ -9,7 +9,9 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e '/INSTALL/s/-[og] [^ ]*//g' Makefile modules/Makefile
|
||||
sed -i -e '/INSTALL/ {
|
||||
s/-[og] [^ ]*//g; s/4711/755/
|
||||
}' Makefile modules/Makefile
|
||||
'';
|
||||
|
||||
patches = [ ./eintr.patch ];
|
||||
|
Loading…
Reference in New Issue
Block a user