about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-06 12:08:23 -0400
committerGitHub <noreply@github.com>2019-09-06 12:08:23 -0400
commit5d4890b58dcbe0a099cda233a259284a6e5ec9d4 (patch)
tree37d1aacd436a201d8decfce6171d66b7ef08627a /pkgs/tools
parent22c50545f2cb424eeedea541597b6dedf9b2f3e4 (diff)
parent998f59ccda684ffbebb724647f914eff8a1d3afd (diff)
downloadnixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.tar
nixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.tar.gz
nixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.tar.bz2
nixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.tar.lz
nixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.tar.xz
nixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.tar.zst
nixlib-5d4890b58dcbe0a099cda233a259284a6e5ec9d4.zip
Merge pull request #67585 from worldofpeace/system-config-printer
nixos/system-config-printer: init 
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/system-config-printer/default.nix3
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 = {