diff options
| author | Michal Sojka <michal.sojka@cvut.cz> | 2024-01-15 21:39:22 +0100 |
|---|---|---|
| committer | Michal Sojka <michal.sojka@cvut.cz> | 2024-01-15 21:39:22 +0100 |
| commit | 9fb55f492c750da2ffcfd69bd958f156fe86f2a7 (patch) | |
| tree | abaeebd4084379184c9769bc340aa340a427c5f3 /pkgs/development/python-modules/python-mapnik | |
| parent | 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d (diff) | |
auto-multiple-choice: use absolute paths instead of "portable" strategy
Currently, auto-multiple-choice from nixpkgs doesn't work on systems with
/lib directory. Running auto-multiple-choice there fails with:
Unknown action gui at /nix/store/n3cyw5ngp0v52rny9gr6z35vslh5d4vx-auto-multiple-choice-1.6.0/bin/.auto-multiple-choice-wrapped line 94.
This happens on non-NixOS systems as well as on NixOS with e.g.
nix-ldĀ [1] enabled.
The reason is documented in the Nix expression and the problem is
reported upstream at https://project.auto-multiple-choice.net/issues/872.
However, the problem can be worked around without requiring upstream
changes, as shown in this commit. We stop using the "portable
distribution", which tries to detect the base directory at run time, and
instead hardcode all paths as absolute at build time.
[1] https://github.com/Mic92/nix-ld
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
