got: fix build on x86_64-darwin

This commit is contained in:
Alexis Hildebrandt 2024-07-12 21:16:58 +02:00
parent 523b575d8e
commit 2b71767607

View File

@ -14,12 +14,18 @@
, autoPatchelfHook
, testers
, signify
, overrideSDK
, withSsh ? true, openssh
# Default editor to use when neither VISUAL nor EDITOR are defined
, defaultEditor ? null
}:
stdenv.mkDerivation (finalAttrs: {
let
stdenv' = if stdenv.isDarwin && stdenv.isx86_64
then overrideSDK stdenv "11.0"
else stdenv;
in
stdenv'.mkDerivation (finalAttrs: {
pname = "got";
version = "0.101";