mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-09-08 00:06:26 +00:00
10 lines
367 B
Nix
10 lines
367 B
Nix
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
|
|
{
|
|
inherit (callPackage ./builder { }) buildGoApplication mkGoEnv mkVendorEnv;
|
|
gomod2nix = callPackage ./default.nix { };
|
|
}
|