From 644a5ec03cfad0da8d413b444926b35cd705780d Mon Sep 17 00:00:00 2001 From: traxys Date: Sun, 7 May 2023 18:21:59 +0200 Subject: [PATCH] templates: Upadet rust template for documentation path --- templates/rust/flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/rust/flake.nix b/templates/rust/flake.nix index 6c4139d..e58b9e7 100644 --- a/templates/rust/flake.nix +++ b/templates/rust/flake.nix @@ -26,9 +26,7 @@ devShell = pkgs.mkShell { nativeBuildInputs = [rust]; RUST_PATH = "${rust}"; - shellHook = '' - alias rstddoc="firefox ${rust}/share/doc/rust/html/std/index.html" - ''; + RUST_DOC_PATH = "${rust}/share/doc/rust/html/std/index.html"; }; defaultPackage = naersk'.buildPackage ./.;