diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-26 23:57:26 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-26 23:57:26 +0100 |
commit | d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2 (patch) | |
tree | f7ad57d68b4c1f65e16afe6200f653c050452d1b | |
parent | bc3e30adcabe173e816693d260c304da98a07e47 (diff) | |
download | nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar.gz nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar.bz2 nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.tar.xz nixos-d2b3da8c8bb36c356e2b0a8117cd5d1ff791c6e2.zip |
...
-rw-r--r-- | hel.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 \ |