diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2022-02-20 10:53:57 +0100 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2022-02-23 15:10:57 +0100 |
commit | 1495ce56ba94da18c6a8b7ea07c869c17899c5cd (patch) | |
tree | d0a3752116c4f574c8da7bebe970b81e05acb967 /pkgs/build-support/flutter | |
parent | 847b557ef35ad873acc4ddc53036b80b5d996a81 (diff) |
flutter.mkFlutterApp: allow extra fetch commands
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/build-support/flutter')
-rw-r--r-- | pkgs/build-support/flutter/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/flutter/default.nix b/pkgs/build-support/flutter/default.nix index a3ddf99dcca67..8d84b403518ae 100644 --- a/pkgs/build-support/flutter/default.nix +++ b/pkgs/build-support/flutter/default.nix @@ -79,6 +79,7 @@ let flutter config --enable-linux-desktop flutter packages get flutter build linux || true # so it downloads tools + ${lib.optionalString (args ? flutterExtraFetchCommands) args.flutterExtraFetchCommands} RES="$TMP" @@ -130,6 +131,7 @@ let ''; GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt"; + SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [ "GIT_PROXY_COMMAND" "NIX_GIT_SSL_CAINFO" "SOCKS_SERVER" |