From 350947e1d4233d55d9a3427fa4dfb07d92ec4bb5 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 16 Jan 2024 10:29:31 +0800 Subject: [PATCH] metacubexd: cleanup --- pkgs/metacubexd/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/metacubexd/default.nix b/pkgs/metacubexd/default.nix index 7bcb58b..e8b5be8 100644 --- a/pkgs/metacubexd/default.nix +++ b/pkgs/metacubexd/default.nix @@ -6,10 +6,15 @@ stdenvNoCC.mkDerivation rec { pname = "metacubexd"; version = "1.134.0"; + src = fetchurl { url = "https://github.com/MetaCubeX/metacubexd/releases/download/v${version}/compressed-dist.tgz"; hash = "sha256-Xx2UReUAxHg4CrKqGs9vGmWRsosJE1OqnYSmp2wOC9M="; }; + + dontConfigure = true; + dontBuild = true; + sourceRoot = "."; installPhase = '' mkdir -p $out @@ -20,5 +25,6 @@ stdenvNoCC.mkDerivation rec { description = "Clash.Meta Dashboard, The Official One, XD"; homepage = "https://github.com/MetaCubeX/metacubexd"; license = licenses.mit; + platforms = platforms.all; }; }