add linux desktop deps
This commit is contained in:
parent
f6614f06e7
commit
c5181892ee
33
flake.nix
33
flake.nix
|
@ -24,10 +24,37 @@
|
||||||
devShells.default = with pkgs;
|
devShells.default = with pkgs;
|
||||||
let
|
let
|
||||||
vscodeCustom = pkgs.vscode-with-extensions.override {
|
vscodeCustom = pkgs.vscode-with-extensions.override {
|
||||||
vscodeExtensions = with pkgs.vscode-extensions;
|
vscodeExtensions = with pkgs.vscode-extensions; [
|
||||||
[ dart-code.flutter bbenoist.nix brettm12345.nixfmt-vscode ];
|
# Flutter
|
||||||
|
dart-code.dart-code
|
||||||
|
dart-code.flutter
|
||||||
|
|
||||||
|
# Nix
|
||||||
|
bbenoist.nix
|
||||||
|
brettm12345.nixfmt-vscode
|
||||||
|
];
|
||||||
|
};
|
||||||
|
in mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
just
|
||||||
|
flutter
|
||||||
|
vscodeCustom
|
||||||
|
|
||||||
|
# Linux toolchain
|
||||||
|
clang_15
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gtk3
|
||||||
|
pcre
|
||||||
|
libepoxy
|
||||||
|
];
|
||||||
|
|
||||||
|
# see: https://discourse.nixos.org/t/flutter-run-d-linux-build-process-failed/16552/2
|
||||||
|
shellHook = ''
|
||||||
|
export LD_LIBRARY_PATH=${libepoxy}/lib
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
in mkShell { buildInputs = [ just flutter vscodeCustom ]; };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue