diff options
| -rw-r--r-- | hel.nix | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -62,9 +62,9 @@ | |||
| 62 | ${oldAttrs.installPhase} | 62 | ${oldAttrs.installPhase} |
| 63 | my_patchelf \ | 63 | my_patchelf \ |
| 64 | --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ | 64 | --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ |
| 65 | --set-rpath ${cups}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.glibc}/lib \ | 65 | --set-rpath ${pkgs.cups}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${pkgs.stdenv.glibc}/lib \ |
| 66 | - ${arch}/{rastertosamsungspl,rastertosamsungsplc} | 66 | - ${if pkgs.stdenv.system == "x86_64-linux" then "x86_64" else "i386"}/{rastertosamsungspl,rastertosamsungsplc} |
| 67 | install -m755 ${arch}/{rastertosamsungspl,rastertosamsungsplc} $out/lib/cups/filter | 67 | install -m755 ${if pkgs.stdenv.system == "x86_64-linux" then "x86_64" else "i386"}/{rastertosamsungspl,rastertosamsungsplc} $out/lib/cups/filter |
| 68 | ''; | 68 | ''; |
| 69 | }); | 69 | }); |
| 70 | }; | 70 | }; |
