alienfx: do not attempt to install suid executables

This commit is contained in:
Joachim Fasting
2017-07-13 18:08:56 +02:00
parent 40cf34aaae
commit f90d7b23a7
+3 -3
View File
@@ -16,9 +16,9 @@ stdenv.mkDerivation {
prePatch = '' prePatch = ''
substituteInPlace Makefile --replace /usr/ $out/ substituteInPlace Makefile --replace /usr/ $out/
substituteInPlace Makefile --replace "install -o root -g root" "install" substituteInPlace Makefile --replace "install -o root -g root -m 4755" "install -m 555"
''; '';
patches = [./unistd.patch]; patches = [./unistd.patch];
buildInputs = [ libusb1 ]; buildInputs = [ libusb1 ];
makeFlags = "build"; makeFlags = "build";
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
''; '';
installTargets = "install"; installTargets = "install";
postInstall = ''cp alienfx.1 $out/man/man1''; postInstall = ''cp alienfx.1 $out/man/man1'';
meta = { meta = {
description = "Controls AlienFX lighting"; description = "Controls AlienFX lighting";
homepage = "https://github.com/tibz/alienfx"; homepage = "https://github.com/tibz/alienfx";