From c6bb88d0cb9f0c164bce4330a18627fc8887428a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Jun 2016 01:55:01 +0200 Subject: scoping --- hel.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hel.nix b/hel.nix index 6cdac8e1..d1b39371 100644 --- a/hel.nix +++ b/hel.nix @@ -62,9 +62,9 @@ ${oldAttrs.installPhase} my_patchelf \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ - --set-rpath ${cups}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${stdenv.glibc}/lib \ - - ${arch}/{rastertosamsungspl,rastertosamsungsplc} - install -m755 ${arch}/{rastertosamsungspl,rastertosamsungsplc} $out/lib/cups/filter + --set-rpath ${pkgs.cups}/lib:$(cat $NIX_CC/nix-support/orig-cc)/lib:${pkgs.stdenv.glibc}/lib \ + - ${if pkgs.stdenv.system == "x86_64-linux" then "x86_64" else "i386"}/{rastertosamsungspl,rastertosamsungsplc} + install -m755 ${if pkgs.stdenv.system == "x86_64-linux" then "x86_64" else "i386"}/{rastertosamsungspl,rastertosamsungsplc} $out/lib/cups/filter ''; }); }; -- cgit v1.2.3