When printing the error message with instructions to manually obtain a
fixed-output derivation using requireFile, print the string as escaped
using `escapeShellArg`, rather than using a here-doc where Bash
expansion will be performed.
This permits passing instructions that contain characters that Bash
would normally expand without needing to escape them (or even know that
they need escaping from Bash), for example instructions referencing
`$PWD`.
Document this in the current release notes, and update existing
requireFile calls that perform this now-unnecessary escaping. In
passing, fix up a couple of minor message errors.
Instead of cherry picking backports ourselves in Nixpkgs, use upstream's
branch `0.H-branch`, which is 0.H + relevant backports.
Upstream does not seem to do point releases out of the backports branch,
but commits in it are tagged by their CI, so that is the tag we are
using.
Also ignore a warning with darwin/clang, which fails builds of stable
and git. Upstream fix is not in their backport branch, and
cataclysm-dda-git is currently behind it. See
https://github.com/CleverRaven/Cataclysm-DDA/pull/83499.
Pass `meta` from mod/engine call sites instead of `description`,
`homepage`, and `pos` as separate attributes. This lets `mod.nix` and
`engine.nix` merge meta with `//` instead of `recursiveUpdate`, so
`builtins.unsafeGetAttrPos` finds `meta.description` at each call site,
making the `pos = __curPos` workaround unnecessary.
To avoid confusion and spurious newlines in the output.
Found by searching for a backslash followed by a newline, some
indentation, and then the end of multi-line string marker, using the
following extended regex:
```regex
\\\n +'';
```
Upstream release-20250330 still targets net6.0, which went EOL in
November 2024. The bleed engine already uses .NET 8.
Patch Directory.Build.props to retarget net6.0 -> net8.0. The code
uses C# language version 9, which is compatible with .NET 8. Build
tested on x86_64-linux with no errors (only deprecation warnings
for SYSLIB0051, which also appear in the bleed build).
Related: https://github.com/NixOS/nixpkgs/issues/326335