-
-
Couldn't load subscription status.
- Fork 1.8k
Open
Labels
Description
Describe the bug
nix-store --print-env uses single quotes both for every argument of the builder, and for the whole _args parameter, causing double quoting of the _args.
Steps To Reproduce
- Run
nix-store --print-env $(nix-instantiate '<nixpkgs>' -A firefox) | grep _args - Observe double single quotes:
export _args; _args=''-e' '/nix/store/vj1c3wf9c11a0qs6p3ymfvrnsdgsdcbq-source-stdenv.sh' '/nix/store/shkw4qm9qcw5sc5n1k5jznc83ny02r39-default-builder.sh''
Expected behavior
export _args; _args='-e /nix/store/vj1c3wf9c11a0qs6p3ymfvrnsdgsdcbq-source-stdenv.sh /nix/store/shkw4qm9qcw5sc5n1k5jznc83ny02r39-default-builder.sh'
Metadata
nix-env (Nix) 2.28.5
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.