Skip to content

Commit

Permalink
fix(nixery): use set-default for setting WEB_DIR
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: BuildkiteCI
Reviewed-by: flokli <[email protected]>
  • Loading branch information
tazjin authored and clbot committed Feb 28, 2024
1 parent eb845ef commit 65b4513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';

Expand Down

0 comments on commit 65b4513

Please sign in to comment.