Unverified Commit 41ae060d authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #318182 from rhelmot/freebsd-git-cross

git: add uname_S make flag for freebsd cross
parents 788a1c9e e2b4425c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -121,7 +121,8 @@ stdenv.mkDerivation (finalAttrs: {
  # acceptable version.
  #
  # See https://github.com/Homebrew/homebrew-core/commit/dfa3ccf1e7d3901e371b5140b935839ba9d8b706
  ++ lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent";
  ++ lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent"
  ++ lib.optional (stdenv.hostPlatform.isFreeBSD && stdenv.hostPlatform != stdenv.buildPlatform) "uname_S=FreeBSD";

  disallowedReferences = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
    stdenv.shellPackage