summary refs log tree commit diff
path: root/pkgs/build-support/dotnet
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2023-06-24 08:15:12 -0300
committerDavid McFarland <corngood@gmail.com>2023-06-24 19:13:16 -0300
commitf2027f4960497d771df5ea1641f237a62fa36465 (patch)
tree04693f9b63578d74c610711fecffd91ebe8e00b2 /pkgs/build-support/dotnet
parentbca3a9edfc51b1e29673e98151df1b6a94dc44dd (diff)
downloadnixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.tar
nixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.tar.gz
nixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.tar.bz2
nixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.tar.lz
nixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.tar.xz
nixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.tar.zst
nixpkgs-f2027f4960497d771df5ea1641f237a62fa36465.zip
nuget-to-nix: set nullglob
This stops nuget-to-nix from failing when there are no packages in the
output.
Diffstat (limited to 'pkgs/build-support/dotnet')
-rwxr-xr-xpkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh1
1 files changed, 1 insertions, 0 deletions
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 ce2a7070ea3..86bc4482088 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