From 89d1222b8fcfd2243e18b1d536c4a48ef7031b3c Mon Sep 17 00:00:00 2001 From: oluceps Date: Sun, 2 Oct 2022 18:20:26 +0800 Subject: [PATCH] rm: default.nix --- default.nix | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 default.nix diff --git a/default.nix b/default.nix deleted file mode 100755 index 7e9eb182..00000000 --- a/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, fetchFromGitHub -, buildGoModule -}: -buildGoModule rec { - pname = "clash-meta"; - version = "dev"; - src = ./.; - vendorSha256 = "sha256-7HjYcoqWA5gvPUc5psCgy0UTc17CBzBJ/OiGvII/iBA="; - - # Do not build testing suit - excludedPackages = [ "./test" ]; - - CGO_ENABLED = 0; - - ldflags = [ - "-s" - "-w" - "-X github.com/Dreamacro/clash/constant.Version=${version}" - ]; - - # network required - doCheck = false; - - postInstall = '' - mv $out/bin/clash $out/bin/clash-meta - ''; - - meta = with lib; { - description = "Another Clash Kernel"; - homepage = "https://github.com/MetaCubeX/Clash.Meta"; - license = licenses.gpl3Only; - }; -}