Skip to content

Commit 849b5a5

Browse files
committedJul 13, 2017
alienfx: do not attempt to install suid executables
(cherry picked from commit f90d7b2)
1 parent 3cb54cc commit 849b5a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎pkgs/os-specific/linux/alienfx/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ stdenv.mkDerivation {
1616

1717
prePatch = ''
1818
substituteInPlace Makefile --replace /usr/ $out/
19-
substituteInPlace Makefile --replace "install -o root -g root" "install"
19+
substituteInPlace Makefile --replace "install -o root -g root -m 4755" "install -m 555"
2020
'';
21-
21+
2222
patches = [./unistd.patch];
2323
buildInputs = [ libusb1 ];
2424
makeFlags = "build";
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
2828
'';
2929
installTargets = "install";
3030
postInstall = ''cp alienfx.1 $out/man/man1'';
31-
31+
3232
meta = {
3333
description = "Controls AlienFX lighting";
3434
homepage = "https://github.com/tibz/alienfx";

0 commit comments

Comments
 (0)
Please sign in to comment.