From ace404d276d36c32c305067bdcf276ceab94f471 Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Mon, 21 Sep 2026 09:09:48 +0300 Subject: [PATCH] flake: install nushell completions into vendor autoload --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 48d6b40..5a17293 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,9 @@ subPackages = [ "." ]; ldflags = [ "-s" "-w" "-X tobi/internal/remote.Version=${rev}" ]; nativeBuildInputs = [ pkgs.zstd ]; + postInstall = '' + install -Dm644 contrib/tobi.nu $out/share/nushell/vendor/autoload/tobi.nu + ''; # cross-compile every carrier slice into a temp dir outside # internal/remote/payloads, so no slice can recursively embed the # slices of earlier loop iterations (same slices as -- knotmirror 0.0.1