about summary refs log tree commit diff
path: root/pkgs/tools/graphics/cuneiform
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-02-10 16:09:43 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-02-10 16:09:43 +0000
commit3989a4ed4adccc1d98ffc968df6ad3d723106009 (patch)
tree5c4bb26035ef1f0f05b1677b4a94cd32962f6503 /pkgs/tools/graphics/cuneiform
parent0cf9849afd0db06dc70a938000b545099c06eb43 (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.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/cuneiform/default.nix b/pkgs/tools/graphics/cuneiform/default.nix
index e037a8165a26d..103178fbb3969 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;