nitrokey-app: 1.3.2 -> 1.4.2

The optional argument group was removed because it is no longer used
in the udev-rules that come with the libnitrokey.
This commit is contained in:
Kai Harries
2021-01-18 07:36:44 +01:00
parent f9ced01f4a
commit d27be236f1
2 changed files with 4 additions and 14 deletions
@@ -1,6 +1,5 @@
{ lib, stdenv, nitrokey-app
, group ? "nitrokey"
}:
{ lib, stdenv, nitrokey-app }:
stdenv.mkDerivation {
name = "nitrokey-udev-rules-${lib.getVersion nitrokey-app}";
@@ -9,10 +8,6 @@ stdenv.mkDerivation {
dontBuild = true;
patchPhase = ''
substituteInPlace libnitrokey/data/41-nitrokey.rules --replace plugdev "${group}"
'';
installPhase = ''
mkdir -p $out/etc/udev/rules.d
cp libnitrokey/data/41-nitrokey.rules $out/etc/udev/rules.d