add nix run for generate-v8-deps

This commit is contained in:
Muki Kiboigo committed 2026-10-26 10:26:34 -07:00
1 parent eff987b5fd
commit de4657c873
2 files changed
+22 -1

No files matched your search

+21
View File
@@ -112,6 +112,27 @@
inherit lightpanda;
default = lightpanda;
};
apps = {
generate-v8-deps = {
type = "app";
program = "${pkgs.writeShellScript "generate-v8-deps" ''
export PATH="${
pkgs.lib.makeBinPath [
pkgs.curl
pkgs.gnused
pkgs.coreutils
pkgs.gawk
pkgs.nix
]
}:$PATH"
export SSL_CERT_FILE="${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
exec bash ${./nix/update-v8-deps.sh} "$PWD"
''}";
};
};
}
);
}
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
cd "${1:-"$(dirname "${BASH_SOURCE[0]}")/.."}"
ACTION=.github/actions/install/action.yml
OUT=nix/v8-deps.nix