-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building with a flake on NixOS #52
Comments
This appears to be a dependency of nfd-zig, which is used for opening native file dialogs. pixi/src/deps/nfd-zig/build.zig Line 45 in ce3f3c6
Probably the 'correct' solution to this would be to make a better native file dialog library in Zig which uses dlopen or similar to get access to these functions at runtime, rather than linking dynamically to that library. At some point I want Mach itself to provide something like this. As for fixing the nixos build, maybe @Cloudef would have an idea for how to do that - but I'm unsure myself how you would go about getting those libraries into the nix build. |
Hello, I answered similar question here: Basically: env = mach-flake.outputs.mach-env.${system} {
customRuntimeDeps = with pkgs; [ pkg-config ];
customRuntimeLibs = with pkgs; [ atk ];
}; If you also plan to package using mach-flake, then you need to also add these into |
@slimsag You might be interested in https://flatpak.github.io/xdg-desktop-portal/ https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.FileChooser.html |
I've used Cloudef/mach-flake to set up an env to build
pixi
, and I get this error when trying to build:Anyone have any experience here? Thanks so much
The text was updated successfully, but these errors were encountered: