This makes it impossible to update the builds for older versions of Rakudo. Instead, default.nix should export a attrset with the Rakudo versions as keys, and people should use the latest version of rakudo-nix whenever possible.
# cat default.nix
let
packages = version: shas: pkgs: {
/* stuff we have currently */
};
in
{
"2019.03" = packages "2019.03" { /* shas here */ };
"2019.07" = packages "2019.07" { /* shas here */ };
}
This makes it impossible to update the builds for older versions of Rakudo. Instead, default.nix should export a attrset with the Rakudo versions as keys, and people should use the latest version of rakudo-nix whenever possible.
Usage: