mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
moolticute: correct udev extraction regex
(#154355) * correct regex to extract udev rule * fix udev instructions
This commit is contained in:
parent
3ebe6c3491
commit
3f72667ba1
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue