fix(nix): Minor fixes to derivations for new build process
This commit is contained in:
parent
3f40c0a2d2
commit
ef2623d168
2 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
let
|
||||
inherit (builtins) fromJSON mapAttrs toJSON;
|
||||
inherit (pkgs) lib runCommand;
|
||||
inherit (pkgs) lib runCommand writeText;
|
||||
|
||||
pkgs = import loadPkgs { inherit srcType srcArgs importArgs; };
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ in rec {
|
|||
# are installing Nixery directly.
|
||||
nixery-bin = writeShellScriptBin "nixery" ''
|
||||
export WEB_DIR="${nixery-book}"
|
||||
export PATH="${nixery-build-image}/bin:$PATH"
|
||||
export PATH="${nixery-build-layers}/bin:${nixery-build-image}/bin:$PATH"
|
||||
exec ${nixery-server}/bin/nixery
|
||||
'';
|
||||
|
||||
|
@ -96,6 +96,7 @@ in rec {
|
|||
iana-etc
|
||||
nix
|
||||
nixery-build-image
|
||||
nixery-build-layers
|
||||
nixery-launch-script
|
||||
openssh
|
||||
zlib
|
||||
|
|
Loading…
Reference in a new issue