gomod2nix/overlay.nix
adisbladis 8525f7f0e5 Remove generic builder expression
This was an attempt to get maximal sharing with Nixpkgs but in hindsight it's better to just have some code duplication.
2022-09-02 16:14:39 +12:00

10 lines
344 B
Nix

final: prev:
let
# The newer Darwin SDK does not exist in current (nixos-22.05) stable
# branches, so just fallback to the default callPackage.
callPackage = final.darwin.apple_sdk_11_0.callPackage or final.callPackage;
in
{
inherit (callPackage ./builder { }) buildGoApplication mkGoEnv;
gomod2nix = callPackage ./default.nix { };
}