gomod2nix/overlay.nix

11 lines
344 B
Nix
Raw Normal View History

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 { };
2020-10-29 12:56:41 +00:00
}