readIntoSocket: fix with store URIs containing an &
#4
Loading…
Reference in a new issue
No description provided.
Delete branch "ma27/hydra:lix/fix-readIntoSocket"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The third argument to
open()
in-|
mode is passed to a shell if it'sa string. In my case the store URI contains
?secret-key=${signingKey.directory}/secret&compression=zstd
For the
nix store cat
case this means that&
the process will be started in the background. This failsimmediately because no path to cat is specified.
compression=zstd
is a variable assignment$path
argument tostore cat
is attempted to be executed asanother command
Passing just the list solves the problem.
cc @delroth
&
1a1008ea30