Merge pull request #171 from bbenne10/GH-168

GH-168: Fix custom attributes in use_nix
This commit is contained in:
Bryan Bennett 2022-04-25 09:22:41 -04:00 committed by GitHub
commit 8a38b8fe97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,7 +336,7 @@ use_nix() {
if [[ "$attribute" == "" ]]; then
extra_args+=("--file" "$nixfile")
else
extra_args+=("--expr" "(import ${nixfile}).$}attribute}")
extra_args+=("--expr" "(import ${nixfile}).${attribute}")
fi
fi