mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Merge pull request #171 from bbenne10/GH-168
GH-168: Fix custom attributes in use_nix
This commit is contained in:
commit
8a38b8fe97
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -336,7 +336,7 @@ use_nix() {
|
||||||
if [[ "$attribute" == "" ]]; then
|
if [[ "$attribute" == "" ]]; then
|
||||||
extra_args+=("--file" "$nixfile")
|
extra_args+=("--file" "$nixfile")
|
||||||
else
|
else
|
||||||
extra_args+=("--expr" "(import ${nixfile}).$}attribute}")
|
extra_args+=("--expr" "(import ${nixfile}).${attribute}")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue