alienfx: do not attempt to install suid executables

This commit is contained in:
Joachim Fasting 2017-07-13 17:50:11 +02:00
parent 40cf34aaae
commit f90d7b23a7
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

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";