diff options
author | Vincent Ambo <tazjin@tvl.su> | 2024-02-28T12·54+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-02-28T20·20+0000 |
commit | bc06e4d99c87f6cbe00690c487917a2106477414 (patch) | |
tree | baaccfff473568468ee6a7a380cbd1f4d0ff40c9 /tools | |
parent | 46249cc5870a65ba4a52a2176c2fa8393693dae1 (diff) |
fix(nixery): use set-default for setting WEB_DIR r/7619
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 <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/nixery/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix index 1d069511ee35..6a0c19d9a72e 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 ''; |