diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2021-11-08 14:55:02 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2021-12-03 07:56:28 +0000 |
| commit | 6c74a8a08f12ef89474439dacdfa3b149dfb03a7 (patch) | |
| tree | 2fd16ccd4cf22ee5d80cda141b4eb8ff7e213748 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 2100043ba9c5d173c7b2213e3ef7ca6c693f35e9 (diff) | |
flex: use fetchuril instead of fetchpatch to avoid extra depends
Weekly `gcc` snapshots don't come with pre-generated `flex` lexers
and thus require `flex` dependency. Attempt to use them as is fails as:
error: anonymous function at pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'meta'
at pkgs/build-support/fetchpatch/default.nix:18:1:
17| in
18| fetchurl ({
| ^
19| postFetch = ''
(use '--show-trace' to show detailed location information)
This happens due to a circulare dependency between fetchpatch dependencies
and flex.
The change uses simpler `fetchurl` to ease use of `flex` in `gcc`.
This allows me to use existing `gcc` `.nix` files for weekly `gcc`
snapshots by only adding extra `flex` dependency.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
