summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-26 23:52:49 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-26 23:52:49 +0100
commitbc3e30adcabe173e816693d260c304da98a07e47 (patch)
tree315b767db20202253ac01847e2834c4959fdf5b1
parenta1fc25764b8613a8ea288009a031bb3040e17e11 (diff)
downloadnixos-bc3e30adcabe173e816693d260c304da98a07e47.tar
nixos-bc3e30adcabe173e816693d260c304da98a07e47.tar.gz
nixos-bc3e30adcabe173e816693d260c304da98a07e47.tar.bz2
nixos-bc3e30adcabe173e816693d260c304da98a07e47.tar.xz
nixos-bc3e30adcabe173e816693d260c304da98a07e47.zip
shebang and builder arguments
-rw-r--r--hel.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index fb7c8005..7f3d4f2c 100644
--- a/hel.nix
+++ b/hel.nix
@@ -60,7 +60,9 @@
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 ]; 61 buildInputs = with pkgs; [ cups makeWrapper ];
62 builder = pkgs.writeScript "builder.sh" '' 62 builder = pkgs.writeScript "builder.sh" ''
63 ${oldAttrs.builder} 63 #!${pkgs.stdenv.shell}
64
65 ${oldAttrs.builder} ${pkgs.lib.concatStringsSep " " oldAttrs.args}
64 66
65 echo "Wrapping samsung filters" 67 echo "Wrapping samsung filters"
66 wrapProgram $out/lib/cups/filter/rastertosamsungspl \ 68 wrapProgram $out/lib/cups/filter/rastertosamsungspl \