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
|
{ lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, llvmPackages
|
||||||
, stdenv
|
, stdenv
|
||||||
, darwin
|
, darwin
|
||||||
}:
|
}:
|
||||||
@ -18,6 +19,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
|
cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
|
||||||
|
|
||||||
|
env = {
|
||||||
|
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin (
|
buildInputs = lib.optionals stdenv.isDarwin (
|
||||||
with darwin.apple_sdk.frameworks; [
|
with darwin.apple_sdk.frameworks; [
|
||||||
Cocoa
|
Cocoa
|
||||||
@ -35,8 +41,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ ifd3f sodiboo ];
|
maintainers = with maintainers; [ ifd3f sodiboo ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
# https://github.com/ifd3f/caligula/issues/105
|
|
||||||
broken = stdenv.hostPlatform.isDarwin;
|
|
||||||
mainProgram = "caligula";
|
mainProgram = "caligula";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user