diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-08-27 17:22:53 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-06 12:06:32 -0400 |
commit | 4c722b33512e01cf9bd0c7cc53707667fc960e9e (patch) | |
tree | 6cd077724899719d3ad4e70303a31ac0ee25b59c /pkgs | |
parent | c6abb697852514a3bec2f63aa9694dab1dcf3cd4 (diff) | |
download | nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.tar nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.tar.gz nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.tar.bz2 nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.tar.lz nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.tar.xz nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.tar.zst nixlib-4c722b33512e01cf9bd0c7cc53707667fc960e9e.zip |
system-config-printer: hardcode executable in udev rule
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/system-config-printer/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/misc/system-config-printer/default.nix b/pkgs/tools/misc/system-config-printer/default.nix index 35259dada3db..1b949108c54a 100644 --- a/pkgs/tools/misc/system-config-printer/default.nix +++ b/pkgs/tools/misc/system-config-printer/default.nix @@ -61,6 +61,9 @@ stdenv.mkDerivation rec { # Manually expand literal "$(out)", which have failed to expand sed -e "s|ExecStart=\$(out)|ExecStart=$out|" \ -i "$out/etc/systemd/system/configure-printer@.service" + + substituteInPlace $out/etc/udev/rules.d/70-printers.rules \ + --replace "udev-configure-printer" "$out/etc/udev/udev-configure-printer" ''; meta = { |