fix(build): Ensure nixery-build-image is on Nixery's PATH
This is useful when running Nixery locally.
This commit is contained in:
parent
f0b69638e1
commit
da6fd1d79e
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ rec {
|
||||||
# are installing Nixery directly.
|
# are installing Nixery directly.
|
||||||
nixery-bin = writeShellScriptBin "nixery" ''
|
nixery-bin = writeShellScriptBin "nixery" ''
|
||||||
export WEB_DIR="${nixery-book}"
|
export WEB_DIR="${nixery-book}"
|
||||||
|
export PATH="${nixery-build-image}/bin:$PATH"
|
||||||
exec ${nixery-server}/bin/nixery
|
exec ${nixery-server}/bin/nixery
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue