Commit Graph

16 Commits

Author SHA1 Message Date
TomaSajt
e445b406e2 buildDubPackage: explicitly set fetchSubmodules 2026-08-02 21:30:07 +02:00
Anish Pallati
88ebc61b5f dub-to-nix: fetch submodules for git dependencies
Signed-off-by: Anish Pallati <i@anish.land>
2026-08-02 14:57:16 -04:00
SandaruKasa
1602a466a1 buildDubPackage: default __structuredAttrs to true 2026-06-29 00:11:22 +03:00
SandaruKasa
b5ce98eff2 buildDubPackage: remove-references to all outputs of compiler 2026-06-29 00:11:22 +03:00
Sigmanificient
0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
jopejoe1
58c1ec779f treewide: replace lib.trivial.version with lib.trivial.release 2026-02-16 09:45:06 +01:00
Ethan Carter Edwards
4a57974db8 dub-to-nix: set pname, version
In an effort to set pname + version for all packages

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2026-02-05 16:21:11 -05:00
Claude Code
5d14a3f126 buildDubPackage: fix flag arrays not being expanded correctly
Use concatTo to properly handle dubBuildFlags, dubTestFlags, and
dubFlags. Previously these were used as "${var[@]}" but Nix lists
become space-separated strings, not bash arrays, causing all flags
to be concatenated into a single argument.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 11:21:56 +00:00
TomaSajt
2d62506a97 buildDubPackage: split into hooks and into importDubLock 2025-08-29 02:28:55 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Tanya
f308e68fe2 dub-to-nix: strip git+ prefix from repository URLs 2025-04-04 11:15:31 +05:30
TomaSajt
fc16ae75ec dub-to-nix: update recommended regen command 2024-09-20 23:26:41 +02:00
TomaSajt
eaab342480 dub-to-nix,buildDubPackage: allow git-type dependencies 2024-05-08 14:01:35 +02:00
TomaSajt
92c8f64c5e buildDubPackage, dub-to-nix: init 2024-04-03 12:32:08 +02:00