diff options
-rw-r--r-- | hel.nix | 31 |
1 files changed, 14 insertions, 17 deletions
@@ -87,27 +87,24 @@ | |||
87 | modprobe wacom | 87 | modprobe wacom |
88 | ''; | 88 | ''; |
89 | 89 | ||
90 | samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: { | 90 | # samsung-unified-linux-driver = pkgs.stdenv.lib.overrideDerivation pkgs.samsung-unified-linux-driver (oldAttrs: { |
91 | buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ]; | 91 | # buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ]; |
92 | builder = pkgs.writeScript "builder.sh" '' | 92 | # builder = pkgs.writeScript "builder.sh" '' |
93 | #!${pkgs.stdenv.shell} | 93 | # #!${pkgs.stdenv.shell} |
94 | 94 | ||
95 | source ${pkgs.stdenv}/setup | 95 | # source ${pkgs.stdenv}/setup |
96 | 96 | ||
97 | ${oldAttrs.builder} ${pkgs.lib.concatStringsSep " " oldAttrs.args} | 97 | # ${oldAttrs.builder} ${pkgs.lib.concatStringsSep " " oldAttrs.args} |
98 | 98 | ||
99 | export PATH=${pkgs.makeWrapper}/bin:$PATH | 99 | # export PATH=${pkgs.makeWrapper}/bin:$PATH |
100 | 100 | ||
101 | chmod +x $out/lib/cups/filter/rastertosamsungspl | 101 | # echo "Wrapping samsung filters" |
102 | chmod +x $out/lib/cups/filter/rastertosamsungsplc | 102 | # wrapProgram $out/lib/cups/filter/rastertosamsungspl \ |
103 | 103 | # --prefix PATH : ${pkgs.ghostscript}/bin | |
104 | echo "Wrapping samsung filters" | 104 | # wrapProgram $out/lib/cups/filter/rastertosamsungsplc \ |
105 | wrapProgram $out/lib/cups/filter/rastertosamsungspl \ | 105 | # --prefix PATH : ${pkgs.ghostscript}/bin |
106 | --prefix PATH : ${pkgs.ghostscript}/bin | 106 | # ''; |
107 | wrapProgram $out/lib/cups/filter/rastertosamsungsplc \ | 107 | # }); |
108 | --prefix PATH : ${pkgs.ghostscript}/bin | ||
109 | ''; | ||
110 | }); | ||
111 | 108 | ||
112 | libfprint = pkgs.stdenv.mkDerivation rec { | 109 | libfprint = pkgs.stdenv.mkDerivation rec { |
113 | name = "libfprint-${version}"; | 110 | name = "libfprint-${version}"; |