mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
lirc: fix python reference in build tools
This commit is contained in:
parent
45216b82a1
commit
186348f831
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "011nwpxm5d12rsapljg3pjf9pgb0j8ngmc3zg69q4kv61hkx2zim";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -e 's|^#!/usr/bin/env python3$|#!${python3}/bin/python3|g' -i tools/*.py
|
||||
'';
|
||||
|
||||
preBuild = "patchShebangs .";
|
||||
|
||||
buildInputs = [ alsaLib help2man pkgconfig x11 python3 ];
|
||||
|
|
Loading…
Reference in a new issue