Skip to content
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

How to build tauri with naersk? #319

Open
Septias opened this issue Nov 29, 2023 · 1 comment
Open

How to build tauri with naersk? #319

Septias opened this issue Nov 29, 2023 · 1 comment

Comments

@Septias
Copy link

Septias commented Nov 29, 2023

When I use substituteInPlace tauri.conf.json --replace '"distDir": "../dist",' '"distDir": "dist",' in postPatch, the build fails.
This is because the file tauri.config.json doesn't exist, only [Cargo.lock, Cargo.toml, build.rs, src] exists.
It is somewhat suspicious, that only the files needed to build a normal rust package are kept, which is why I suspect nearsk instead of a bug in substituteInPlace.

@Septias
Copy link
Author

Septias commented Jan 1, 2024

Should I also report this to nixpkgs, in case it actually is a problem with substituteInPlace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant