Commit Graph

8 Commits

Author SHA1 Message Date
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Adam Joseph
bac515fa9d cargo-auditable-cargo-wrapper: don't wrap if cargo-auditable is meta.broken (#250615)
Recent changes to `cargo-auditable-cargo-wrapper` and `librsvg`
caused it to ignore the user's decision to opt out of `cargo-audit`
functionality, partially because `librsvg` does not use
`buildRustPackage`.

This commit restores the single-point-of-opt-out from this mis-named
functionality: `cargo-auditable.meta.broken`.

Co-authored-by: figsoda <figsoda@pm.me>
2023-08-26 16:07:05 -05:00
figsoda
dc7cdbe466 cargo-auditable-cargo-wrapper: add test 2023-08-13 14:50:43 -04:00
figsoda
8522d789be cargo-auditable-cargo-wrapper: fix wrapper
Packages were not correctly built with carog-auditable due to the
missing auditable flag
2023-08-13 14:44:19 -04:00
Alyssa Ross
37a9ea8f4a cargo-auditable-cargo-wrapper: use more descriptive name 2023-04-24 23:41:03 +00:00
Alyssa Ross
a19acef56f cargo-auditable-cargo-wrapper: use makeWrapper 2023-04-24 23:41:03 +00:00
Zhaofeng Li
d450afc911 cargo-auditable-cargo-wrapper: Use writeShellScriptBin instead of writeShellApplication
This is to prevent pulling in GHC for such a simple wrapper script.
2023-01-19 13:50:01 +10:00
figsoda
b9259df616 rustPlatform.buildRustPackage: fix cross compiling auditable packages 2023-01-12 12:22:59 -05:00