devices.xmuhk: add archive

This commit is contained in:
2025-12-22 19:03:41 +08:00
parent 37a5069c3a
commit 0211a71cfa

View File

@@ -59,11 +59,12 @@ let
trap cleanup SIGINT SIGTERM SIGHUP EXIT trap cleanup SIGINT SIGTERM SIGHUP EXIT
tail -f /dev/null tail -f /dev/null
''; '';
in pkgs.symlinkJoin xmuhk = pkgs.symlinkJoin
{ {
name = "xmuhk"; name = "xmuhk";
paths = (with pkgs; [ hello btop htop iotop pv localPackages.lumerical.lumerical.cmd ]) paths = (with pkgs; [ hello btop htop iotop pv localPackages.lumerical.lumerical.cmd ])
++ [ lumericalLicenseManager ]; ++ [ lumericalLicenseManager ];
postBuild = "echo ${inputs.self.rev or "dirty"} > $out/.version"; postBuild = "echo ${inputs.self.rev or "dirty"} > $out/.version";
passthru = { inherit pkgs; }; passthru = { inherit pkgs; archive = pkgs.closureInfo { rootPaths = [ xmuhk.drvPath ]; }; };
} };
in xmuhk