From 23ee554f2f3d33cccec543d002d3094b178d9b20 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 20 Jan 2019 12:22:28 +0100 Subject: [PATCH] Use the word 'composition' where applicable. Also adds some documentation to celebrate that we can now - with ease - verbally distinguish between composition-level modules and service-level modules. --- src/arion | 6 +++--- src/nix/docker-compose-module.nix | 11 +++++++++++ .../{eval-docker-compose.nix => eval-composition.nix} | 10 +++++----- src/nix/service-host-store.nix | 7 ++++++- src/nix/service.nix | 6 ++++++ tests/arion-test/default.nix | 2 +- 6 files changed, 32 insertions(+), 10 deletions(-) rename src/nix/{eval-docker-compose.nix => eval-composition.nix} (76%) diff --git a/src/arion b/src/arion index 6a3c242..de9406e 100755 --- a/src/arion +++ b/src/arion @@ -140,7 +140,7 @@ do_eval() { echo 1>&2 "Evaluating configuration..." # read-write-mode is required for import from derivation nix-instantiate \ - "$nix_dir/eval-docker-compose.nix" \ + "$nix_dir/eval-composition.nix" \ --eval \ --read-write-mode \ --json \ @@ -155,7 +155,7 @@ do_eval() { do_build() { echo 1>&2 "Building configuration..." nix-build \ - "$nix_dir/eval-docker-compose.nix" \ + "$nix_dir/eval-composition.nix" \ --out-link $docker_compose_yaml \ --argstr uid "$UID" \ --arg modules "$modules" \ @@ -190,7 +190,7 @@ To bring the top-level Nixpkgs attributes into scope EOF cat >"$REPL_TMP" <