mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01: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>
13 lines
278 B
Nix
13 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";
|
|
};
|
|
})
|