mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
make mold and vulkan-loader to linux-only
This commit is contained in:
parent
5a0ceff6c3
commit
c8a3e1b2d7
1 changed files with 4 additions and 2 deletions
|
@ -7,7 +7,6 @@ in
|
|||
pkgs.mkShell rec {
|
||||
packages = [
|
||||
pkgs.clang
|
||||
pkgs.mold
|
||||
pkgs.curl
|
||||
pkgs.cmake
|
||||
pkgs.perl
|
||||
|
@ -15,6 +14,9 @@ pkgs.mkShell rec {
|
|||
pkgs.protobuf
|
||||
pkgs.rustPlatform.bindgenHook
|
||||
pkgs.rust-analyzer
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
pkgs.mold
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
|
@ -27,7 +29,6 @@ pkgs.mkShell rec {
|
|||
pkgs.sqlite
|
||||
pkgs.zlib
|
||||
pkgs.zstd
|
||||
pkgs.vulkan-loader
|
||||
pkgs.rustToolchain
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
|
@ -35,6 +36,7 @@ pkgs.mkShell rec {
|
|||
pkgs.libxkbcommon
|
||||
pkgs.wayland
|
||||
pkgs.xorg.libxcb
|
||||
pkgs.vulkan-loader
|
||||
]
|
||||
++ lib.optional pkgs.stdenv.hostPlatform.isDarwin pkgs.apple-sdk_15;
|
||||
|
||||
|
|
Loading…
Reference in a new issue