mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
14 lines
307 B
Nix
14 lines
307 B
Nix
{ engine, runCommand }:
|
|
runCommand "flutter-engine-${engine.version}-dart" {
|
|
version = engine.dartSdkVersion;
|
|
|
|
inherit engine;
|
|
inherit (engine) outName;
|
|
|
|
meta = engine.meta // {
|
|
description = "Dart SDK compiled from the Flutter Engine";
|
|
};
|
|
} ''
|
|
ln -s ${engine}/out/$outName/dart-sdk $out
|
|
''
|