summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-01-12 10:05:41 +0000
committerSergei Trofimovich <slyich@gmail.com>2024-01-12 10:07:57 +0000
commitbb0c8c6bb89d384023935e87ebdd1239ed6d242c (patch)
tree4e069b1a123a18217277f767beb166c41dee66fa /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parenta2f82b9b840d6120464b853b8c6efb462899c716 (diff)
dmd: improve eval failure on `pkgsLLVM` package set
`dmd` requires `libgcc` to be able to run `dmd` binary. As a result `pkgsLLVM.dmd` fails the eval as: $ nix build -f. pkgsLLVM.dmd error: attribute 'libgcc' missing at pkgs/development/compilers/dmd/binary.nix:31:5: 30| glibc 31| stdenv.cc.cc.libgcc | ^ Such reference to non-existent attributes is an unrecoverable exception. The change turns it into recoverable `assert`: $ nix build --no-link -f. pkgsLLVM.dmd error: assertion '((hostPlatform).isLinux -> (((stdenv).cc.cc) ? libgcc))' failed at pkgs/development/compilers/dmd/binary.nix:12:1: 11| # and can't build `dmd`. 12| assert hostPlatform.isLinux -> (stdenv.cc.cc ? libgcc); | ^
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions