about summary refs log tree commit diff
path: root/pkgs/by-name/fa
diff options
context:
space:
mode:
authorLin Xianyi2024-07-08 08:27:53 +0800
committerLin Xianyi2024-07-08 08:27:53 +0800
commit669d7cfa7e0ec8bfb64bb8b2245f902575d4929c (patch)
treec1aa09777a1ef846990059d014a966a6095f574a /pkgs/by-name/fa
parent9e62220411498dc4dc149264553fa8561f954452 (diff)
fastfetch: fix fish completions
Diffstat (limited to 'pkgs/by-name/fa')
-rw-r--r--pkgs/by-name/fa/fastfetch/package.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/by-name/fa/fastfetch/package.nix b/pkgs/by-name/fa/fastfetch/package.nix
index 47904df25d61..21d39e1817bd 100644
--- a/pkgs/by-name/fa/fastfetch/package.nix
+++ b/pkgs/by-name/fa/fastfetch/package.nix
@@ -139,6 +139,10 @@ stdenv'.mkDerivation (finalAttrs: {
     (lib.cmakeOptionType "filepath" "CUSTOM_AMDGPU_IDS_PATH" "${libdrm}/share/libdrm/amdgpu.ids")
   ];
 
+  postPatch = ''
+    substituteInPlace completions/fastfetch.fish --replace-fail python3 '${python3.interpreter}'
+  '';
+
   postInstall = ''
     wrapProgram $out/bin/fastfetch \
       --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"