We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5024e19 commit ec3a199Copy full SHA for ec3a199
nix-index-wrapper.nix
@@ -17,10 +17,16 @@ symlinkJoin {
17
18
mkdir -p $out/etc/profile.d
19
rm -f "$out/etc/profile.d/command-not-found.sh"
20
+ rm -f "$out/etc/profile.d/command-not-found.nu"
21
substitute \
22
"${nix-index-unwrapped}/etc/profile.d/command-not-found.sh" \
23
"$out/etc/profile.d/command-not-found.sh" \
24
--replace-fail "${nix-index-unwrapped}" "$out"
25
+
26
+ substitute \
27
+ "${nix-index-unwrapped}/etc/profile.d/command-not-found.nu" \
28
+ "$out/etc/profile.d/command-not-found.nu" \
29
+ --replace-fail "${nix-index-unwrapped}" "$out"
30
'';
31
32
meta.mainProgram = "nix-locate";
0 commit comments