···2233stdenv.mkDerivation rec {
44 pname = "gnome-shell-extension-appindicator";
55- version = "32";
55+ version = "33";
6677 src = fetchFromGitHub {
88 owner = "Ubuntu";
99 repo = "gnome-shell-extension-appindicator";
1010 rev = "v${version}";
1111- sha256 = "1qv9ll4iwkinwk5mf2jppj4fbk8rfncix6q4hhrwnqmhmsbiz6n2";
1111+ sha256 = "B039bgg5b63oaHp1Z36k9Dh5FLr8fmfxI25ZgIA+p2I=";
1212 };
13131414 # This package has a Makefile, but it's used for building a zip for
···11+From 036c87c82793f1da9f98445e8e27462cc19bbe0a Mon Sep 17 00:00:00 2001
22+From: John Ericson <John.Ericson@Obsidian.Systems>
33+Date: Sat, 22 Feb 2020 14:38:38 -0500
44+Subject: [PATCH] Allow getting `no_std` from the config file
55+66+Currently, it is only set correctly in the sanity checking implicit
77+default fallback code. Having a config file at all will for force
88+`no_std = false`.
99+---
1010+ src/bootstrap/config.rs | 3 +++
1111+ src/bootstrap/sanity.rs | 4 +---
1212+ 2 files changed, 4 insertions(+), 3 deletions(-)
1313+1414+diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
1515+index 110c8b844d5..83a6934d477 100644
1616+--- a/src/bootstrap/config.rs
1717++++ b/src/bootstrap/config.rs
1818+@@ -350,6 +350,7 @@ struct TomlTarget {
1919+ musl_root: Option<String>,
2020+ wasi_root: Option<String>,
2121+ qemu_rootfs: Option<String>,
2222++ no_std: Option<bool>,
2323+ }
2424+2525+ impl Config {
2626+@@ -610,6 +611,8 @@ impl Config {
2727+ target.musl_root = cfg.musl_root.clone().map(PathBuf::from);
2828+ target.wasi_root = cfg.wasi_root.clone().map(PathBuf::from);
2929+ target.qemu_rootfs = cfg.qemu_rootfs.clone().map(PathBuf::from);
3030++ target.no_std
3131++ = cfg.no_std.unwrap_or(triple.contains("-none-") || triple.contains("nvptx"));
3232+3333+ config.target_config.insert(INTERNER.intern_string(triple.clone()), target);
3434+ }
3535+diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs
3636+index 8ff7056e628..76e721ed8e3 100644
3737+--- a/src/bootstrap/sanity.rs
3838++++ b/src/bootstrap/sanity.rs
3939+@@ -194,9 +194,7 @@ pub fn check(build: &mut Build) {
4040+4141+ if target.contains("-none-") || target.contains("nvptx") {
4242+ if build.no_std(*target).is_none() {
4343+- let target = build.config.target_config.entry(target.clone()).or_default();
4444+-
4545+- target.no_std = true;
4646++ build.config.target_config.entry(target.clone()).or_default();
4747+ }
4848+4949+ if build.no_std(*target) == Some(false) {
5050+--
5151+2.24.1
5252+
-48
pkgs/development/compilers/rust/1_41_0.nix
···11-# New rust versions should first go to staging.
22-# Things to check after updating:
33-# 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin:
44-# i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github
55-# This testing can be also done by other volunteers as part of the pull
66-# request review, in case platforms cannot be covered.
77-# 2. The LLVM version used for building should match with rust upstream.
88-# 3. Firefox and Thunderbird should still build on x86_64-linux.
99-1010-{ stdenv, lib
1111-, buildPackages
1212-, newScope, callPackage
1313-, CoreFoundation, Security
1414-, llvmPackages_5
1515-, pkgsBuildTarget, pkgsBuildBuild
1616-, fetchpatch
1717-} @ args:
1818-1919-import ./default.nix {
2020- rustcVersion = "1.41.0";
2121- rustcSha256 = "0jypz2mrzac41sj0zh07yd1z36g2s2rvgsb8g624sk4l14n84ijm";
2222-2323- # Note: the version MUST be one version prior to the version we're
2424- # building
2525- bootstrapVersion = "1.40.0";
2626-2727- # fetch hashes by running `print-hashes.sh 1.40.0`
2828- bootstrapHashes = {
2929- i686-unknown-linux-gnu = "d050d3a1c7c45ba9c50817d45bf6d7dd06e1a4d934f633c8096b7db6ae27adc1";
3030- x86_64-unknown-linux-gnu = "fc91f8b4bd18314e83a617f2389189fc7959146b7177b773370d62592d4b07d0";
3131- arm-unknown-linux-gnueabihf = "4be9949c4d3c572b69b1df61c3506a3a3ac044851f025d38599612e7caa933c5";
3232- armv7-unknown-linux-gnueabihf = "ebfe3978e12ffe34276272ee6d0703786249a9be80ca50617709cbfdab557306";
3333- aarch64-unknown-linux-gnu = "639271f59766d291ebdade6050e7d05d61cb5c822a3ef9a1e2ab185fed68d729";
3434- i686-apple-darwin = "ea189b1fb0bfda367cde6d43c18863ab4c64ffca04265e5746bf412a186fe1a2";
3535- x86_64-apple-darwin = "749ca5e0b94550369cc998416b8854c13157f5d11d35e9b3276064b6766bcb83";
3636- };
3737-3838- selectRustPackage = pkgs: pkgs.rust_1_41_0;
3939-4040- rustcPatches = [
4141- (fetchpatch {
4242- url = "https://github.com/QuiltOS/rust/commit/f1803452b9e95bfdbc3b8763138b9f92c7d12b46.diff";
4343- sha256 = "1mzxaj46bq7ll617wg0mqnbnwr1da3hd4pbap8bjwhs3kfqnr7kk";
4444- })
4545- ];
4646-}
4747-4848-(builtins.removeAttrs args [ "fetchpatch" ])
+44
pkgs/development/compilers/rust/1_42.nix
···11+# New rust versions should first go to staging.
22+# Things to check after updating:
33+# 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin:
44+# i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github
55+# This testing can be also done by other volunteers as part of the pull
66+# request review, in case platforms cannot be covered.
77+# 2. The LLVM version used for building should match with rust upstream.
88+# 3. Firefox and Thunderbird should still build on x86_64-linux.
99+1010+{ stdenv, lib
1111+, buildPackages
1212+, newScope, callPackage
1313+, CoreFoundation, Security
1414+, llvmPackages_5
1515+, pkgsBuildTarget, pkgsBuildBuild
1616+} @ args:
1717+1818+import ./default.nix {
1919+ rustcVersion = "1.42.0";
2020+ rustcSha256 = "0x9lxs82may6c0iln0b908cxyn1cv7h03n5cmbx3j1bas4qzks6j";
2121+2222+ # Note: the version MUST be one version prior to the version we're
2323+ # building
2424+ bootstrapVersion = "1.41.0";
2525+2626+ # fetch hashes by running `print-hashes.sh 1.42.0`
2727+ bootstrapHashes = {
2828+ i686-unknown-linux-gnu = "a93a34f9cf3d35de2496352cb615b42b792eb09db3149b3a278efd2c58fa7897";
2929+ x86_64-unknown-linux-gnu = "343ba8ef7397eab7b3bb2382e5e4cb08835a87bff5c8074382c0b6930a41948b";
3030+ arm-unknown-linux-gnueabihf = "d0b33fcc97eeb96d716b30573c7e66affdf9077ecdecb30df2498b49f8284047";
3131+ armv7-unknown-linux-gnueabihf = "3c8e787fb4f4f304a065e78c38010f0b5722d809f9dafb0e904084bf0f54f7be";
3232+ aarch64-unknown-linux-gnu = "79ddfb5e2563d0ee09a567fbbe121a2aed3c3bc61255b2787f2dd42183a10f27";
3333+ i686-apple-darwin = "628134b3fbaf5c0e7a25bd9a2b8d25f6e68bb256c8b04a3332ec979f5a1cd339";
3434+ x86_64-apple-darwin = "b6504003ab70b11f278e0243a43ba9d6bf75e8ad6819b4058a2b6e3991cc8d7a";
3535+ };
3636+3737+ selectRustPackage = pkgs: pkgs.rust_1_42;
3838+3939+ rustcPatches = [
4040+ ./0001-Allow-getting-no_std-from-the-config-file.patch
4141+ ];
4242+}
4343+4444+(builtins.removeAttrs args [ "fetchpatch" ])
···2121if paths:
2222 functools.reduce(lambda k, p: site.addsitedir(p, k), paths.split(':'), site._init_pathinfo())
23232424-executable = os.environ.pop('NIX_PYTHONEXECUTABLE', None)
2525-if 'PYTHONEXECUTABLE' not in os.environ and executable:
2626- sys.executable = executable
2424+# Check whether we are in a venv.
2525+# Note Python 2 does not support base_prefix so we assume we are not in a venv.
2626+in_venv = sys.version_info.major == 3 and sys.prefix != sys.base_prefix
2727+2828+if not in_venv:
2929+ executable = os.environ.pop('NIX_PYTHONEXECUTABLE', None)
3030+ prefix = os.environ.pop('NIX_PYTHONPREFIX', None)
3131+3232+ if 'PYTHONEXECUTABLE' not in os.environ and executable is not None:
3333+ sys.executable = executable
3434+ if prefix is not None:
3535+ # Because we cannot check with Python 2 whether we are in a venv,
3636+ # creating a venv from a Nix env won't work as well with Python 2.
3737+ # Also, note that sysconfig does not like it when sys.prefix is set to None
3838+ sys.prefix = sys.exec_prefix = prefix
3939+ site.PREFIXES.insert(0, prefix)
+11-1
pkgs/development/interpreters/python/tests.nix
···22, runCommand
33, substituteAll
44, lib
55+, callPackage
56}:
6778let
···3637 is_venv = "True";
3738 is_nixenv = "False";
3839 };
4040+3941 # Venv built using Python Nix environment (python.buildEnv)
4042 # TODO: Cannot create venv from a nix env
4143 # Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
···4951 # };
5052 };
51535454+ # All PyPy package builds are broken at the moment
5555+ integrationTests = lib.optionalAttrs (python.isPy3k && (!python.isPyPy)) rec {
5656+ # Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
5757+ nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix {
5858+ interpreter = python;
5959+ };
6060+ };
6161+5262 testfun = name: attrs: runCommand "${python.name}-tests-${name}" ({
5363 inherit (python) pythonVersion;
5464 } // attrs) ''
···6070 touch $out/success
6171 '';
62726363-in lib.mapAttrs testfun envs 7373+in lib.mapAttrs testfun envs // integrationTests
···2727 def test_interpreter(self):
2828 self.assertEqual(sys.executable, INTERPRETER)
29293030- @unittest.skipIf(IS_NIXENV or IS_PYPY, "Prefix is incorrect and needs to be fixed.")
3030+ @unittest.skipIf(IS_PYPY, "Prefix is incorrect and needs to be fixed.")
3131 def test_prefix(self):
3232 self.assertEqual(sys.prefix, ENV)
3333 self.assertEqual(sys.prefix, sys.exec_prefix)
···3535 def test_site_prefix(self):
3636 self.assertTrue(sys.prefix in site.PREFIXES)
37373838- @unittest.skipIf(sys.version_info.major==2, "Python 2 does not have base_prefix")
3838+ @unittest.skipIf(IS_PYPY or sys.version_info.major==2, "Python 2 does not have base_prefix")
3939 def test_base_prefix(self):
4040- if IS_VENV:
4040+ if IS_VENV or IS_NIXENV:
4141 self.assertNotEqual(sys.prefix, sys.base_prefix)
4242 else:
4343 self.assertEqual(sys.prefix, sys.base_prefix)
+1-1
pkgs/development/interpreters/python/wrapper.nix
···3737 if [ -f "$prg" ]; then
3838 rm -f "$out/bin/$prg"
3939 if [ -x "$prg" ]; then
4040- makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
4040+ makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONPREFIX "$out" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
4141 fi
4242 fi
4343 done
+95
pkgs/development/interpreters/spidermonkey/68.nix
···11+{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, python3, zip, buildPackages
22+, which, readline, zlib, icu, cargo, rustc, llvmPackages }:
33+44+with stdenv.lib;
55+66+let
77+ python3Env = buildPackages.python3.withPackages (p: [p.six]);
88+in stdenv.mkDerivation rec {
99+ pname = "spidermonkey";
1010+ version = "68.4.2";
1111+1212+ src = fetchurl {
1313+ url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz";
1414+ sha256 = "1x1fglg1b85hb0srd6k7n5svl0nlgdm4njc8q13s2750v5ck4ljx";
1515+ };
1616+1717+ outputs = [ "out" "dev" ];
1818+ setOutputFlags = false; # Configure script only understands --includedir
1919+2020+ nativeBuildInputs = [
2121+ autoconf213
2222+ pkgconfig
2323+ perl
2424+ which
2525+ python2
2626+ zip
2727+ cargo
2828+ rustc
2929+ llvmPackages.llvm
3030+ ];
3131+3232+ buildInputs = [
3333+ readline
3434+ zlib
3535+ icu
3636+ ];
3737+3838+ preConfigure = ''
3939+ export CXXFLAGS="-fpermissive"
4040+ export LIBXUL_DIST=$out
4141+ export PYTHON3="${python3Env.interpreter}"
4242+4343+ # We can't build in js/src/, so create a build dir
4444+ mkdir obj
4545+ cd obj/
4646+ configureScript=../js/src/configure
4747+ '';
4848+4949+ configureFlags = [
5050+ # Reccommended by gjs upstream
5151+ "--disable-jemalloc"
5252+ "--enable-unaligned-private-values"
5353+ "--with-intl-api"
5454+ "--enable-posix-nspr-emulation"
5555+ "--with-system-zlib"
5656+ "--with-system-icu"
5757+5858+ "--with-libclang-path=${llvmPackages.libclang}/lib"
5959+ "--with-clang-path=${llvmPackages.clang}/bin/clang"
6060+6161+ "--enable-shared-js"
6262+ "--enable-readline"
6363+ # Fedora and Arch disable optimize, but it doesn't seme to be necessary
6464+ # It turns on -O3 which some gcc version had a problem with:
6565+ # https://src.fedoraproject.org/rpms/mozjs38/c/761399aba092bcb1299bb4fccfd60f370ab4216e
6666+ "--enable-optimize"
6767+ "--enable-release"
6868+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
6969+ # Spidermonkey seems to use different host/build terminology for cross
7070+ # compilation here.
7171+ "--host=${stdenv.buildPlatform.config}"
7272+ "--target=${stdenv.hostPlatform.config}"
7373+ ];
7474+7575+ configurePlatforms = [];
7676+7777+ depsBuildBuild = [ buildPackages.stdenv.cc ];
7878+7979+ # Remove unnecessary static lib
8080+ preFixup = ''
8181+ moveToOutput bin/js60-config "$dev"
8282+ rm $out/lib/libjs_static.ajs
8383+ ln -s $out/bin/js60 $out/bin/js
8484+ '';
8585+8686+ enableParallelBuilding = true;
8787+8888+ meta = with stdenv.lib; {
8989+ description = "Mozilla's JavaScript engine written in C/C++";
9090+ homepage = https://developer.mozilla.org/en/SpiderMonkey;
9191+ license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
9292+ maintainers = [ maintainers.abbradar ];
9393+ platforms = platforms.linux;
9494+ };
9595+}
···77# it may be worth thinking about using multiple derivation outputs
88# In that case its about 6MB which could be separated
991010-let
1111- pname = "gobject-introspection";
1212- version = "1.62.0";
1313-in
1410with stdenv.lib;
1511stdenv.mkDerivation rec {
1616- name = "${pname}-${version}";
1212+ pname = "gobject-introspection";
1313+ version = "1.64.0";
17141815 src = fetchurl {
1919- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2020- sha256 = "18lhglg9v6y83lhqzyifc1z0wrlawzrhzzxx0a3h1g7xaz97xvmi";
1616+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1717+ sha256 = "10pwykfnk7pw8k9k8iz3p72phxvyrh5q4d7gr3ysv08w15immh7a";
2118 };
22192320 outputs = [ "out" "dev" "man" ];
···32293330 mesonFlags = [
3431 "--datadir=${placeholder "dev"}/share"
3232+ "-Ddoctool=disabled"
3333+ "-Dcairo=disabled"
3534 ];
36353736 # outputs TODO: share/gobject-introspection-1.0/tests is needed during build
···5554 });
56555756 doCheck = !stdenv.isAarch64;
5757+5858+ preBuild = ''
5959+ # Our gobject-introspection patches make the shared library paths absolute
6060+ # in the GIR files. When running tests, the library is not yet installed,
6161+ # though, so we need to replace the absolute path with a local one during build.
6262+ # We are using a symlink that we will delete before installation.
6363+ mkdir -p $out/lib
6464+ ln -s $PWD/tests/scanner/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
6565+ cleanLibregressSymlink() {
6666+ rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary}
6767+ }
6868+ preInstallPhases="$preInstallPhases cleanLibregressSymlink"
6969+ '';
58705971 passthru = {
6072 updateScript = gnome3.updateScript {
···2233stdenv.mkDerivation rec {
44 pname = "libzip";
55- version = "1.6.0";
55+ version = "1.6.1";
6677 src = fetchurl {
88 url = "https://www.nih.at/libzip/${pname}-${version}.tar.gz";
99- sha256 = "1zsspz6cbbqah11jkcc894jgxihlm8gicfh54yvny9gc3lsvpi3h";
99+ sha256 = "120xgf7cgjmz9d3yp10lks6lhkgxqb4skbmbiiwf46gx868qxsq6";
1010 };
11111212 # Fix pkgconfig file paths
···2727 '';
28282929 meta = with stdenv.lib; {
3030- homepage = https://www.nih.at/libzip;
3030+ homepage = "https://www.nih.at/libzip";
3131 description = "A C library for reading, creating and modifying zip archives";
3232 license = licenses.bsd3;
3333 platforms = platforms.unix;
+14-4
pkgs/development/libraries/mesa/default.nix
···2727with stdenv.lib;
28282929let
3030- version = "19.3.3";
3030+ version = "20.0.2";
3131 branch = versions.major version;
3232in
3333···4242 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
4343 "https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
4444 ];
4545- sha256 = "02czqdqf64i3az5p1allnxycyjad3x35cj0hz0017mi5pc84ikl1";
4545+ sha256 = "0vz8k07d23qdwy67fnna9y0ynnni0m8lgswcmdm60l4mcv5z2m5a";
4646 };
47474848 prePatch = "patchShebangs .";
···191191 };
192192193193 meta = with stdenv.lib; {
194194- description = "An open source implementation of OpenGL";
195195- homepage = https://www.mesa3d.org/;
194194+ description = "An open source 3D graphics library";
195195+ longDescription = ''
196196+ The Mesa project began as an open-source implementation of the OpenGL
197197+ specification - a system for rendering interactive 3D graphics. Over the
198198+ years the project has grown to implement more graphics APIs, including
199199+ OpenGL ES (versions 1, 2, 3), OpenCL, OpenMAX, VDPAU, VA API, XvMC, and
200200+ Vulkan. A variety of device drivers allows the Mesa libraries to be used
201201+ in many different environments ranging from software emulation to
202202+ complete hardware acceleration for modern GPUs.
203203+ '';
204204+ homepage = "https://www.mesa3d.org/";
205205+ changelog = "https://www.mesa3d.org/relnotes/${version}.html";
196206 license = licenses.mit; # X11 variant, in most files
197207 platforms = platforms.mesaPlatforms;
198208 maintainers = with maintainers; [ vcunat ];
···2222 # this is just a meta package, which contains keys and secrets
2323 doCheck = false;
24242525+ pythonNamespaces = [ "azure" ];
2626+2527 pythonImportsCheck = [
2628 "azure.keyvault.keys"
2729 "azure.keyvault.secrets"
···2727 ];
28282929 # this is still needed for when the version is overrided
3030- # to previous versions. E.g azure-cli
3131- postInstall = lib.optionalString isPy3k ''
3232- rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py
3333- '';
3030+ pythonNamespaces = [ "azure.mgmt" ];
34313532 # has no tests
3633 doCheck = false;
···1111 fi
12121313 local flagsArray=(
1414- @crossFlags@
1514 "${flagsArray[@]}"
1615 $wafConfigureFlags "${wafConfigureFlagsArray[@]}"
1716 ${configureTargets:-configure}
1817 )
1818+ if [ -z "${dontAddWafCrossFlags:-}" ]; then
1919+ flagsArray+=(@crossFlags@)
2020+ fi
1921 echoCmd 'configure flags' "${flagsArray[@]}"
2022 python "$wafPath" "${flagsArray[@]}"
21232224 runHook postConfigure
2325}
2626+2727+if [ -z "${dontUseWafConfigure-}" -a -z "${configurePhase-}" ]; then
2828+ configurePhase=wafConfigurePhase
2929+fi
24302531wafBuildPhase () {
2632 runHook preBuild
···4147 runHook postBuild
4248}
43495050+if [ -z "${dontUseWafBuild-}" -a -z "${buildPhase-}" ]; then
5151+ buildPhase=wafBuildPhase
5252+fi
5353+4454wafInstallPhase() {
4555 runHook preInstall
4656···5161 local flagsArray=(
5262 $wafFlags ${wafFlagsArray[@]}
5363 $installFlags ${installFlagsArray[@]}
5454- ${installTargets:-install}
6464+ ${installTargets:-install}
5565 )
56665767 echoCmd 'install flags' "${flagsArray[@]}"
···6070 runHook postInstall
6171}
62726363-configurePhase=wafConfigurePhase
6464-buildPhase=wafBuildPhase
6565-installPhase=wafInstallPhase
7373+if [ -z "${dontUseWafInstall-}" -a -z "${installPhase-}" ]; then
7474+ installPhase=wafInstallPhase
7575+fi
-35
pkgs/development/tools/misc/elfutils/default.nix
···28282929 enableParallelBuilding = true;
30303131- # This program does not cross-build fine. So I only cross-build some parts
3232- # I need for the linux perf tool.
3333- # On the awful cross-building:
3434- # http://comments.gmane.org/gmane.comp.sysutils.elfutils.devel/2005
3535- #
3636- # I wrote this testing for the nanonote.
3737-3838- buildPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
3939- pushd libebl
4040- make
4141- popd
4242- pushd libelf
4343- make
4444- popd
4545- pushd libdwfl
4646- make
4747- popd
4848- pushd libdw
4949- make
5050- popd
5151- '';
5252-5353- installPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
5454- pushd libelf
5555- make install
5656- popd
5757- pushd libdwfl
5858- make install
5959- popd
6060- pushd libdw
6161- make install
6262- popd
6363- cp version.h $out/include
6464- '';
6565-6631 doCheck = false; # fails 3 out of 174 tests
6732 doInstallCheck = false; # fails 70 out of 174 tests
6833
···221221 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25
222222 libcap_manpages = libcap.doc; # added 2016-04-29
223223 libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29
224224+ libcroco = throw "libcroco has been removed as it's no longer used in any derivations."; # added 2020-03-04
224225 libindicate = throw "libindacate has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
225226 libindicate-gtk3 = throw "libindacate-gtk2 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
226227 libindicate-gtk2 = throw "libindacate-gtk3 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10