From 0211a71cfa58cb70646cafb08900c00bd133bb5a Mon Sep 17 00:00:00 2001 From: Haonan Chen Date: Mon, 22 Dec 2025 19:03:41 +0800 Subject: [PATCH] devices.xmuhk: add archive --- devices/xmuhk/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/devices/xmuhk/default.nix b/devices/xmuhk/default.nix index 1b8ff9f6..4ba3d63e 100644 --- a/devices/xmuhk/default.nix +++ b/devices/xmuhk/default.nix @@ -59,11 +59,12 @@ let trap cleanup SIGINT SIGTERM SIGHUP EXIT tail -f /dev/null ''; -in pkgs.symlinkJoin -{ - name = "xmuhk"; - paths = (with pkgs; [ hello btop htop iotop pv localPackages.lumerical.lumerical.cmd ]) - ++ [ lumericalLicenseManager ]; - postBuild = "echo ${inputs.self.rev or "dirty"} > $out/.version"; - passthru = { inherit pkgs; }; -} + xmuhk = pkgs.symlinkJoin + { + name = "xmuhk"; + paths = (with pkgs; [ hello btop htop iotop pv localPackages.lumerical.lumerical.cmd ]) + ++ [ lumericalLicenseManager ]; + postBuild = "echo ${inputs.self.rev or "dirty"} > $out/.version"; + passthru = { inherit pkgs; archive = pkgs.closureInfo { rootPaths = [ xmuhk.drvPath ]; }; }; + }; +in xmuhk