summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index 7f3d4f2c..788031c8 100644
--- a/hel.nix
+++ b/hel.nix
@@ -58,11 +58,14 @@
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 makeWrapper ];
62 builder = pkgs.writeScript "builder.sh" '' 61 builder = pkgs.writeScript "builder.sh" ''
63 #!${pkgs.stdenv.shell} 62 #!${pkgs.stdenv.shell}
64 63
64 source ${pkgs.stdenv}/setup
65
65 ${oldAttrs.builder} ${pkgs.lib.concatStringsSep " " oldAttrs.args} 66 ${oldAttrs.builder} ${pkgs.lib.concatStringsSep " " oldAttrs.args}
67
68 export PATH=${pkgs.makeWrapper}/bin:$PATH
66 69
67 echo "Wrapping samsung filters" 70 echo "Wrapping samsung filters"
68 wrapProgram $out/lib/cups/filter/rastertosamsungspl \ 71 wrapProgram $out/lib/cups/filter/rastertosamsungspl \