Skip to content

Commit a69e139

Browse files
authored
fix: Add curl to cabal wrapper (#119)
1 parent 2a8b2cb commit a69e139

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cross-js.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let tool-version-map = import ./tool-map.nix;
99
# A cabal-install wrapper that sets the appropriate static flags
1010
wrapped-cabal = pkgs.writeShellApplication {
1111
name = "cabal";
12-
runtimeInputs = [ cabal-install ];
12+
runtimeInputs = [ cabal-install pkgs.curl ];
1313
text = with pkgs; ''
1414
# We do not want to quote NIX_CABAL_FLAGS
1515
# it will leave an empty argument, if they are empty.

cross-windows.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ let tool-version-map = import ./tool-map.nix;
5656
# A cabal-install wrapper that sets the appropriate static flags
5757
wrapped-cabal = pkgs.pkgsBuildBuild.writeShellApplication {
5858
name = "cabal";
59-
runtimeInputs = [ cabal-install ];
59+
runtimeInputs = [ cabal-install pkgs.curl ];
6060
text = ''
6161
# We do not want to quote NIX_CABAL_FLAGS
6262
# it will leave an empty argument, if they are empty.

dynamic.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let tool-version-map = import ./tool-map.nix;
3333
# here.
3434
wrapped-cabal = pkgs.writeShellApplication {
3535
name = "cabal";
36-
runtimeInputs = [ cabal-install ];
36+
runtimeInputs = [ cabal-install pkgs.curl ];
3737
text = ''
3838
case "$1" in
3939
build) cabal "$@"

static.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let tool-version-map = import ./tool-map.nix;
2525
# A cabal-install wrapper that sets the appropriate static flags
2626
wrapped-cabal = pkgs.writeShellApplication {
2727
name = "cabal";
28-
runtimeInputs = [ cabal-install ];
28+
runtimeInputs = [ cabal-install pkgs.curl ];
2929
text = with pkgs; ''
3030
# We do not want to quote NIX_CABAL_FLAGS
3131
# it will leave an empty argument, if they are empty.

0 commit comments

Comments
 (0)