From ac80b59fb9f0123e555933bf737a15db13e912b5 Mon Sep 17 00:00:00 2001 From: Daru Date: Tue, 29 Jul 2025 20:28:22 +0200 Subject: [PATCH] nix-index: add missing `command-not-found.nu` file in $out/etc/profile.d --- pkgs/tools/package-management/nix-index/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/package-management/nix-index/default.nix b/pkgs/tools/package-management/nix-index/default.nix index 6ec589774219..36aba06ad9e3 100644 --- a/pkgs/tools/package-management/nix-index/default.nix +++ b/pkgs/tools/package-management/nix-index/default.nix @@ -32,6 +32,9 @@ rustPlatform.buildRustPackage rec { substituteInPlace command-not-found.sh \ --subst-var out install -Dm555 command-not-found.sh -t $out/etc/profile.d + substituteInPlace command-not-found.nu \ + --subst-var out + install -Dm555 command-not-found.nu -t $out/etc/profile.d ''; meta = with lib; {