mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-28 16:45:23 +08:00
add nix run for generate-v8-deps
This commit is contained in:
2 files changed
+22
-1
No files matched your search
@@ -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,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
|
||||
|
||||
Reference in new issue
Block a user