summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-11-24 01:27:34 +0000
committerLuke Granger-Brown <git@lukegb.com>2020-11-24 01:32:53 +0000
commit86aa2a57d3a60d68af8689c4a1eb4da306f90c98 (patch)
tree70ec87dc2321fc1084b8920f4db8eac54a2f6773 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentc9a919707814d483a19dc143070c709941ec544f (diff)
factorio: fail fetch early if no credentials provided
The download URL will redirect to the login page if credentials are not present, but will return an error if the credentials are wrong. Since we know we always expect credentials, we can fail the fetch in the preHook if they're not provided. We can't use e.g. builtins.throw because we want the fetchurl derivation to be evaluated in all cases - because that's the mechanism which allows you to just manually add the tarball to the Nix store.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions