Merge pull request #237812 from wegank/dart-darwin

buildDartApplication: add sigtool on darwin
This commit is contained in:
Weijia Wang 2023-06-15 00:11:52 +03:00 committed by GitHub
commit 7873a6b249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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