@clacke Could it be something related to different shells being used, like in one case you have bash and in the other case some other shell, maybe they handle things like parentheses and quotation marks differently?
@eliasr They're both bash, I'll verify that it differs even when using Nix's bash, but apparently bash or nix behaves differently on the two platforms.
It wouldn't be the first time, different kernels and other system dependencies result in different workarounds.
As another example, Nix has handled some regex corner cases differently in the nix language before because the libstdc++ was different between clang (Darwin) and gcc (Linux)!
I would like it if nix run/build worked with process substitutions on Linux though. And I'm surprised, if it would break anywhere I would have expected it to break on Darwin rather than on Linux.
It wouldn't be the first time, different kernels and other system dependencies result in different workarounds.
As another example, Nix has handled some regex corner cases differently in the nix language before because the libstdc++ was different between clang (Darwin) and gcc (Linux)!
I would like it if nix run/build worked with process substitutions on Linux though. And I'm surprised, if it would break anywhere I would have expected it to break on Darwin rather than on Linux.