mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19:08 +00:00
Merge pull request #85 from srhb/conditional-sdk-upgrade
overlay: fallback to default callPackage for stable nixpkgs
This commit is contained in:
commit
b57059cef6
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue