mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #321426 from ifd3f/caligula/mark-nonbroken-darwin
caligula: mark darwin as no longer broken
This commit is contained in:
commit
0445f6f541
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, llvmPackages
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
@ -18,6 +19,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
|
||||
|
||||
env = {
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (
|
||||
with darwin.apple_sdk.frameworks; [
|
||||
Cocoa
|
||||
@ -35,8 +41,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ ifd3f sodiboo ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
# https://github.com/ifd3f/caligula/issues/105
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
mainProgram = "caligula";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user