chore(go): Remove 'builder' metapackage

This metapackage isn't actually particularly useful (stdenv is rarely
what users want).
This commit is contained in:
Vincent Ambo 2019-08-03 00:38:32 +01:00 committed by Vincent Ambo
parent da5df525c8
commit a4c0d3e8d3

View file

@ -173,15 +173,12 @@ func imageFromName(name string, tag string) image {
// * `builder`: All of the above and the standard build environment // * `builder`: All of the above and the standard build environment
func convenienceNames(packages []string) []string { func convenienceNames(packages []string) []string {
shellPackages := []string{"bashInteractive", "coreutils", "moreutils", "nano"} shellPackages := []string{"bashInteractive", "coreutils", "moreutils", "nano"}
builderPackages := append(shellPackages, "stdenv")
if packages[0] == "shell" { if packages[0] == "shell" {
return append(packages[1:], shellPackages...) return append(packages[1:], shellPackages...)
} else if packages[0] == "builder" {
return append(packages[1:], builderPackages...)
} else {
return packages
} }
return packages
} }
// Call out to Nix and request that an image be built. Nix will, upon success, // Call out to Nix and request that an image be built. Nix will, upon success,