diff options
author | mdarocha <git@mdarocha.pl> | 2023-09-30 13:21:12 +0200 |
---|---|---|
committer | mdarocha <git@mdarocha.pl> | 2023-09-30 13:21:12 +0200 |
commit | 8318df5b630579a910fd2fd3ae46bdfec37d1ef4 (patch) | |
tree | af6c6d268d101f5fbd587de3e6ecfc7988f78a6a | |
parent | 7b22218f11c9b8c3cc4b3baa97969201238d6783 (diff) |
buildDotnetModule: fix running fetch-deps with no nugetDeps defined.
This eases the initial setup when creating a package
-rw-r--r-- | pkgs/build-support/dotnet/build-dotnet-module/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/dotnet/build-dotnet-module/default.nix b/pkgs/build-support/dotnet/build-dotnet-module/default.nix index 686d89f8c11cb..02776d57c91be 100644 --- a/pkgs/build-support/dotnet/build-dotnet-module/default.nix +++ b/pkgs/build-support/dotnet/build-dotnet-module/default.nix @@ -172,7 +172,7 @@ stdenvNoCC.mkDerivation (args // { passthru = { inherit nuget-source; - } // lib.optionalAttrs (nugetDepsFile != null) { + } // lib.optionalAttrs (!lib.isDerivation nugetDeps) { fetch-deps = let flags = dotnetFlags ++ dotnetRestoreFlags; |