git.iko.soy/typeable/nixpkgs
on master help sign in
Missed gcc refs
05edd65Shea Levy
pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix+2−2
@@ -67,7 +67,7 @@ stdenv.mkDerivation {
67 phases = "unpackPhase installPhase";
67 phases = "unpackPhase installPhase";
68
68
69 libPath = stdenv.lib.makeLibraryPath
69 libPath = stdenv.lib.makeLibraryPath
70− [ stdenv.gcc.gcc
70+ [ stdenv.cc.gcc
71 gconf
71 gconf
72 alsaLib
72 alsaLib
73 at_spi2_atk
73 at_spi2_atk
@@ -100,7 +100,7 @@ stdenv.mkDerivation {
100 nss
100 nss
101 pango
101 pango
102 ] + ":" + stdenv.lib.makeSearchPath "lib64" [
102 ] + ":" + stdenv.lib.makeSearchPath "lib64" [
103− stdenv.gcc.gcc
103+ stdenv.cc.gcc
104 ];
104 ];
105
105
106 installPhase =
106 installPhase =
pkgs/applications/networking/remote/teamviewer/9.nix+2−2
@@ -5,7 +5,7 @@ let
5 topath = "${wineUnstable}/bin";
5 topath = "${wineUnstable}/bin";
6
6
7 toldpath = stdenv.lib.concatStringsSep ":" (map (x: "${x}/lib")
7 toldpath = stdenv.lib.concatStringsSep ":" (map (x: "${x}/lib")
8− [ stdenv.gcc.gcc libX11 libXtst libXext libXdamage libXfixes wineUnstable ]);
8+ [ stdenv.cc.gcc libX11 libXtst libXext libXdamage libXfixes wineUnstable ]);
9in
9in
10stdenv.mkDerivation {
10stdenv.mkDerivation {
11 name = "teamviewer-9.0.32150";
11 name = "teamviewer-9.0.32150";
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
34 EOF
34 EOF
35 chmod +x $out/bin/teamviewer
35 chmod +x $out/bin/teamviewer
36
36
37− patchelf --set-rpath "${stdenv.gcc.gcc}/lib64:${stdenv.gcc.gcc}/lib:${libX11}/lib:${libXext}/lib:${libXau}/lib:${libXdamage}/lib:${libXfixes}/lib" $out/share/teamviewer9/tv_bin/teamviewerd
37+ patchelf --set-rpath "${stdenv.cc.gcc}/lib64:${stdenv.cc.gcc}/lib:${libX11}/lib:${libXext}/lib:${libXau}/lib:${libXdamage}/lib:${libXfixes}/lib" $out/share/teamviewer9/tv_bin/teamviewerd
38 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/share/teamviewer9/tv_bin/teamviewerd
38 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/share/teamviewer9/tv_bin/teamviewerd
39 ln -s $out/share/teamviewer9/tv_bin/teamviewerd $out/bin/
39 ln -s $out/share/teamviewer9/tv_bin/teamviewerd $out/bin/
40 '';
40 '';
pkgs/applications/office/zotero/firefox-bin/default.nix+2−2
@@ -70,7 +70,7 @@ stdenv.mkDerivation {
70 phases = "unpackPhase installPhase";
70 phases = "unpackPhase installPhase";
71
71
72 libPath = stdenv.lib.makeLibraryPath
72 libPath = stdenv.lib.makeLibraryPath
73− [ stdenv.gcc.gcc
73+ [ stdenv.cc.gcc
74 alsaLib
74 alsaLib
75 atk
75 atk
76 cairo
76 cairo
@@ -106,7 +106,7 @@ stdenv.mkDerivation {
106 pulseaudio
106 pulseaudio
107 systemd
107 systemd
108 ] + ":" + stdenv.lib.makeSearchPath "lib64" [
108 ] + ":" + stdenv.lib.makeSearchPath "lib64" [
109− stdenv.gcc.gcc
109+ stdenv.cc.gcc
110 ];
110 ];
111
111
112 # "strip" after "patchelf" may break binaries.
112 # "strip" after "patchelf" may break binaries.
pkgs/build-support/gcc-wrapper-old/default.nix+1−1
@@ -58,7 +58,7 @@ stdenv.mkDerivation {
58
58
59 crossAttrs = {
59 crossAttrs = {
60 shell = shell.crossDrv + shell.crossDrv.shellPath;
60 shell = shell.crossDrv + shell.crossDrv.shellPath;
61− libc = stdenv.gccCross.libc;
61+ libc = stdenv.ccCross.libc;
62 coreutils = coreutils.crossDrv;
62 coreutils = coreutils.crossDrv;
63 binutils = binutils.crossDrv;
63 binutils = binutils.crossDrv;
64 gcc = gcc.crossDrv;
64 gcc = gcc.crossDrv;
pkgs/development/compilers/chicken/default.nix+1−1
@@ -53,7 +53,7 @@ stdenv.mkDerivation {
53 for f in $out/bin/*
53 for f in $out/bin/*
54 do
54 do
55 wrapProgram $f \
55 wrapProgram $f \
56− --prefix PATH : ${stdenv.gcc}/bin
56+ --prefix PATH : ${stdenv.cc}/bin
57 done
57 done
58 '';
58 '';
59
59
pkgs/development/compilers/go/1.3.nix+1−1
@@ -80,7 +80,7 @@ stdenv.mkDerivation {
80
80
81 installPhase = ''
81 installPhase = ''
82 export CC=cc
82 export CC=cc
83− '' + stdenv.lib.optionalString (stdenv ? gcc) ''
83+ '' + stdenv.lib.optionalString (stdenv ? cc) ''
84 # http://lists.science.uu.nl/pipermail/nix-dev/2013-October/011891.html
84 # http://lists.science.uu.nl/pipermail/nix-dev/2013-October/011891.html
85 # Fix for "libgcc_s.so.1 must be installed for pthread_cancel to work"
85 # Fix for "libgcc_s.so.1 must be installed for pthread_cancel to work"
86 # during tests:
86 # during tests:
pkgs/development/compilers/julia/0.3.3.nix+2−2
@@ -7,7 +7,7 @@
7assert stdenv.isLinux;
7assert stdenv.isLinux;
8
8
9let
9let
10− realGcc = stdenv.gcc.gcc;
10+ realGcc = stdenv.cc.gcc;
11in
11in
12stdenv.mkDerivation rec {
12stdenv.mkDerivation rec {
13 pname = "julia";
13 pname = "julia";
@@ -108,7 +108,7 @@ stdenv.mkDerivation rec {
108
108
109 patchShebangs . contrib
109 patchShebangs . contrib
110
110
111− export PATH="$PATH:${stdenv.gcc.libc}/sbin"
111+ export PATH="$PATH:${stdenv.cc.libc}/sbin"
112
112
113 # ldconfig doesn't seem to ever work on NixOS; system-wide ldconfig cache
113 # ldconfig doesn't seem to ever work on NixOS; system-wide ldconfig cache
114 # is probably not what we want anyway on non-NixOS
114 # is probably not what we want anyway on non-NixOS
pkgs/development/compilers/mozart/binary.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
14 };
14 };
15
15
16 libPath = stdenv.lib.makeLibraryPath
16 libPath = stdenv.lib.makeLibraryPath
17− [stdenv.gcc.gcc emacs tk tcl boost gmp];
17+ [stdenv.cc.gcc emacs tk tcl boost gmp];
18
18
19 builder = ./builder.sh;
19 builder = ./builder.sh;
20
20
pkgs/development/interpreters/python/2.6/default.nix+2−2
@@ -31,9 +31,9 @@ let
31 for i in /usr /sw /opt /pkg; do
31 for i in /usr /sw /opt /pkg; do
32 substituteInPlace ./setup.py --replace $i /no-such-path
32 substituteInPlace ./setup.py --replace $i /no-such-path
33 done
33 done
34− '' + optionalString (stdenv ? gcc && stdenv.gcc.libc != null) ''
34+ '' + optionalString (stdenv ? cc && stdenv.cc.libc != null) ''
35 for i in Lib/plat-*/regen; do
35 for i in Lib/plat-*/regen; do
36− substituteInPlace $i --replace /usr/include/ ${stdenv.gcc.libc}/include/
36+ substituteInPlace $i --replace /usr/include/ ${stdenv.cc.libc}/include/
37 done
37 done
38 '' + optionalString stdenv.isCygwin ''
38 '' + optionalString stdenv.isCygwin ''
39 # On Cygwin, `make install' tries to read this Makefile.
39 # On Cygwin, `make install' tries to read this Makefile.
pkgs/development/interpreters/python/2.7/default.nix+2−2
@@ -34,9 +34,9 @@ let
34 for i in /usr /sw /opt /pkg; do
34 for i in /usr /sw /opt /pkg; do
35 substituteInPlace ./setup.py --replace $i /no-such-path
35 substituteInPlace ./setup.py --replace $i /no-such-path
36 done
36 done
37− '' + optionalString (stdenv ? gcc && stdenv.gcc.libc != null) ''
37+ '' + optionalString (stdenv ? cc && stdenv.cc.libc != null) ''
38 for i in Lib/plat-*/regen; do
38 for i in Lib/plat-*/regen; do
39− substituteInPlace $i --replace /usr/include/ ${stdenv.gcc.libc}/include/
39+ substituteInPlace $i --replace /usr/include/ ${stdenv.cc.libc}/include/
40 done
40 done
41 '' + optionalString stdenv.isCygwin ''
41 '' + optionalString stdenv.isCygwin ''
42 # On Cygwin, `make install' tries to read this Makefile.
42 # On Cygwin, `make install' tries to read this Makefile.
pkgs/development/libraries/qt-5/default.nix+1−1
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
66 ./0003-glib-2.32.patch
66 ./0003-glib-2.32.patch
67 (substituteAll {
67 (substituteAll {
68 src = ./0004-dlopen-resolv.patch;
68 src = ./0004-dlopen-resolv.patch;
69− glibc = stdenv.gcc.libc;
69+ glibc = stdenv.cc.libc;
70 })
70 })
71 (substituteAll {
71 (substituteAll {
72 src = ./0005-dlopen-gl.patch;
72 src = ./0005-dlopen-gl.patch;
pkgs/development/tools/atom-shell/default.nix+1−1
@@ -6,7 +6,7 @@ let
6 atomEnv = buildEnv {
6 atomEnv = buildEnv {
7 name = "env-atom";
7 name = "env-atom";
8 paths = [
8 paths = [
9− stdenv.gcc.gcc zlib glib dbus gtk atk pango freetype libgnome_keyring3
9+ stdenv.cc.gcc zlib glib dbus gtk atk pango freetype libgnome_keyring3
10 fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss
10 fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss
11 xlibs.libXrender xlibs.libX11 xlibs.libXext xlibs.libXdamage xlibs.libXtst
11 xlibs.libXrender xlibs.libX11 xlibs.libXext xlibs.libXdamage xlibs.libXtst
12 xlibs.libXcomposite xlibs.libXi xlibs.libXfixes xlibs.libXrandr
12 xlibs.libXcomposite xlibs.libXi xlibs.libXfixes xlibs.libXrandr
pkgs/games/dwarf-fortress/default.nix+2−2
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
51 # Store the original hash for dwarf-therapist
51 # Store the original hash for dwarf-therapist
52 echo $(md5sum $out/share/df_linux/libs/Dwarf_Fortress | cut -c1-8) > $out/share/df_linux/hash.md5.orig
52 echo $(md5sum $out/share/df_linux/libs/Dwarf_Fortress | cut -c1-8) > $out/share/df_linux/hash.md5.orig
53 # Fix rpath
53 # Fix rpath
54− patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.gcc.gcc stdenv.glibc ]}:$out/share/df_linux/libs" $out/share/df_linux/libs/Dwarf_Fortress
54+ patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.gcc stdenv.glibc ]}:$out/share/df_linux/libs" $out/share/df_linux/libs/Dwarf_Fortress
55 cp -f ./git-export/build/libgraphics.so $out/share/df_linux/libs/libgraphics.so
55 cp -f ./git-export/build/libgraphics.so $out/share/df_linux/libs/libgraphics.so
56
56
57 cp $permission $out/share/df_linux/nix_permission
57 cp $permission $out/share/df_linux/nix_permission
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
85 done
85 done
86
86
87 # now run Dwarf Fortress!
87 # now run Dwarf Fortress!
88− export LD_LIBRARY_PATH=\${stdenv.gcc}/lib:${SDL}/lib:${SDL_image}/lib/:${SDL_ttf}/lib/:${gtk2}/lib/:${glib}/lib/:${mesa}/lib/:${openal}/lib/:${libsndfile}/lib:\$DF_DIR/df_linux/libs/
88+ export LD_LIBRARY_PATH=\${stdenv.cc}/lib:${SDL}/lib:${SDL_image}/lib/:${SDL_ttf}/lib/:${gtk2}/lib/:${glib}/lib/:${mesa}/lib/:${openal}/lib/:${libsndfile}/lib:\$DF_DIR/df_linux/libs/
89
89
90 export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch.
90 export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch.
91 #export SDL_VIDEO_CENTERED=1 # Centre the screen. Messes up resizing.
91 #export SDL_VIDEO_CENTERED=1 # Centre the screen. Messes up resizing.
pkgs/games/megaglest/default.nix+1−1
@@ -8,7 +8,7 @@ let
8 name = "megaglest-lib-env";
8 name = "megaglest-lib-env";
9 paths = [ SDL xlibs.libSM xlibs.libICE xlibs.libX11 xlibs.libXext
9 paths = [ SDL xlibs.libSM xlibs.libICE xlibs.libX11 xlibs.libXext
10 xercesc openal libvorbis lua libjpeg libpng curl fontconfig ftgl freetype
10 xercesc openal libvorbis lua libjpeg libpng curl fontconfig ftgl freetype
11− stdenv.gcc.gcc glew mesa_glu mesa_drivers wxGTK ];
11+ stdenv.cc.gcc glew mesa_glu mesa_drivers wxGTK ];
12 };
12 };
13 path-env = buildEnv {
13 path-env = buildEnv {
14 name = "megaglest-path-env";
14 name = "megaglest-path-env";
pkgs/os-specific/linux/nvidia-x11/builder.sh+1−1
@@ -51,7 +51,7 @@ installPhase() {
51
51
52 for i in nvidia-settings nvidia-smi; do
52 for i in nvidia-settings nvidia-smi; do
53 cp $i $out/bin/$i
53 cp $i $out/bin/$i
54− patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
54+ patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
55 --set-rpath $out/lib:$programPath:$glPath $out/bin/$i
55 --set-rpath $out/lib:$programPath:$glPath $out/bin/$i
56 done
56 done
57
57
pkgs/os-specific/linux/nvidia-x11/default.nix+2−2
@@ -42,9 +42,9 @@ stdenv.mkDerivation {
42 dontStrip = true;
42 dontStrip = true;
43
43
44 glPath = makeLibraryPath [xlibs.libXext xlibs.libX11 xlibs.libXrandr];
44 glPath = makeLibraryPath [xlibs.libXext xlibs.libX11 xlibs.libXrandr];
45− cudaPath = makeLibraryPath [zlib stdenv.gcc.gcc];
45+ cudaPath = makeLibraryPath [zlib stdenv.cc.gcc];
46 openclPath = makeLibraryPath [zlib];
46 openclPath = makeLibraryPath [zlib];
47− allLibPath = makeLibraryPath [xlibs.libXext xlibs.libX11 xlibs.libXrandr zlib stdenv.gcc.gcc];
47+ allLibPath = makeLibraryPath [xlibs.libXext xlibs.libX11 xlibs.libXrandr zlib stdenv.cc.gcc];
48
48
49 programPath = optionalString (!libsOnly) (makeLibraryPath
49 programPath = optionalString (!libsOnly) (makeLibraryPath
50 [ gtk atk pango glib gdk_pixbuf xlibs.libXv ] );
50 [ gtk atk pango glib gdk_pixbuf xlibs.libXv ] );
pkgs/os-specific/linux/ocz-toolbox/default.nix+2−2
@@ -16,12 +16,12 @@ in stdenv.mkDerivation rec {
16 cd linux${arch}
16 cd linux${arch}
17 '';
17 '';
18
18
19− libPath = stdenv.lib.makeLibraryPath [ stdenv.gcc.gcc libXrender fontconfig freetype libXext libX11 ];
19+ libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.gcc libXrender fontconfig freetype libXext libX11 ];
20
20
21 installPhase = ''
21 installPhase = ''
22 install -Dm755 OCZToolbox $out/bin/OCZToolbox
22 install -Dm755 OCZToolbox $out/bin/OCZToolbox
23 patchelf \
23 patchelf \
24− --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
24+ --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
25 --set-rpath "$libPath" \
25 --set-rpath "$libPath" \
26 $out/bin/OCZToolbox
26 $out/bin/OCZToolbox
27 '';
27 '';
pkgs/os-specific/linux/prl-tools/default.nix+1−1
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
83 '';
83 '';
84
84
85 libPath = with xorg;
85 libPath = with xorg;
86− stdenv.lib.makeLibraryPath ([ stdenv.gcc.gcc libXrandr libXext libX11 libXcomposite libXinerama ]
86+ stdenv.lib.makeLibraryPath ([ stdenv.cc.gcc libXrandr libXext libX11 libXcomposite libXinerama ]
87 ++ lib.optionals (!libsOnly) [ libXi glib dbus_glib zlib ]);
87 ++ lib.optionals (!libsOnly) [ libXi glib dbus_glib zlib ]);
88
88
89 desktops = map (x: substituteAll ({
89 desktops = map (x: substituteAll ({
pkgs/servers/monitoring/newrelic-sysmond/default.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
14 installPhase = ''
14 installPhase = ''
15 mkdir -p $out/bin
15 mkdir -p $out/bin
16 install -v -m755 daemon/nrsysmond.x64 $out/bin/nrsysmond
16 install -v -m755 daemon/nrsysmond.x64 $out/bin/nrsysmond
17− patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
17+ patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
18 $out/bin/nrsysmond
18 $out/bin/nrsysmond
19 '';
19 '';
20
20
pkgs/tools/misc/trash-cli/default.nix+1−1
@@ -19,7 +19,7 @@ python2Packages.buildPythonPackage rec {
19 src = ./nix-paths.patch;
19 src = ./nix-paths.patch;
20 df = "${coreutils}/bin/df";
20 df = "${coreutils}/bin/df";
21 python = "${python2}/bin/${python2.executable}";
21 python = "${python2}/bin/${python2.executable}";
22− libc = "${stdenv.gcc.libc}/lib/libc.so.6";
22+ libc = "${stdenv.cc.libc}/lib/libc.so.6";
23 })
23 })
24
24
25 # Apply https://github.com/JaviMerino/trash-cli/commit/4f45a37a3
25 # Apply https://github.com/JaviMerino/trash-cli/commit/4f45a37a3