From c7e4d1d3e906d403c3b08a9a316a1ba088e46b7f Mon Sep 17 00:00:00 2001 From: matt1432 Date: Thu, 21 Nov 2024 21:58:27 -0500 Subject: [PATCH] feat(builds): put result symlinks in folder --- apps/update-sources/src/app.ts | 2 +- devices/servivi/modules/binary-cache.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/update-sources/src/app.ts b/apps/update-sources/src/app.ts index 187c34ec..b58e3ebe 100644 --- a/apps/update-sources/src/app.ts +++ b/apps/update-sources/src/app.ts @@ -69,7 +69,7 @@ if (args['a'] || args['all']) { console.log(updateCustomPackage('some-sass-language-server')); - spawnSync('nix-fast-build', ['-f', `${FLAKE}#nixFastChecks`], { + spawnSync('nixFastBuild', [], { shell: true, stdio: [process.stdin, process.stdout, process.stderr], }); diff --git a/devices/servivi/modules/binary-cache.nix b/devices/servivi/modules/binary-cache.nix index 4fb75eb9..664fde6a 100644 --- a/devices/servivi/modules/binary-cache.nix +++ b/devices/servivi/modules/binary-cache.nix @@ -24,6 +24,9 @@ cd "$FLAKE" || return nix-fast-build -f .#nixFastChecks "$@" + + mkdir -p results + mv -f result-* results ''; }; in {