summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-26 23:27:11 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-26 23:27:11 +0100
commitb29a994028561a12f8c7d14b536b68b9b92669f8 (patch)
tree3e28053ae4cf9d54b8a4846857133f7c1615443f
parentdf966451abe39bd63d9b0fa3805cd172eb3d02eb (diff)
downloadnixos-b29a994028561a12f8c7d14b536b68b9b92669f8.tar
nixos-b29a994028561a12f8c7d14b536b68b9b92669f8.tar.gz
nixos-b29a994028561a12f8c7d14b536b68b9b92669f8.tar.bz2
nixos-b29a994028561a12f8c7d14b536b68b9b92669f8.tar.xz
nixos-b29a994028561a12f8c7d14b536b68b9b92669f8.zip
Wrap samsung filters
-rw-r--r--hel.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index 5552c470..838b5535 100644
--- a/hel.nix
+++ b/hel.nix
@@ -58,7 +58,13 @@
58 ''; 58 '';
59 59
60 samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: { 60 samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: {
61 buildInputs = with pkgs; [ cups ghostscript ]; 61 buildInputs = with pkgs; [ cups makeWrapper ];
62 fixupPhase = ''
63 wrapProgram $out/lib/cups/filter/rastertosamsungspl \
64 --prefix PATH : ${pkgs.ghostscript}/bin
65 wrapProgram $out/lib/cups/filter/rastertosamsungsplc \
66 --prefix PATH : ${pkgs.ghostscript}/bin
67 '';
62 }); 68 });
63 }; 69 };
64 70