Merge pull request #268511 from otavio/fix-darwin-rio
rio: fix Darwin build and move cmake to Linux nativeBuildInputs
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
let
|
||||
rlinkLibs = if stdenv.isDarwin then [
|
||||
darwin.libobjc
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||
] else [
|
||||
(lib.getLib gcc-unwrapped)
|
||||
fontconfig
|
||||
@@ -62,8 +62,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
ncurses
|
||||
cmake
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
cmake
|
||||
pkg-config
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user