chore(go): Remove 'builder' metapackage
This metapackage isn't actually particularly useful (stdenv is rarely what users want).
This commit is contained in:
parent
da5df525c8
commit
a4c0d3e8d3
1 changed files with 2 additions and 5 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue