mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
v4l: Fix building of ir-keytable
This commit is contained in:
parent
ddba22fa2e
commit
4b9df608e2
|
@ -13,11 +13,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libjpeg which ] ++ stdenv.lib.optional withQt4 qt4;
|
||||
|
||||
# The keytable wants to touch /etc files and udev scripts in /lib.
|
||||
# I skip it.
|
||||
patchPhase = ''
|
||||
sed -i s/keytable// utils/Makefile
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-udevdir=$(out)/lib/udev"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
make PREFIX=$out install
|
||||
|
|
Loading…
Reference in a new issue