clash-verge: use clash and clash-meta from nixpkgs
This commit is contained in:
parent
b976e947e1
commit
a709181137
|
@ -4,6 +4,8 @@
|
|||
, dpkg
|
||||
, wrapGAppsHook
|
||||
, autoPatchelfHook
|
||||
, clash
|
||||
, clash-meta
|
||||
, openssl
|
||||
, webkitgtk
|
||||
, udev
|
||||
|
@ -41,10 +43,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
mkdir -p $out/bin
|
||||
mv usr/* $out
|
||||
rm $out/bin/{clash,clash-meta}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
ln -s ${lib.getExe clash} $out/bin/clash
|
||||
ln -s ${lib.getExe clash-meta} $out/bin/clash-meta
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Clash GUI based on tauri";
|
||||
homepage = "https://github.com/zzzgydi/clash-verge";
|
||||
|
|
Loading…
Reference in a new issue