summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-26 23:57:26 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-26 23:57:26 +0100
commitd2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2 (patch)
treef7ad57d68b4c1f65e16afe6200f653c050452d1b
parentbc3e30adcabe173e816693d260c304da98a07e47 (diff)
downloadnixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar
nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar.gz
nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar.bz2
nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar.xz
nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.zip
...
-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 \