chromium/plugins: specify gcc instead of stdenv.cc
commit7eea24db5d64229b2372906391b5239a877c89ee
authorHerwig Hochleitner <herwig@bendlas.net>
dateWed 24 Oct 2018, 21:56 (8 years ago)
parentd2daf0d
pkgs/applications/networking/browsers/chromium/plugins.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ stdenv, gcc
22, jshon
33, glib
44, nspr
@@ -69,7 +69,7 @@ let
6969 ! find -iname '*.so' -exec ldd {} + | grep 'not found'
7070 '';
7171
72− PATCH_RPATH = mkrpath [ stdenv.cc.cc glib nspr nss ];
72+ PATCH_RPATH = mkrpath [ gcc.cc glib nspr nss ];
7373
7474 patchPhase = ''
7575 chmod +x libwidevinecdm.so libwidevinecdmadapter.so
@@ -110,7 +110,7 @@ let
110110
111111 patchPhase = ''
112112 chmod +x libpepflashplayer.so
113− patchelf --set-rpath "${mkrpath [ stdenv.cc.cc ]}" libpepflashplayer.so
113+ patchelf --set-rpath "${mkrpath [ gcc.cc ]}" libpepflashplayer.so
114114 '';
115115
116116 doCheck = true;