fastfetch: fix fish completions

This commit is contained in:
Lin Xianyi 2024-07-08 08:27:53 +08:00
parent 9e62220411
commit 669d7cfa7e

View File

@ -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}"