1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/games/factorio
Luke Granger-Brown 86aa2a57d3 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.
2020-11-24 01:32:53 +00:00
..
default.nix factorio: fail fetch early if no credentials provided 2020-11-24 01:32:53 +00:00
mods.nix
utils.nix factorio-utils: fix recursive mod dependency resolution 2020-06-04 08:27:13 +02:00