buildGo{Module,Package}: remove disabled

This doesn't seem to have been used since pkgs/top-level/go-packages.nix was split up.
This commit is contained in:
zowoq
2021-01-11 06:00:38 +10:00
parent 1373f75002
commit 26117ed4b7
2 changed files with 2 additions and 12 deletions
@@ -10,9 +10,6 @@
# We want parallel builds by default
, enableParallelBuilding ? true
# Disabled flag
, disabled ? false
# Go import path of the package
, goPackagePath
@@ -249,7 +246,5 @@ let
platforms = go.meta.platforms or lib.platforms.all;
} // meta;
});
in if disabled then
throw "${package.name} not supported for go ${go.meta.branch}"
else
in
package