Skip to content

Commit

Permalink
daemon: drop latest daemon installer
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Jan 12, 2024
1 parent 3a94fae commit e54c44c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
13 changes: 0 additions & 13 deletions dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
15 changes: 0 additions & 15 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit e54c44c

Please sign in to comment.