nixpkgs/lib
Maximilian Bosch 6d6cbd316d pythonmagick: fix build (#46469)
The original build broke with the following linker issue:

```
  CXXLD    _PythonMagick.la
/nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: cannot find -l-L/nix/store/4gh6ynzsd5ndx37hmkl62xa8z30k43y1-imagemagick-6.9.9-34/lib
collect2: error: ld returned 1 exit status
```

This happens since `BOOST_PYTHON_LIB` wasn't set properly, however
`_PythonMagick.la` was linked with `-l$(BOOST_PYTHON_LIB)
$(MAGICK_LIBS)`. With an empty `BOOST_PYTHON_LIB` the linker got
confused.

To work around this, the `boost` library directory needs to be specified
explicitly. To ensure that the changes take effect, the original
`configure` script shipped with `$src` needs to be removed and recreated
using the `autoreconfHook`.

Additionally the `imagemagick` license (https://spdx.org/licenses/ImageMagick.html)
needs to be added to `lib/licenses.nix` to document the proper license
of `pythonmagick` in the meta section.
2018-09-10 11:59:51 +02:00
..
systems hurd: cleanup unmaintained target 2018-08-28 22:18:02 +01:00
tests Merge branch 'no-toPath' 2018-09-06 08:09:53 -04:00
asserts.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
attrsets.nix Merge pull request #45038 from symphorien/optopt 2018-08-30 20:08:45 +02:00
composable-derivation.nix
customisation.nix lib: Use lib.fixed-points.extends to avoid repetition 2018-08-20 13:09:15 -04:00
debug.nix
default.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
generators.nix
kernel.nix
licenses.nix pythonmagick: fix build (#46469) 2018-09-10 11:59:51 +02:00
lists.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
meta.nix
minver.nix Nix minimal version: 1.11 -> 2.0 2018-08-30 08:09:54 -04:00
modules.nix module system: rework module merging 2018-08-27 17:11:58 +02:00
options.nix
sources.nix
strings-with-deps.nix
strings.nix lib/trivial: add a few examples of usage of assertMsg/assertOneOf 2018-09-06 18:14:27 +02:00
trivial.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
types.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
versions.nix
zip-int-bits.nix lib/trivial: move zipIntBits to its own file 2018-07-26 20:36:45 +02:00