Silvan Mosberger
Silvan Mosberger
@aherrmann I see, then I think an `--argstr` should be used/recommended instead, which handles escaping correctly no matter the argument you pass, it always gets turned into a string. You...
Oh then that's great, because the _current_ code using `--arg` expands relative paths to absolute ones during Nix evaluation, potentially causing such problems. But with `--argstr` no such expansion takes...
Ohh I think you just need this actually (using `--argstr`): ```nix cp ${./. + ("/" + local_file)} $out/out/local_file cp ${./. + ("/" + external_file)} $out/out/external_file ``` That's also what Nix...
@aherrmann No problem! This is interesting detail about `--arg` I wasn't aware of, and imo the best way to fix it would be this: ``` # --arg arg_base ./. cp...
In the [last meeting](https://discourse.nixos.org/t/formatting-team-meeting-2024-08-06/50222) we decided to draft non-ready PRs. Feel free to undraft when it's ready Perhaps you could also sync with @omkumar312 on this, who showed interest in...
> What is unready? I pushed my changes 2 months ago & never got another review Oh didn't see that, sorry. @piegamesde I don't think this needs testing as is,...
Waiting for @toastal's confirmation before merging
> Confirmation on? This: > But if you do patch over this and there's issues with it, I'll ask that you spend some effort to properly implement this feature, instead...
I'll look into the CI issue, not sure what's up with that. Edit: https://github.com/NixOS/nixfmt/pull/241 fixes it
Since the author doesn't seem to respond and I don't want this PR to linger around any longer, I implement the user-facing side of this myself now, so that this...