forked from Nexus/nexus
only include wayland in devshell on macos
This commit is contained in:
parent
b2813a0eb5
commit
e8b90591d5
1 changed files with 16 additions and 14 deletions
|
|
@ -18,12 +18,13 @@ let
|
|||
};
|
||||
in
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
go
|
||||
git
|
||||
jdk17
|
||||
libGL
|
||||
wayland
|
||||
(flutter.override {
|
||||
extraPkgConfigPackages = [
|
||||
mpv-unwrapped
|
||||
|
|
@ -31,7 +32,8 @@ pkgs.mkShell {
|
|||
];
|
||||
})
|
||||
android.platform-tools
|
||||
];
|
||||
]
|
||||
++ lib.optional pkgs.stdenv.isLinux wayland;
|
||||
|
||||
env = rec {
|
||||
LIBCLANG_PATH = lib.makeLibraryPath [ pkgs.libclang ];
|
||||
|
|
|
|||
Loading…
Reference in a new issue