diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-04-05 01:27:38 -0700 |
|---|---|---|
| committer | Adam Joseph <adam@westernsemico.com> | 2023-04-06 13:05:07 -0700 |
| commit | 482b61e1423f264279bb321b8d8c93fb766d4927 (patch) | |
| tree | 80930ecf6c31cb129f153d5ef6f7563d679f4a0a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 06c63bcc53f399258dd1a8cc70fa0360447ddc42 (diff) | |
default-crate-overrides.nix: prevent `git fetch`
The build.rs script shipped with evdev-sys attempts to detect cross
compilation and uses a completely different codepath which does a
`git fetch` inside the build script. This doesn't work in nixpkgs.
This PR adds a `touch libevdev/.git` to trick the `build.rs` into
thinking that it is not necessary to do a `git fetch`.
Thanks to @figsoda for finding this more-elegant solution to the
problem (my original solution needed to patch `build.rs`):
https://github.com/NixOS/nixpkgs/pull/224893#pullrequestreview-1373809617
Tested on:
- [x] `aarch64-linux` (cross from `x86_64-linux`)
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
