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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user