3
0
Fork 0
forked from mirrors/nixpkgs

autorandr: fix python shebang

This commit is contained in:
Jörg Thalheim 2017-06-08 12:10:44 +01:00
parent 5c9f0d00c3
commit 451de09f51
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -11,13 +11,11 @@ in
stdenv.mkDerivation {
name = "autorandr-${version}";
buildInputs = [ python wrapPython ];
phases = [ "unpackPhase" "installPhase" ];
buildInputs = [ python ];
installPhase = ''
runHook preInstall
make install TARGETS='autorandr' PREFIX=$out
wrapPythonProgramsIn $out/bin/autorandr $out
make install TARGETS='bash_completion' DESTDIR=$out
@ -35,6 +33,7 @@ in
make install TARGETS='udev' PREFIX=$out DESTDIR=$out \
UDEV_RULES_DIR=/etc/udev/rules.d
''}
runHook postInstall
'';
src = fetchFromGitHub {