mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
79d26048de
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.
8 lines
324 B
Nix
8 lines
324 B
Nix
{ lib, callPackage }:
|
|
|
|
{
|
|
project-references = callPackage ./project-references { };
|
|
use-dotnet-from-env = lib.recurseIntoAttrs (callPackage ./use-dotnet-from-env { });
|
|
structured-attrs = lib.recurseIntoAttrs (callPackage ./structured-attrs { });
|
|
final-attrs = lib.recurseIntoAttrs (callPackage ./final-attrs { });
|
|
}
|