From 1528ce3063f211f809465af1ddc265c9e4e050cd Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 18 Aug 2022 13:49:45 -0600 Subject: [PATCH] nuget-to-nix: Make exclusion file optional --- pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh b/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh index ad75cf6574b7..ca0a63b3cd20 100755 --- a/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh +++ b/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh @@ -10,7 +10,7 @@ if [ $# -eq 0 ]; then fi pkgs=$1 -exclusions=$2 +exclusions="${2:-/dev/null}" tmpfile=$(mktemp /tmp/nuget-to-nix.XXXXXX) trap "rm -f ${tmpfile}" EXIT