Unverified Commit 38ec7831 authored by awwpotato's avatar awwpotato
Browse files

starship: remove darwin sdks

parent 8a06f7a8
Loading
Loading
Loading
Loading
+2 −13
Original line number Diff line number Diff line
@@ -5,11 +5,9 @@
  rustPlatform,
  installShellFiles,
  cmake,
  writableTmpDirAsHomeHook,
  git,
  nixosTests,
  Security,
  Foundation,
  Cocoa,
  buildPackages,
}:

@@ -29,16 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    cmake
  ];

  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
    Security
    Foundation
    Cocoa
  ];

  NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
    "-framework"
    "AppKit"
  ];
  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ writableTmpDirAsHomeHook ];

  # tries to access HOME only in aarch64-darwin environment when building mac-notification-sys
  preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
+1 −3
Original line number Diff line number Diff line
@@ -13609,9 +13609,7 @@ with pkgs;
    version = "4.300";
  };
  starship = callPackage ../tools/misc/starship {
    inherit (darwin.apple_sdk.frameworks) Security Foundation Cocoa;
  };
  starship = callPackage ../tools/misc/starship { };
  inherit (callPackages ../data/fonts/gdouros { })
    aegan