From ae0c05633c537d6bb3d33b828cad9c07cd943e02 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 16 Aug 2016 00:48:08 +0200 Subject: fetch-humble-bundle: Allow single-output curl This should make sure it can be evaluated on NixOS versions where the closure-size branch has not yet been merged. Signed-off-by: aszlig --- pkgs/games/humblebundle/fetch-humble-bundle/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/games/humblebundle/fetch-humble-bundle/default.nix') 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 ''; } -- cgit 1.4.1