summary refs log tree commit diff
path: root/pkgs/applications/misc/adobe-reader
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-12-17 12:11:30 -0600
committerJohn Wiegley <johnw@newartisans.com>2014-12-26 11:06:21 -0600
commit28b6fb61e651a3e2cca57d087781e7ba6ab45e7c (patch)
tree1931763370f483739474ebe0ab219eb0d7256c13 /pkgs/applications/misc/adobe-reader
parentce100a5d58799e65684ad948db70638c311369b3 (diff)
downloadnixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.gz
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.bz2
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.lz
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.xz
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.zst
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.zip
Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
Diffstat (limited to 'pkgs/applications/misc/adobe-reader')
-rw-r--r--pkgs/applications/misc/adobe-reader/builder.sh2
-rw-r--r--pkgs/applications/misc/adobe-reader/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/adobe-reader/builder.sh b/pkgs/applications/misc/adobe-reader/builder.sh
index 6024734dc44..41281385c99 100644
--- a/pkgs/applications/misc/adobe-reader/builder.sh
+++ b/pkgs/applications/misc/adobe-reader/builder.sh
@@ -17,7 +17,7 @@ rm $p/Reader/intellinux/plug_ins/PPKLite.api
 # More pointless files.
 rm $p/bin/UNINSTALL
 
-patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
+patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
     --set-rpath $libPath \
     $p/Reader/intellinux/bin/acroread
 
diff --git a/pkgs/applications/misc/adobe-reader/default.nix b/pkgs/applications/misc/adobe-reader/default.nix
index 85bc89f7755..07f8ba1d627 100644
--- a/pkgs/applications/misc/adobe-reader/default.nix
+++ b/pkgs/applications/misc/adobe-reader/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
   # versions.
 
   libPath = stdenv.lib.makeLibraryPath
-    [ stdenv.gcc.gcc libX11 zlib libxml2 cups pango atk gtk glib gdk_pixbuf ];
+    [ stdenv.cc.gcc libX11 zlib libxml2 cups pango atk gtk glib gdk_pixbuf ];
 
   meta = {
     description = "Adobe Reader, a viewer for PDF documents";