Desktop: Drag and drop file to open/import functionality (#3035)

* Desktop app add drop file functionality

* Add x11 libs to flake

* Restructure extension matching to remove nesting

---------

Co-authored-by: Dennis Kobert <dennis@kobert.dev>
This commit is contained in:
Timon
2025-08-11 11:48:10 +00:00
committed by GitHub
co-authored by Dennis Kobert
parent 8d0c9d7b81
commit fa2167dd7f
5 changed files with 85 additions and 4 deletions
+7 -1
View File
@@ -33,7 +33,7 @@
pkgs = import nixpkgs {
inherit system overlays;
};
rustc-wasm = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-unknown-unknown" ];
extensions = [ "rust-src" "rust-analyzer" "clippy" "cargo" ];
@@ -75,6 +75,12 @@
vulkan-loader
libraw
libGL
# X11 libraries, not needed on wayland! Remove when x11 is finally dead
libxkbcommon
xorg.libXcursor
xorg.libxcb
xorg.libX11
];
# Development tools that don't need to be in LD_LIBRARY_PATH