-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdenv: support multi-char separators in concatStringsSep #360466
stdenv: support multi-char separators in concatStringsSep #360466
Conversation
One prominent use-case for this is pytestCheckHook. This will help making it work with structuredAttrs in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice.
Bisect claims that 56b0962
|
Uh, that's odd. Will look into it today. |
A bit of debugging: The environment persisted expanded IFS value to:
The
I think |
So the concatStringsSep function is dumped in Consider:
I can't actually see that record separator on my screen, but when I dump the output to a file and open it with my editor, it's there - unencoded. But also consider this:
Thus we can use I can prepare a PR later. |
This was introduced in NixOS#360466.
See also NixOS/nix#11921 for the Nix-side PR on this topic. |
One prominent use-case for this is pytestCheckHook. This will help making it work with structuredAttrs in the future.
As discussed in https://github.com/NixOS/nixpkgs/pull/347194/files#r1818073811.
cc @ShamrockLee @NixOS/stdenv
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.