From f2027f4960497d771df5ea1641f237a62fa36465 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Sat, 24 Jun 2023 08:15:12 -0300 Subject: [PATCH] nuget-to-nix: set nullglob This stops nuget-to-nix from failing when there are no packages in the output. --- pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh | 1 + 1 file changed, 1 insertion(+) 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 ce2a7070ea31..86bc4482088b 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 @@ -1,6 +1,7 @@ #!@runtimeShell@ set -euo pipefail +shopt -s nullglob export PATH="@binPath@" # used for glob ordering of package names