From d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 26 Dec 2016 23:57:26 +0100 Subject: ... --- hel.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hel.nix b/hel.nix index 7f3d4f2c..788031c8 100644 --- a/hel.nix +++ b/hel.nix @@ -58,11 +58,14 @@ ''; samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: { - buildInputs = with pkgs; [ cups makeWrapper ]; builder = pkgs.writeScript "builder.sh" '' #!${pkgs.stdenv.shell} + source ${pkgs.stdenv}/setup + ${oldAttrs.builder} ${pkgs.lib.concatStringsSep " " oldAttrs.args} + + export PATH=${pkgs.makeWrapper}/bin:$PATH echo "Wrapping samsung filters" wrapProgram $out/lib/cups/filter/rastertosamsungspl \ -- cgit v1.2.3