Merge pull request #13 from hercules-ci/fix-import-from-derivation
Make import from derivation work again
This commit is contained in:
commit
8dfb1c01ce
1 changed files with 2 additions and 0 deletions
|
@ -138,9 +138,11 @@ done
|
||||||
|
|
||||||
do_eval() {
|
do_eval() {
|
||||||
echo 1>&2 "Evaluating configuration..."
|
echo 1>&2 "Evaluating configuration..."
|
||||||
|
# read-write-mode is required for import from derivation
|
||||||
nix-instantiate \
|
nix-instantiate \
|
||||||
"$nix_dir/eval-docker-compose.nix" \
|
"$nix_dir/eval-docker-compose.nix" \
|
||||||
--eval \
|
--eval \
|
||||||
|
--read-write-mode \
|
||||||
--json \
|
--json \
|
||||||
--argstr uid "$UID" \
|
--argstr uid "$UID" \
|
||||||
--arg modules "$modules" \
|
--arg modules "$modules" \
|
||||||
|
|
Loading…
Reference in a new issue