diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-10-19 10:16:53 -0700 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2023-10-19 10:16:53 -0700 |
commit | e6ff02d4a694330812548f1f3fdb289080319a31 (patch) | |
tree | e7a48323e17e5ac0d7eefb65dafa750373af5e13 /pkgs/applications/misc | |
parent | 04b6bd2def3b3062a09cdc617bebdc4ff923efb1 (diff) | |
download | nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.tar nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.tar.gz nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.tar.bz2 nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.tar.lz nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.tar.xz nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.tar.zst nixpkgs-e6ff02d4a694330812548f1f3fdb289080319a31.zip |
iptsd: patch iptsd-find-service script
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/iptsd/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/misc/iptsd/default.nix b/pkgs/applications/misc/iptsd/default.nix index 91256c8027f..d1b873eae8c 100644 --- a/pkgs/applications/misc/iptsd/default.nix +++ b/pkgs/applications/misc/iptsd/default.nix @@ -49,8 +49,11 @@ stdenv.mkDerivation rec { substituteInPlace etc/meson.build \ --replace "install_dir: unitdir" "install_dir: '$out/etc/systemd/system'" \ --replace "install_dir: rulesdir" "install_dir: '$out/etc/udev/rules.d'" + substituteInPlace etc/systemd/iptsd-find-service \ + --replace "iptsd-find-hidraw" "$out/bin/iptsd-find-hidraw" \ + --replace "systemd-escape" "${lib.getExe' systemd "systemd-escape"}" substituteInPlace etc/udev/50-iptsd.rules.in \ - --replace "/bin/systemd-escape" "${systemd}/bin/systemd-escape" + --replace "/bin/systemd-escape" "${lib.getExe' systemd "systemd-escape"}" ''; mesonFlags = [ |