about summary refs log tree commit diff
path: root/pkgs/games/humblebundle
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/humblebundle')
-rw-r--r--pkgs/games/humblebundle/fetch-humble-bundle/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/humblebundle/fetch-humble-bundle/default.nix b/pkgs/games/humblebundle/fetch-humble-bundle/default.nix
index 3b8a722e..50c1f3a3 100644
--- a/pkgs/games/humblebundle/fetch-humble-bundle/default.nix
+++ b/pkgs/games/humblebundle/fetch-humble-bundle/default.nix
@@ -81,7 +81,8 @@ in stdenv.mkDerivation {
   buildCommand = ''
     url="$(python "${getDownloadURL}")"
     header "downloading $name from $url"
-    ${curl.bin}/bin/curl --cacert "${cafile}" --fail --output "$out" "$url"
+    "${curl.bin or curl}/bin/curl" --cacert "${cafile}" --fail \
+      --output "$out" "$url"
     stopNest
   '';
 }