From 587e94ecd5ed2517439ba67e65def630c90cef3c Mon Sep 17 00:00:00 2001 From: Sander Date: Tue, 2 Apr 2024 09:24:48 +0000 Subject: [PATCH] Pass cachixArgs to the daemon --- dist/main/index.js | 1 + src/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/main/index.js b/dist/main/index.js index a75eb7d2..458b83b0 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -7824,6 +7824,7 @@ async function setup() { 'daemon', 'run', '--socket', `${daemonDir}/daemon.sock`, name, + ...cachixArgs.split(' ').filter((arg) => arg !== ''), ], { stdio: ['ignore', daemonLog, daemonLog], detached: true, diff --git a/src/main.ts b/src/main.ts index 68ab4ee7..3b8da8a4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -113,6 +113,7 @@ async function setup() { 'daemon', 'run', '--socket', `${daemonDir}/daemon.sock`, name, + ...cachixArgs.split(' ').filter((arg) => arg !== ''), ], { stdio: ['ignore', daemonLog, daemonLog],