remove flutter impl
This commit is contained in:
parent
9d18f283d1
commit
847a11d293
51 changed files with 28 additions and 1379 deletions
45
flake.nix
45
flake.nix
|
@ -19,53 +19,30 @@
|
|||
perSystem = { pkgs, system, ... }: {
|
||||
_module.args.pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
# config.allowUnfree = true;
|
||||
};
|
||||
|
||||
devShells.default = with pkgs;
|
||||
let
|
||||
vscodeCustom = pkgs.vscode-with-extensions.override {
|
||||
vscodeExtensions = with pkgs.vscode-extensions; [
|
||||
# Flutter
|
||||
dart-code.dart-code
|
||||
dart-code.flutter
|
||||
|
||||
# Nix
|
||||
bbenoist.nix
|
||||
brettm12345.nixfmt-vscode
|
||||
];
|
||||
};
|
||||
in mkShell {
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
sqlite
|
||||
|
||||
# Dev tools
|
||||
just
|
||||
vscodeCustom
|
||||
|
||||
# Flutter
|
||||
flutter
|
||||
|
||||
# Linux toolchain
|
||||
clang_15
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
gtk3
|
||||
pcre
|
||||
libepoxy
|
||||
|
||||
# Zig / webAssembly impl.
|
||||
zig
|
||||
zls
|
||||
emscripten
|
||||
|
||||
# Tools
|
||||
nixfmt
|
||||
|
||||
# Linux graphical deps
|
||||
xorg.libX11
|
||||
libGL
|
||||
];
|
||||
|
||||
# see: https://discourse.nixos.org/t/flutter-run-d-linux-build-process-failed/16552/2
|
||||
shellHook = ''
|
||||
export LD_LIBRARY_PATH=${libepoxy}/lib
|
||||
'';
|
||||
};
|
||||
|
||||
formatter = pkgs.nixfmt;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue