From 19345f76576623951d61b83dc3435628a0b48f65 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 2 Jul 2023 20:21:10 +0200 Subject: [PATCH] Fix some issues in Nix flake --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 437936bd..464ed23a 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,7 @@ inherit ((importTOML ./Cargo.toml).workspace.package) version; src = sourceByRegex ./. [ - "(assets|cli|docs|library|macros|src|tests)(/.*)?" + "(assets|crates|tests)(/.*)?" ''Cargo\.(toml|lock)'' ''build\.rs'' ]; @@ -57,10 +57,10 @@ ]; postInstall = '' - installManPage cli/artifacts/*.1 + installManPage crates/typst-cli/artifacts/*.1 installShellCompletion \ - cli/artifacts/typst.{bash,fish} \ - --zsh cli/artifacts/_typst + crates/typst-cli/artifacts/typst.{bash,fish} \ + --zsh crates/typst-cli/artifacts/_typst ''; GEN_ARTIFACTS = "artifacts";