From b29a994028561a12f8c7d14b536b68b9b92669f8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 26 Dec 2016 23:27:11 +0100 Subject: Wrap samsung filters --- hel.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hel.nix b/hel.nix index 5552c470..838b5535 100644 --- a/hel.nix +++ b/hel.nix @@ -58,7 +58,13 @@ ''; samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: { - buildInputs = with pkgs; [ cups ghostscript ]; + buildInputs = with pkgs; [ cups makeWrapper ]; + fixupPhase = '' + wrapProgram $out/lib/cups/filter/rastertosamsungspl \ + --prefix PATH : ${pkgs.ghostscript}/bin + wrapProgram $out/lib/cups/filter/rastertosamsungsplc \ + --prefix PATH : ${pkgs.ghostscript}/bin + ''; }); }; -- cgit v1.2.3