libu2f-host: fix udev rules

It was shipping two competing rules. Only use the modern-one.
This commit is contained in:
zimbatm 2016-05-08 21:37:23 +01:00 committed by Moritz Ulrich
parent 2aeb5598e3
commit 99b1af9dc0

View File

@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ json_c hidapi ];
doCheck = true;
postInstall = ''
mkdir -p $out/lib/udev/rules.d/
cp -v *.rules $out/lib/udev/rules.d/
install -D -t $out/lib/udev/rules.d 70-u2f.rules
'';
meta = with stdenv.lib; {