Skip to content

Commit

Permalink
fix: Add curl to cabal wrapper (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie authored Jan 8, 2024
1 parent 2a8b2cb commit a69e139
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cross-js.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let tool-version-map = import ./tool-map.nix;
# A cabal-install wrapper that sets the appropriate static flags
wrapped-cabal = pkgs.writeShellApplication {
name = "cabal";
runtimeInputs = [ cabal-install ];
runtimeInputs = [ cabal-install pkgs.curl ];
text = with pkgs; ''
# We do not want to quote NIX_CABAL_FLAGS
# it will leave an empty argument, if they are empty.
Expand Down
2 changes: 1 addition & 1 deletion cross-windows.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let tool-version-map = import ./tool-map.nix;
# A cabal-install wrapper that sets the appropriate static flags
wrapped-cabal = pkgs.pkgsBuildBuild.writeShellApplication {
name = "cabal";
runtimeInputs = [ cabal-install ];
runtimeInputs = [ cabal-install pkgs.curl ];
text = ''
# We do not want to quote NIX_CABAL_FLAGS
# it will leave an empty argument, if they are empty.
Expand Down
2 changes: 1 addition & 1 deletion dynamic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let tool-version-map = import ./tool-map.nix;
# here.
wrapped-cabal = pkgs.writeShellApplication {
name = "cabal";
runtimeInputs = [ cabal-install ];
runtimeInputs = [ cabal-install pkgs.curl ];
text = ''
case "$1" in
build) cabal "$@"
Expand Down
2 changes: 1 addition & 1 deletion static.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let tool-version-map = import ./tool-map.nix;
# A cabal-install wrapper that sets the appropriate static flags
wrapped-cabal = pkgs.writeShellApplication {
name = "cabal";
runtimeInputs = [ cabal-install ];
runtimeInputs = [ cabal-install pkgs.curl ];
text = with pkgs; ''
# We do not want to quote NIX_CABAL_FLAGS
# it will leave an empty argument, if they are empty.
Expand Down

0 comments on commit a69e139

Please sign in to comment.