dotnet/build-dotnet-module: fix eval of fetch-deps (#341497)

This commit is contained in:
Aleksana 2024-09-13 15:55:25 +08:00 committed by GitHub
commit dfa0b59773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -255,7 +255,7 @@ let
if lib.isPath nugetDeps && !lib.isStorePath nugetDepsFile then if lib.isPath nugetDeps && !lib.isStorePath nugetDepsFile then
toString nugetDepsFile toString nugetDepsFile
else else
''$(mktemp -t "${finalAttrs.pname ? finalAttrs.finalPackage.name}-deps-XXXXXX.nix")''; ''$(mktemp -t "${finalAttrs.pname or finalAttrs.finalPackage.name}-deps-XXXXXX.nix")'';
nugetToNix = (nuget-to-nix.override { inherit dotnet-sdk; }); nugetToNix = (nuget-to-nix.override { inherit dotnet-sdk; });
}; };