git.iko.soy/typeable/nixpkgs
on master help sign in
webbrowser: removed ccache

ccache just adds unnecessary overhead when building in a sandboxed environment

commit6495c439f693d8e29841ae33ba467542425d7af6 authorKira Bruneau <kira.bruneau@gmail.com> dateFri 20 Nov 2020, 16:57 (6 years ago) parent11e1f2e
1 file changed+4−4
pkgs/applications/networking/browsers/webbrowser/default.nix+4−4
pkgs/applications/networking/browsers/webbrowser/default.nix+4−4
@@ -1,6 +1,6 @@
11{ stdenv, lib, fetchgit, makeDesktopItem, pkgconfig, makeWrapper
22# Build
3−, python2, autoconf213, yasm, perl, ccache
3+, python2, autoconf213, yasm, perl
44, unzip, gnome2, gnum4
55
66# Runtime
@@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
4141 };
4242
4343 nativeBuildInputs = [
44− gnum4 makeWrapper perl pkgconfig python2 ccache
44+ gnum4 makeWrapper perl pkgconfig python2
4545 ];
4646
4747 buildInputs = [
@@ -54,7 +54,6 @@ in stdenv.mkDerivation rec {
5454 configurePhase = ''
5555 export MOZCONFIG=$PWD/.mozconfig
5656 export MOZ_NOSPAM=1
57− export HOME=$PWD # Needed by ccache
5857
5958 cp $src/doc/mozconfig.example $MOZCONFIG
6059 # Need to modify it
@@ -65,7 +64,8 @@ in stdenv.mkDerivation rec {
6564 --replace "mk_add_options AUTOCONF=/usr/bin/autoconf-2.13" "mk_add_options AUTOCONF=${autoconf213}/bin/autoconf" \
6665 --replace 'mk_add_options MOZ_OBJDIR=$HOME/build/wbobjects/' "" \
6766 --replace "ac_add_options --x-libraries=/usr/lib64" "ac_add_options --x-libraries=${lib.makeLibraryPath [ xorg.libX11 ]}" \
68− --replace "_BUILD_64=1" "_BUILD_64=${lib.optionalString stdenv.hostPlatform.is64bit "1"}"
67+ --replace "_BUILD_64=1" "_BUILD_64=${lib.optionalString stdenv.hostPlatform.is64bit "1"}" \
68+ --replace "--enable-ccache" "--disable-ccache"
6969
7070 echo >> $MOZCONFIG '
7171 #