diff options
author | tv <tv@krebsco.de> | 2021-06-05 00:46:13 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-06-05 11:49:57 +0200 |
commit | 42f704a4d9dbe57fa3f5417a4c1d1b6f019b5480 (patch) | |
tree | 6a6c51a2d3112d917e661f92d30d182420dfd4c4 /tv/2configs/xp-332.nix | |
parent | 7f74d85f8c0574e281fa247be39949e8e670991f (diff) |
tv utsushi-customized: use upstream package
Diffstat (limited to 'tv/2configs/xp-332.nix')
-rw-r--r-- | tv/2configs/xp-332.nix | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/tv/2configs/xp-332.nix b/tv/2configs/xp-332.nix index a66b884c8..daabe5b6b 100644 --- a/tv/2configs/xp-332.nix +++ b/tv/2configs/xp-332.nix @@ -19,17 +19,14 @@ with import <stockholm/lib>; packageName pkg == "imagescan-plugin-networkscan"; nixpkgs.overlays = singleton (self: super: { - utsushi-customized = self.utsushi.override { - guiSupport = false; - jpegSupport = false; - networkSupport = true; - ocrSupport = false; - saneSupport = true; - tiffSupport = true; - - logCategory = "ALL"; - logLevel = "BRIEF"; - }; + utsushi-customized = self.utsushi.overrideAttrs (old: { + postInstall = '' + ${old.postInstall or ""} + ln -s /etc/utsushi.conf $out/etc/utsushi/utsushi.conf + ln -s ${pkgs.imagescan-plugin-networkscan}/lib/utsushi/networkscan \ + $out/libexec/utsushi/ + ''; + }); }); services = { |