mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 14:11:51 +00:00
chore(go): Remove 'builder' metapackage
This metapackage isn't actually particularly useful (stdenv is rarely what users want).
This commit is contained in:
parent
cf455fcb08
commit
5a6952c000
7
main.go
7
main.go
|
@ -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 New Issue
Block a user