1
0
Fork 1
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:
Rickard Nilsson 2013-01-20 00:39:13 +01:00
parent ddba22fa2e
commit 4b9df608e2

View file

@ -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