You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NixOS a special syntax is used in the package configurations that allow downloading from mirrors, which are then locally configured and can be changed or searched automatically, and allow a user to pick a mirror closest, or do some very basic failover.
This then tells the download script to substitute the package and use the configured mirror. It might be useful for purl2url.py to either use something similar or to return something similar to what NixOS does, so the actual fetcher can then replace it with the correct mirror.
The text was updated successfully, but these errors were encountered:
In NixOS a special syntax is used in the package configurations that allow downloading from mirrors, which are then locally configured and can be changed or searched automatically, and allow a user to pick a mirror closest, or do some very basic failover.
An example is this package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/graphics/barcode/default.nix
This then tells the download script to substitute the package and use the configured mirror. It might be useful for
purl2url.py
to either use something similar or to return something similar to what NixOS does, so the actual fetcher can then replace it with the correct mirror.The text was updated successfully, but these errors were encountered: