mirror of
https://github.com/roc-lang/roc.git
synced 2024-08-17 06:41:22 +03:00
Only install glibc_multi on Linux
Mac OS does not support it
This commit is contained in:
parent
19d56fa7d4
commit
b9281bd181
@ -17,6 +17,7 @@ let
|
||||
|
||||
linuxInputs = with pkgs;
|
||||
lib.optionals stdenv.isLinux [
|
||||
glibc_multi
|
||||
valgrind
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
@ -49,7 +50,6 @@ let
|
||||
zig
|
||||
|
||||
# lib deps
|
||||
glibc_multi
|
||||
llvmPkgs.libcxx
|
||||
llvmPkgs.libcxxabi
|
||||
libffi
|
||||
@ -73,7 +73,8 @@ in pkgs.mkShell {
|
||||
|
||||
# Additional Env vars
|
||||
LLVM_SYS_120_PREFIX = "${llvmPkgs.llvm.dev}";
|
||||
NIXOS_GLIBC_PATH = "${pkgs.glibc_multi.out}/lib";
|
||||
NIXOS_GLIBC_PATH =
|
||||
if pkgs.stdenv.isLinux then "${pkgs.glibc_multi.out}/lib" else "";
|
||||
LD_LIBRARY_PATH = with pkgs;
|
||||
lib.makeLibraryPath ([
|
||||
pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user