summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2022-01-04 18:07:46 -0300
committerThiago Kenji Okada <thiagokokada@gmail.com>2022-01-04 18:31:08 -0300
commitc274d045ac254afe96b1f8139e974ada2c42059e (patch)
tree088fcaddf83341f7935c3437db0b72ee0c323ea1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent2a4f08b00b270897a835b2091408ba5f7090604b (diff)
nixos-rebuild: do not resolve flake path
The removed lines converted the flake path passed by the command line from `/some/path` to `git+file:///some/path`. This technically shouldn't cause any issues, however running `nixos-rebuild switch` inside a directory `/nix/store` will cause the switch to fail and leave a partially construct generation (see issue #144811 for details). By itself this shouldn't be too much of an issue, however thanks to another issue in `systemd-boot-builder.py` this can leave the system in a broken state for those using `boot.loader.systemd-boot` (AFAIK the default), where future `nixos-rebuild switch` will fail (see issue #93694 for details). The issue can be fixed by running `nix-env -p /nix/var/nix/profiles/system --delete-generations old`, however this makes newbies very confused and it is showing in our support threads in Matrix and Discourse (see https://discourse.nixos.org/t/need-help-on-failure-of-building-my-configuration/16842). Keep in mind this is a workaround. The actual issue seems to be in nix itself (see: https://github.com/NixOS/nix/issues/5510). See also #150065 for an alternative fix that caused other issues. Kudos for @figsoda for figuring out this fix.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions