From d9a56b3e0008695945c98d46ca0c2670458951a1 Mon Sep 17 00:00:00 2001 From: rambip Date: Wed, 8 Nov 2023 17:33:06 +0100 Subject: [PATCH] fixed url from leptos to yew --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index bacc244..34afc7e 100644 --- a/flake.nix +++ b/flake.nix @@ -65,12 +65,12 @@ buildExample = name: craneLib.buildTrunkPackage { inherit CARGO_BUILD_TARGET cargoArtifacts; src = fullSrc; - pname = "leptos-markdown-${name}"; + pname = "yew-markdown-${name}"; trunkIndexPath = "examples/${name}/index.html"; cargoExtraArgs = "--package=./examples/${name}"; # RELATIVE URLS are a MESS # https://github.com/thedodd/trunk/pull/470 - trunkExtraBuildArgs = "--public-url=/leptos-markdown/${name}"; + trunkExtraBuildArgs = "--public-url=/yew-markdown/${name}"; nativeBuildInputs = [ (pkgs.wasm-bindgen-cli.override { @@ -90,7 +90,7 @@ { checks = {}; packages = examples // { - default = pkgs.linkFarm "leptos-markdown examples" attr_examples; + default = pkgs.linkFarm "yew-markdown examples" attr_examples; }; devShells.default = pkgs.mkShell {