mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
cinny-desktop: override cinny dependency with hashRouter
This commit is contained in:
parent
237b25b556
commit
ce84b361b5
@ -37,7 +37,11 @@ rustPlatform.buildRustPackage rec {
|
||||
postPatch = let
|
||||
cinny' =
|
||||
assert lib.assertMsg (cinny.version == version) "cinny.version (${cinny.version}) != cinny-desktop.version (${version})";
|
||||
cinny;
|
||||
cinny.override {
|
||||
conf = {
|
||||
hashRouter.enabled = true;
|
||||
};
|
||||
};
|
||||
in ''
|
||||
substituteInPlace tauri.conf.json \
|
||||
--replace '"distDir": "../cinny/dist",' '"distDir": "${cinny'}",'
|
||||
|
Loading…
Reference in New Issue
Block a user