diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-10-05 19:36:08 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-10-05 19:36:08 +0200 |
commit | 24c665021d376c5ee045c4e4c7ca26fed5a1b7cb (patch) | |
tree | 49fbed580abcd9747b5b1fc4d334d61ef3264da3 | |
parent | 7a8e8294b0cc4028807f9e31554da95dacef6c54 (diff) | |
download | nixos-24c665021d376c5ee045c4e4c7ca26fed5a1b7cb.tar nixos-24c665021d376c5ee045c4e4c7ca26fed5a1b7cb.tar.gz nixos-24c665021d376c5ee045c4e4c7ca26fed5a1b7cb.tar.bz2 nixos-24c665021d376c5ee045c4e4c7ca26fed5a1b7cb.tar.xz nixos-24c665021d376c5ee045c4e4c7ca26fed5a1b7cb.zip |
...
-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}"; |