diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-02-10 16:09:43 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-02-10 16:09:43 +0000 |
commit | 3989a4ed4adccc1d98ffc968df6ad3d723106009 (patch) | |
tree | 5c4bb26035ef1f0f05b1677b4a94cd32962f6503 /pkgs/tools/graphics/cuneiform | |
parent | 0cf9849afd0db06dc70a938000b545099c06eb43 (diff) |
* gcc.gcc may be null.
svn path=/nixpkgs/trunk/; revision=14023
Diffstat (limited to 'pkgs/tools/graphics/cuneiform')
-rw-r--r-- | pkgs/tools/graphics/cuneiform/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/cuneiform/default.nix b/pkgs/tools/graphics/cuneiform/default.nix index e037a8165a26..103178fbb396 100644 --- a/pkgs/tools/graphics/cuneiform/default.nix +++ b/pkgs/tools/graphics/cuneiform/default.nix @@ -29,7 +29,7 @@ rec { '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; postInstall = a.FullDepEntry('' - patchelf --set-rpath $out/lib:${a.stdenv.gcc.gcc}/lib $out/bin/cuneiform + patchelf --set-rpath $out/lib${if a.stdenv.gcc.gcc != null then ":${a.stdenv.gcc.gcc}/lib" else ""} $out/bin/cuneiform '') ["minInit" "addInputs" "doMakeInstall"]; name = "cuneiform-" + version; |