Commit Graph

2 Commits

Author SHA1 Message Date
GGG
1cd9516969 treewide: migrate nix-based dotnet lockfiles to JSON 2024-12-17 19:49:03 -03:00
Matt Sturgeon
79d26048de buildDotnetModule: add finalAttrs support
Allow users to pass arguments to `buildDotnetModule` in the form:

```nix
buildDotnetModule (finalAttrs: {
  # Args
})
```

Exposing the behaviour of the underlying `mkDerivation` and allowing
packages to be defined in a recursive way that works correctly even when
the package is overridden, e.g. using `overrideAttrs`.

Added some simple test cases that piggyback on the existing
`structured-attrs` test.
2024-08-06 16:33:49 +01:00