nixpkgs/pkgs/build-support/release
piegames 68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
..
binary-tarball.nix treewide: handle postPhases __structuredAttrs-agnostically 2024-09-03 05:56:17 +08:00
debian-build.nix treewide: handle prePhases __structuredAttrs-agnostically 2024-09-03 05:33:59 +08:00
default.nix Avoid top-level with ...; in pkgs/build-support/release/default.nix 2024-03-19 22:31:19 +01:00
functions.sh
maven-build.nix treewide: use optionalString 2023-02-13 21:52:34 +01:00
nix-build.nix treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
rpm-build.nix treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
source-tarball.nix treewide: handle postPhases __structuredAttrs-agnostically 2024-09-03 05:56:17 +08:00