# nix-shell <(echo "{}")
error: getting status of ‘/dev/fd/pipe:[1260604]��]�0�o�`�o���o�Џo����\�’: No such file or directory
<(…) is a normal idiom in bash to create a file descriptor (which is just a normal file) which is then given to the program expecting a file path. This should work.
Compare:
# echo <(echo "test")
/dev/fd/63
# cat <(echo "test")
test
It does work in fish, because that just creates a temporary file:
<(…)
is a normal idiom in bash to create a file descriptor (which is just a normal file) which is then given to the program expecting a file path. This should work.Compare:
It does work in fish, because that just creates a temporary file: