@@ -86339,15 +86339,20 @@ var __webpack_exports__ = {};
8633986339var core = __nccwpck_require__(16966);
8634086340// EXTERNAL MODULE: ./node_modules/.pnpm/@
[email protected] /node_modules/@actions/exec/lib/exec.js
8634186341var exec = __nccwpck_require__(92851);
86342- ;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+0e3d1accf3c5d_aa38a39e788116141d1cc07d19597dcf /node_modules/detsys-ts/dist/chunk-Bp6m_JJh.js
86342+ ;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+437297ec87a5c_f77ae93d0b8e94959106721d1a5ddd76 /node_modules/detsys-ts/dist/chunk-C6wwvPpM.mjs
8634386343//#region rolldown:runtime
8634486344var __defProp = Object.defineProperty;
86345- var __export = (all) => {
86345+ var __export = (all, symbols ) => {
8634686346 let target = {};
86347- for (var name in all) __defProp(target, name, {
86348- get: all[name],
86349- enumerable: true
86350- });
86347+ for (var name in all) {
86348+ __defProp(target, name, {
86349+ get: all[name],
86350+ enumerable: true
86351+ });
86352+ }
86353+ if (symbols) {
86354+ __defProp(target, Symbol.toStringTag, { value: "Module" });
86355+ }
8635186356 return target;
8635286357};
8635386358
@@ -95467,7 +95472,7 @@ var cache = __nccwpck_require__(31866);
9546795472const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process");
9546895473;// CONCATENATED MODULE: external "node:path"
9546995474const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:path");
95470- ;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+0e3d1accf3c5d_aa38a39e788116141d1cc07d19597dcf /node_modules/detsys-ts/dist/index.js
95475+ ;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+437297ec87a5c_f77ae93d0b8e94959106721d1a5ddd76 /node_modules/detsys-ts/dist/index.mjs
9547195476
9547295477
9547395478
@@ -95487,6 +95492,16 @@ const external_node_path_namespaceObject = __WEBPACK_EXTERNAL_createRequire(impo
9548795492
9548895493
9548995494//#region src/linux-release-info.ts
95495+ /*!
95496+ * linux-release-info
95497+ * Get Linux release info (distribution name, version, arch, release, etc.)
95498+ * from '/etc/os-release' or '/usr/lib/os-release' files and from native os
95499+ * module. On Windows and Darwin platforms it only returns common node os module
95500+ * info (platform, hostname, release, and arch)
95501+ *
95502+ * Licensed under MIT
95503+ * Copyright (c) 2018-2020 [Samuel Carreira]
95504+ */
9549095505const readFileAsync = (0,external_node_util_.promisify)(external_node_fs_.readFile);
9549195506const linuxReleaseInfoOptionsDefaults = {
9549295507 mode: "async",
@@ -95695,6 +95710,10 @@ function stringifyError(e) {
9569595710
9569695711//#endregion
9569795712//#region src/backtrace.ts
95713+ /**
95714+ * @packageDocumentation
95715+ * Collects backtraces for executables for diagnostics
95716+ */
9569895717const START_SLOP_SECONDS = 5;
9569995718async function collectBacktraces(prefixes, programNameDenyList, startTimestampMs) {
9570095719 if (isMacOS) return await collectBacktracesMacOS(prefixes, programNameDenyList, startTimestampMs);
@@ -95875,6 +95894,10 @@ function hashEnvironmentVariables(prefix, variables) {
9587595894
9587695895//#endregion
9587795896//#region src/ids-host.ts
95897+ /**
95898+ * @packageDocumentation
95899+ * Identifies and discovers backend servers for install.determinate.systems
95900+ */
9587895901const DEFAULT_LOOKUP = "_detsys_ids._tcp.install.determinate.systems.";
9587995902const ALLOWED_SUFFIXES = [".install.determinate.systems", ".install.detsys.dev"];
9588095903const DEFAULT_IDS_HOST = "https://install.determinate.systems";
@@ -96036,6 +96059,10 @@ function weightedRandom(records) {
9603696059
9603796060//#endregion
9603896061//#region src/inputs.ts
96062+ /**
96063+ * @packageDocumentation
96064+ * Helpers for getting values from an Action's configuration.
96065+ */
9603996066var inputs_exports = /* @__PURE__ */ __export({
9604096067 getArrayOfStrings: () => getArrayOfStrings,
9604196068 getArrayOfStringsOrNull: () => getArrayOfStringsOrNull,
@@ -96123,6 +96150,10 @@ const getStringOrUndefined = (name) => {
9612396150
9612496151//#endregion
9612596152//#region src/platform.ts
96153+ /**
96154+ * @packageDocumentation
96155+ * Helpers for determining system attributes of the current runner.
96156+ */
9612696157var platform_exports = /* @__PURE__ */ __export({
9612796158 getArchOs: () => getArchOs,
9612896159 getNixPlatform: () => getNixPlatform
@@ -96183,6 +96214,10 @@ function noisilyGetInput(suffix, legacyPrefix) {
9618396214
9618496215//#endregion
9618596216//#region src/index.ts
96217+ /**
96218+ * @packageDocumentation
96219+ * Determinate Systems' TypeScript library for creating GitHub Actions logic.
96220+ */
9618696221const pkgVersion = "1.0";
9618796222const EVENT_BACKTRACES = "backtrace";
9618896223const EVENT_EXCEPTION = "exception";
@@ -96218,7 +96253,7 @@ const PROGRAM_NAME_CRASH_DENY_LIST = [
9621896253];
9621996254const determinateStateDir = "/var/lib/determinate";
9622096255const determinateIdentityFile = external_node_path_namespaceObject.join(determinateStateDir, "identity.json");
96221- const isRoot = external_node_os_.userInfo().uid === 0;
96256+ const isRoot = typeof process.geteuid === "function" && process.geteuid() === 0;
9622296257/** Create the Determinate state directory by escalating via sudo */
9622396258async function sudoEnsureDeterminateStateDir() {
9622496259 const code = await exec.exec("sudo", [
@@ -96815,7 +96850,7 @@ function makeOptionsConfident(actionOptions) {
9681596850
9681696851//#endregion
9681796852
96818- //# sourceMappingURL=index.js .map
96853+ //# sourceMappingURL=index.mjs .map
9681996854;// CONCATENATED MODULE: ./dist/index.js
9682096855// src/nix.ts
9682196856function makeNixCommandArgs(nixOptions, flakeInputs, commitMessage) {
0 commit comments