Unverified Commit ce84b361 authored by Ryan Omasta's avatar Ryan Omasta
Browse files

cinny-desktop: override cinny dependency with hashRouter

parent 237b25b5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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'}",'