From 4f5dd08fe8a8bf81f636074a99dd4264faf017bb Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Sun, 16 Apr 2023 23:11:07 +1000 Subject: [PATCH] dart.fetch-dart-deps: Add hook runtime dependencies --- pkgs/build-support/dart/fetch-dart-deps/default.nix | 1 + pkgs/build-support/flutter/default.nix | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/build-support/dart/fetch-dart-deps/default.nix b/pkgs/build-support/dart/fetch-dart-deps/default.nix index 460bba2b1b62..a3ab2c2c73a2 100644 --- a/pkgs/build-support/dart/fetch-dart-deps/default.nix +++ b/pkgs/build-support/dart/fetch-dart-deps/default.nix @@ -158,5 +158,6 @@ in # work at all anyway due to https://github.com/NixOS/nix/issues/6660. name = "${name}-dart-deps-setup-hook"; substitutions = { inherit deps; }; + propagatedBuildInputs = [ dart git ]; passthru.files = deps.outPath; }) ./setup-hook.sh diff --git a/pkgs/build-support/flutter/default.nix b/pkgs/build-support/flutter/default.nix index f85c7a19ce2e..152b2dd888cc 100644 --- a/pkgs/build-support/flutter/default.nix +++ b/pkgs/build-support/flutter/default.nix @@ -5,7 +5,6 @@ , llvmPackages_13 , cacert , flutter -, git }: # absolutely no mac support for now @@ -39,7 +38,6 @@ let makeWrapper deps flutter - git ] ++ nativeBuildInputs; configurePhase = ''