add hjq scroll

This commit is contained in:
EatThePooh 2025-08-02 02:17:27 +07:00
parent 701e5d138a
commit d92bc3b437
4 changed files with 54 additions and 20 deletions

View file

@ -19,11 +19,16 @@
in "${arch}-${vendor}-${sys}";
target = toDenoTarget system;
hjq = import ./shelf/hjq/package.nix {
inherit pkgs;
inherit target;
};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
deno
hjq
];
shellHook = ''
@ -37,20 +42,7 @@
# unfortunately this derivation is impure because
# managing deno's deps is HARD, so
# nix build --option sanbox relaxed
packages.default = import ./package.nix {
inherit pkgs;
inherit target;
name = "test-grimu-r-deno-app";
};
apps.default = {
type = "app";
program = toString (pkgs.writeShellScript "run-deno-app" ''
export DENO_DIR="./.deno_cache"
exec ${pkgs.deno}/bin/deno run main.ts "$@"
'');
};
packages.default = hjq;
});
}