27 lines
524 B
Nix
27 lines
524 B
Nix
{ pkgs }:
|
|
pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
cairo
|
|
pkg-config
|
|
libxkbcommon
|
|
gtk-layer-shell
|
|
|
|
cargo
|
|
rustfmt
|
|
flutter_rust_bridge_codegen
|
|
(pkgs.writeShellScriptBin "rustup" (builtins.readFile ./fake-rustup.sh))
|
|
|
|
(flutter.override {
|
|
extraPkgConfigPackages = [
|
|
gtk-layer-shell
|
|
];
|
|
})
|
|
];
|
|
|
|
RUST_BACKTRACE = 1;
|
|
LD_LIBRARY_PATH =
|
|
let
|
|
plugins = "./build/linux/x64/debug/plugins";
|
|
in
|
|
"${plugins}/wayland_layer_shell:${plugins}/rust_lib_flight";
|
|
}
|