fix(build): Ensure nixery-build-image is on Nixery's PATH

This is useful when running Nixery locally.
This commit is contained in:
Vincent Ambo 2019-09-21 12:35:18 +01:00 committed by Vincent Ambo
parent f0b69638e1
commit da6fd1d79e

View file

@ -44,6 +44,7 @@ rec {
# are installing Nixery directly.
nixery-bin = writeShellScriptBin "nixery" ''
export WEB_DIR="${nixery-book}"
export PATH="${nixery-build-image}/bin:$PATH"
exec ${nixery-server}/bin/nixery
'';