mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Ensure extra arguments passed to shell
Extra arguments passed to `use nix` (such as `--arg` or `--argstr`) were getting clobbered by an errant re-definition. Removed that definition so those arguments get passed along.
This commit is contained in:
parent
d74ad21a58
commit
f3587d4c26
1 changed files with 0 additions and 1 deletions
1
direnvrc
1
direnvrc
|
|
@ -313,7 +313,6 @@ use_nix() {
|
|||
then
|
||||
local tmp_profile="${layout_dir}/flake-profile.$$"
|
||||
local tmp_profile_rc
|
||||
local extra_args=()
|
||||
|
||||
if [[ "$packages" != "" ]]; then
|
||||
extra_args+=("--expr" "with import <nixpkgs> {}; mkShell { buildInputs = [ $packages ]; }")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue