mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
rio: fix darwin build by providing libutil
https://hydra.nixos.org/build/276908293
This commit is contained in:
parent
577c9affbf
commit
254bf2a34b
@ -31,13 +31,7 @@
|
||||
, rio
|
||||
}:
|
||||
let
|
||||
rlinkLibs = if stdenv.hostPlatform.isDarwin then [
|
||||
darwin.libobjc
|
||||
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||
darwin.apple_sdk_11_0.frameworks.AVFoundation
|
||||
darwin.apple_sdk_11_0.frameworks.MetalKit
|
||||
darwin.apple_sdk_11_0.frameworks.Vision
|
||||
] else [
|
||||
rlinkLibs = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
(lib.getLib gcc-unwrapped)
|
||||
fontconfig
|
||||
libGL
|
||||
@ -76,7 +70,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
runtimeDependencies = rlinkLibs;
|
||||
|
||||
buildInputs = rlinkLibs;
|
||||
buildInputs = rlinkLibs ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.libutil
|
||||
];
|
||||
|
||||
outputs = [ "out" "terminfo" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user