Skip to content

Commit e54c44c

Browse files
committed
daemon: drop latest daemon installer
1 parent 3a94fae commit e54c44c

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

dist/main/index.js

-13
Original file line numberDiff line numberDiff line change
@@ -7756,19 +7756,6 @@ async function setup() {
77567756
if (cachixBin !== "") {
77577757
core.debug(`Using Cachix executable from input: ${cachixBin}`);
77587758
}
7759-
else if (useDaemon) {
7760-
// TODO: remove once stable and the daemon has been released
7761-
cachixBin = await execToVariable('nix', [
7762-
'build',
7763-
'--show-trace',
7764-
'--print-out-paths',
7765-
'--accept-flake-config',
7766-
'--extra-experimental-features',
7767-
'nix-command flakes',
7768-
'github:cachix/cachix/feature/daemon',
7769-
]).then((storePath) => `${storePath.trimEnd()}/bin/cachix`);
7770-
core.info(`Daemon mode is enabled. Using the latest Cachix executable from github:cachix/cachix/feature/daemon: ${cachixBin}`);
7771-
}
77727759
else {
77737760
// Find the Cachix executable in PATH
77747761
let resolvedCachixBin = which_1.default.sync('cachix', { nothrow: true });

src/main.ts

-15
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,6 @@ async function setup() {
3333

3434
if (cachixBin !== "") {
3535
core.debug(`Using Cachix executable from input: ${cachixBin}`);
36-
} else if (useDaemon) {
37-
// TODO: remove once stable and the daemon has been released
38-
cachixBin = await execToVariable(
39-
'nix',
40-
[
41-
'build',
42-
'--show-trace',
43-
'--print-out-paths',
44-
'--accept-flake-config',
45-
'--extra-experimental-features',
46-
'nix-command flakes',
47-
'github:cachix/cachix/feature/daemon',
48-
],
49-
).then((storePath) => `${storePath.trimEnd()}/bin/cachix`);
50-
core.info(`Daemon mode is enabled. Using the latest Cachix executable from github:cachix/cachix/feature/daemon: ${cachixBin}`);
5136
} else {
5237
// Find the Cachix executable in PATH
5338
let resolvedCachixBin = which.sync('cachix', { nothrow: true });

0 commit comments

Comments
 (0)