Commit 2b717676 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt
Browse files

got: fix build on x86_64-darwin

parent 523b575d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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";