Fix nix shell (#22091)
Add back necessary packages for linux user from https://github.com/zed-industries/zed/pull/21075/files#diff-dd972f906c9914eb70fae1db9cf66baa653e6b643bbdedeaa0070939abc3fb56L20-L22 Release Notes: - N/A
This commit is contained in:
parent
410b4bded1
commit
2ba91609c9
2 changed files with 29 additions and 22 deletions
|
@ -5,16 +5,20 @@ let
|
|||
inherit (pkgs) lib;
|
||||
in
|
||||
pkgs.mkShell rec {
|
||||
packages = [
|
||||
pkgs.clang
|
||||
pkgs.curl
|
||||
pkgs.cmake
|
||||
pkgs.perl
|
||||
pkgs.pkg-config
|
||||
pkgs.protobuf
|
||||
pkgs.rustPlatform.bindgenHook
|
||||
pkgs.rust-analyzer
|
||||
];
|
||||
packages =
|
||||
[
|
||||
pkgs.clang
|
||||
pkgs.curl
|
||||
pkgs.cmake
|
||||
pkgs.perl
|
||||
pkgs.pkg-config
|
||||
pkgs.protobuf
|
||||
pkgs.rustPlatform.bindgenHook
|
||||
pkgs.rust-analyzer
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
pkgs.mold
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
|
@ -31,6 +35,9 @@ pkgs.mkShell rec {
|
|||
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
|
||||
pkgs.alsa-lib
|
||||
pkgs.libxkbcommon
|
||||
pkgs.wayland
|
||||
pkgs.xorg.libxcb
|
||||
pkgs.vulkan-loader
|
||||
]
|
||||
++ lib.optional pkgs.stdenv.hostPlatform.isDarwin pkgs.apple-sdk_15;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue