mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
3f9f279cef
* 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>
14 lines
278 B
Nix
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";
|
|
};
|
|
})
|