From bc06e4d99c87f6cbe00690c487917a2106477414 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 28 Feb 2024 15:54:32 +0300 Subject: [PATCH] fix(nixery): use set-default for setting WEB_DIR Makes it possible for users to still override this using an envvar. Relates to nixery#166 Change-Id: Ief2925e03cf2e4351bc38554bf553c8ee259f1f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11045 Autosubmit: tazjin Tested-by: BuildkiteCI Reviewed-by: flokli --- tools/nixery/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix index 1d069511e..6a0c19d9a 100644 --- a/tools/nixery/default.nix +++ b/tools/nixery/default.nix @@ -59,7 +59,7 @@ depot.nix.readTree.drvTargets rec { nativeBuildInputs = [ makeWrapper ]; postInstall = '' wrapProgram $out/bin/server \ - --set WEB_DIR "${nixery-web}" \ + --set-default WEB_DIR "${nixery-web}" \ --prefix PATH : ${nixery-prepare-image}/bin '';