summary refs log tree commit diff
path: root/pkgs/applications/science/electronics/eagle
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-30 23:56:43 +0300
committerNikolay Amiantov <ab@fmap.me>2016-05-01 00:13:23 +0300
commit87ebab128a466b6b3ac60711621ba6264cb7075a (patch)
tree1053a6f00009931dafa4d781298b27d26fb8ae53 /pkgs/applications/science/electronics/eagle
parent3994a236bb004b8244ead60f0085a657121ed956 (diff)
replace ${stdenv.cc.cc}/lib occurences
Diffstat (limited to 'pkgs/applications/science/electronics/eagle')
-rw-r--r--pkgs/applications/science/electronics/eagle/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/science/electronics/eagle/default.nix b/pkgs/applications/science/electronics/eagle/default.nix
index 71bc58af7c037..edc5845e9887b 100644
--- a/pkgs/applications/science/electronics/eagle/default.nix
+++ b/pkgs/applications/science/electronics/eagle/default.nix
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
     mkdir -p "$out"/bin
     cat > "$out"/bin/eagle << EOF
     #!${stdenv.shell}
-    export LD_LIBRARY_PATH="${stdenv.cc.cc}/lib:${libPath}"
+    export LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib:${libPath}"
     export LD_PRELOAD="$out/lib/eagle_fixer.so"
     export QT_XKB_CONFIG_ROOT="${xkeyboardconfig}/share/X11/xkb"
     exec "$dynlinker" "$out/eagle-${version}/bin/eagle" "\$@"