From e54c44ceb8c7353d2dac1304f11f37fb8cca1a96 Mon Sep 17 00:00:00 2001 From: Sander Date: Fri, 12 Jan 2024 02:19:13 +0000 Subject: [PATCH] daemon: drop latest daemon installer --- dist/main/index.js | 13 ------------- src/main.ts | 15 --------------- 2 files changed, 28 deletions(-) diff --git a/dist/main/index.js b/dist/main/index.js index cfb0f1f9..989b7c95 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -7756,19 +7756,6 @@ async function setup() { if (cachixBin !== "") { core.debug(`Using Cachix executable from input: ${cachixBin}`); } - else if (useDaemon) { - // TODO: remove once stable and the daemon has been released - cachixBin = await execToVariable('nix', [ - 'build', - '--show-trace', - '--print-out-paths', - '--accept-flake-config', - '--extra-experimental-features', - 'nix-command flakes', - 'github:cachix/cachix/feature/daemon', - ]).then((storePath) => `${storePath.trimEnd()}/bin/cachix`); - core.info(`Daemon mode is enabled. Using the latest Cachix executable from github:cachix/cachix/feature/daemon: ${cachixBin}`); - } else { // Find the Cachix executable in PATH let resolvedCachixBin = which_1.default.sync('cachix', { nothrow: true }); diff --git a/src/main.ts b/src/main.ts index 0d5f6f18..5b6c22fa 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,21 +33,6 @@ async function setup() { if (cachixBin !== "") { core.debug(`Using Cachix executable from input: ${cachixBin}`); - } else if (useDaemon) { - // TODO: remove once stable and the daemon has been released - cachixBin = await execToVariable( - 'nix', - [ - 'build', - '--show-trace', - '--print-out-paths', - '--accept-flake-config', - '--extra-experimental-features', - 'nix-command flakes', - 'github:cachix/cachix/feature/daemon', - ], - ).then((storePath) => `${storePath.trimEnd()}/bin/cachix`); - core.info(`Daemon mode is enabled. Using the latest Cachix executable from github:cachix/cachix/feature/daemon: ${cachixBin}`); } else { // Find the Cachix executable in PATH let resolvedCachixBin = which.sync('cachix', { nothrow: true });