mirror of
https://github.com/hercules-ci/arion.git
synced 2024-09-11 10:45:38 +03:00
Merge pull request #46 from hercules-ci/host-store-daemon
set NIX_REMOTE when using the daemon
This commit is contained in:
commit
a95066a844
@ -27,6 +27,7 @@ in
|
||||
image.nixBuild = false; # no need to build and load
|
||||
service.image = "arion-base";
|
||||
service.build.context = "${../../../arion-image}";
|
||||
service.environment.NIX_REMOTE = lib.optionalString config.service.useHostNixDaemon "daemon";
|
||||
service.volumes = [
|
||||
"${config.host.nixStorePrefix}/nix/store:/nix/store"
|
||||
"${config.host.nixStorePrefix}${pkgs.buildEnv { name = "container-system-env"; paths = [ pkgs.bashInteractive pkgs.coreutils ]; }}:/run/system"
|
||||
|
Loading…
Reference in New Issue
Block a user