diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-22 01:55:01 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-06-22 01:55:01 +0200 |
| commit | c6bb88d0cb9f0c164bce4330a18627fc8887428a (patch) | |
| tree | 657e0820c6e1c69a27535c68f4c484c59fe4fa4c | |
| parent | d68bf98d22de10b141698358f49b22376e6a0f3d (diff) | |
| download | nixos-c6bb88d0cb9f0c164bce4330a18627fc8887428a.tar nixos-c6bb88d0cb9f0c164bce4330a18627fc8887428a.tar.gz nixos-c6bb88d0cb9f0c164bce4330a18627fc8887428a.tar.bz2 nixos-c6bb88d0cb9f0c164bce4330a18627fc8887428a.tar.xz nixos-c6bb88d0cb9f0c164bce4330a18627fc8887428a.zip | |
scoping
| -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 | }; |
