fix(server): Amend package path for Go tooling compatibility

With these changes it is possible to keep Nixery in $GOPATH and build
the server in there, while still having things work correctly via Nix.
This commit is contained in:
Vincent Ambo 2019-10-05 14:54:49 +01:00 committed by Vincent Ambo
parent f4bf3518f6
commit 0642f7044d
6 changed files with 10 additions and 10 deletions

View file

@ -43,7 +43,7 @@ rec {
nixery-bin = writeShellScriptBin "nixery" ''
export WEB_DIR="${nixery-book}"
export PATH="${nixery-build-image}/bin:$PATH"
exec ${nixery-server}/bin/nixery
exec ${nixery-server}/bin/server
'';
# Container image containing Nixery and Nix itself. This image can