diff options
author | Hugh O'Brien <github@hughobrien.ie> | 2022-02-19 16:11:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 17:11:48 +0100 |
commit | 3f72667ba17306c37a5a8498701a2eaf5ebafc5d (patch) | |
tree | 412f61d9de3a049eab9f0ab45646f8bde034d4d3 /pkgs/applications/misc/moolticute | |
parent | 3ebe6c349157176d31d4e1286c5bf5062ee90fd7 (diff) |
moolticute: correct udev extraction regex
(#154355) * correct regex to extract udev rule * fix udev instructions
Diffstat (limited to 'pkgs/applications/misc/moolticute')
-rw-r--r-- | pkgs/applications/misc/moolticute/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/moolticute/default.nix b/pkgs/applications/misc/moolticute/default.nix index 11f6e7bbc0482..7097f584f54a5 100644 --- a/pkgs/applications/misc/moolticute/default.nix +++ b/pkgs/applications/misc/moolticute/default.nix @@ -28,14 +28,14 @@ mkDerivation rec { preInstall = '' mkdir -p $udev/lib/udev/rules.d - sed -n '/^ \+cat > "$tmpfile" <<- EOF$/,/^EOF$/p' ../data/moolticute.sh | + sed -n '/^UDEV_RULE=="\$(cat <<-EOF$/,/^EOF$/p' ../data/moolticute.sh | sed '1d;$d' > $udev/lib/udev/rules.d/50-mooltipass.rules ''; meta = with lib; { description = "GUI app and daemon to work with Mooltipass device via USB"; longDescription = '' - To install udev rules, add `services.udev.packages == [ moolticute.udev ]` + To install udev rules, add `services.udev.packages = [ pkgs.moolticute.udev ]` into `nixos/configuration.nix`. ''; homepage = "https://github.com/mooltipass/moolticute"; |