diff --git a/overlay.nix b/overlay.nix index 3034b54..6629049 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1,6 +1,8 @@ final: prev: let - callPackage = final.darwin.apple_sdk_11_0.callPackage; + # 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;