Merge pull request #13 from hercules-ci/fix-import-from-derivation

Make import from derivation work again
This commit is contained in:
Robert Hensing 2019-01-20 17:13:41 +01:00 committed by GitHub
commit 8dfb1c01ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,9 +138,11 @@ done
do_eval() {
echo 1>&2 "Evaluating configuration..."
# read-write-mode is required for import from derivation
nix-instantiate \
"$nix_dir/eval-docker-compose.nix" \
--eval \
--read-write-mode \
--json \
--argstr uid "$UID" \
--arg modules "$modules" \