mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
libu2f-host: fix udev rules
It was shipping two competing rules. Only use the modern-one.
This commit is contained in:
parent
2aeb5598e3
commit
99b1af9dc0
@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ json_c hidapi ];
|
buildInputs = [ json_c hidapi ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib/udev/rules.d/
|
install -D -t $out/lib/udev/rules.d 70-u2f.rules
|
||||||
cp -v *.rules $out/lib/udev/rules.d/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user