gomod2nix/overlay.nix

11 lines
367 B
Nix
Raw Normal View History

final: prev:
let
# The current default sdk for macOS fails to compile go projects, so we use a newer one for now.
# This has no effect on other platforms.
callPackage = final.darwin.apple_sdk_11_0.callPackage or final.callPackage;
in
{
2023-04-12 09:50:58 +00:00
inherit (callPackage ./builder { }) buildGoApplication mkGoEnv mkVendorEnv;
gomod2nix = callPackage ./default.nix { };
2020-10-29 12:56:41 +00:00
}