mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:55:22 +08:00
devices.xmuhk: add archive
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user