1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

shell.nix: adding darwin frameworks

removing pytest-random-order until it hits upstrean
This commit is contained in:
Marek Mahut 2019-09-03 20:53:58 +02:00 committed by Tomas Susanka
parent 8e3f3fa7d3
commit bd41ec0b29

View File

@ -9,7 +9,6 @@ stdenv.mkDerivation {
check
clang-tools
gcc
gcc-arm-embedded
gnumake
graphviz
libusb1
@ -20,6 +19,20 @@ stdenv.mkDerivation {
scons
valgrind
zlib
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
gcc-arm-embedded
] ++ stdenv.lib.optionals (stdenv.isDarwin) [
darwin.apple_sdk.frameworks.CoreAudio
darwin.apple_sdk.frameworks.AudioToolbox
darwin.apple_sdk.frameworks.ForceFeedback
darwin.apple_sdk.frameworks.CoreVideo
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.Carbon
darwin.apple_sdk.frameworks.IOKit
darwin.apple_sdk.frameworks.QuartzCore
darwin.apple_sdk.frameworks.Metal
darwin.libobjc
libiconv
];
LD_LIBRARY_PATH="${libusb1}/lib";
shellHook = ''