diff --git a/pkgs/build-support/dart/build-dart-application/default.nix b/pkgs/build-support/dart/build-dart-application/default.nix index 780aefa90ef9..7e9c3f842b80 100644 --- a/pkgs/build-support/dart/build-dart-application/default.nix +++ b/pkgs/build-support/dart/build-dart-application/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchDartDeps, writeText, dartHooks, makeWrapper, dart, nodejs }: +{ lib, stdenv, fetchDartDeps, writeText, dartHooks, makeWrapper, dart, nodejs, darwin }: { pubGetScript ? "dart pub get" @@ -54,6 +54,8 @@ stdenv.mkDerivation (args // { dartBuildHook dartInstallHook makeWrapper + ] ++ lib.optionals stdenv.isDarwin [ + darwin.sigtool ]; # When stripping, it seems some ELF information is lost and the dart VM cli