mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
system-config-printer: hardcode executable in udev rule
This commit is contained in:
parent
c6abb69785
commit
4c722b3351
1 changed files with 3 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue