Merge pull request #325383 from iynaix/fastfetch-fix-fish-completion

fastfetch: fix fish completions
This commit is contained in:
Weijia Wang
2024-07-08 15:41:09 +02:00
committed by GitHub
+4
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}"