nixpkgs/pkgs/by-name/cl/clash-meta/package.nix
oluceps 3f9f279cef
clash-meta: rename to mihomo (#271658)
* mihomo: rename from clash-meta

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>

* clash-meta: reinit at 1.8.1

---------

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2024-03-10 19:46:10 +01:00

14 lines
278 B
Nix

{ mihomo }:
mihomo.overrideAttrs (finalAttrs: previousAttrs: {
pname = "clash-meta";
postInstall = ''
mv $out/bin/${previousAttrs.meta.mainProgram} $out/bin/${finalAttrs.meta.mainProgram}
'';
meta = previousAttrs.meta // {
mainProgram = "clash-meta";
};
})