mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +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 ];
|
||||
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; {
|
||||
|
Loading…
Reference in New Issue
Block a user