Skip to content

duckdb: fix treefmt - #543886

Merged
llakala merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/duckdb/treefmt
Jul 20, 2026
Merged

llakala merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/duckdb/treefmt

Conversation

@whispersofthedawn

Copy link
Copy Markdown
Contributor

regressed in 4f1b1fa, cc @vcunat

broke ci in #543877

Things done

@llakala
llakala enabled auto-merge July 20, 2026 15:17
@llakala
llakala added this pull request to the merge queue Jul 20, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jul 20, 2026
Merged via the queue into NixOS:staging-next with commit edc768b Jul 20, 2026
25 checks passed
@whispersofthedawn
whispersofthedawn deleted the p/duckdb/treefmt branch July 20, 2026 15:27
@thunze thunze mentioned this pull request Jul 20, 2026
@vcunat

vcunat commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Thanks. I hate this particular case of auto-formatting. But at least it should be only a short-term thing.

@whispersofthedawn

whispersofthedawn commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor Author

yeah it's very ugly. tried splitting it with the } on a newline from the content and nixfmt didn't like that either. could've done \ in bash to make the line less long but it didn't seem worth the rebuilds for such a trivial thing, even if just a few.

@vcunat

vcunat commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Maybe it would help to add a #-comment into the inner Nix part.

@whispersofthedawn

Copy link
Copy Markdown
Contributor Author

oh nice, it looks like that does work (i.e. nixfmt is fine with this below). i'll keep that trick in mind <3

      HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes}${
        # helps mitigate the huge amount of logs
        lib.optionalString stdenv.hostPlatform.isx86_64 " >/dev/null"
      }

@thunze thunze mentioned this pull request Jul 21, 2026
2 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants