server: install rocksky as system package wrapper
This commit is contained in:
@@ -64,6 +64,7 @@
|
|||||||
bun
|
bun
|
||||||
nodejs
|
nodejs
|
||||||
node-gyp
|
node-gyp
|
||||||
|
(pkgs.callPackage ./slop/rocksky-cli.nix { })
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.ocbwoy3 = {
|
users.users.ocbwoy3 = {
|
||||||
|
|||||||
9
hosts/server/slop/rocksky-cli.nix
Normal file
9
hosts/server/slop/rocksky-cli.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
pkgs.writeShellApplication {
|
||||||
|
name = "rocksky";
|
||||||
|
runtimeInputs = [ pkgs.bun ];
|
||||||
|
text = ''
|
||||||
|
exec ${pkgs.bun}/bin/bun x @rocksky/cli "$@"
|
||||||
|
'';
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user