about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-09-21T11·35+0100
committerVincent Ambo <github@tazj.in>2019-09-21T11·44+0100
commitda6fd1d79e03795e0432553c1875774a61267826 (patch)
tree2739b08e9c4f4268cb79727b73637927537d41cc
parentf0b69638e1c2354c91d2457998c17ee388665bd1 (diff)
fix(build): Ensure nixery-build-image is on Nixery's PATH
This is useful when running Nixery locally.
-rw-r--r--tools/nixery/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix
index f7a2a1712bfb..dd07d34936e4 100644
--- a/tools/nixery/default.nix
+++ b/tools/nixery/default.nix
@@ -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
   '';