diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-02-19 18:02:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 18:02:01 +0000 |
commit | 4f8c8f949751d7400c189a0e4c8201cb04862f5b (patch) | |
tree | f5a936d48b0218978f304eb9ea65ed23c827d1b7 /pkgs/development/compilers | |
parent | e7491cffb40a16eb61a51f5e813756d92d80279b (diff) | |
parent | 18ebfef5adddac7d59520999aa8bc1c73a5121eb (diff) | |
download | nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.tar nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.tar.gz nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.tar.bz2 nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.tar.lz nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.tar.xz nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.tar.zst nixpkgs-4f8c8f949751d7400c189a0e4c8201cb04862f5b.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/flutter/flutter.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/compilers/flutter/flutter.nix b/pkgs/development/compilers/flutter/flutter.nix index 4b0789e35eb..43538ede339 100644 --- a/pkgs/development/compilers/flutter/flutter.nix +++ b/pkgs/development/compilers/flutter/flutter.nix @@ -32,6 +32,7 @@ , nss , systemd , which +, callPackage }: let drvName = "flutter-${version}"; @@ -146,6 +147,8 @@ let }; in +let +self = (self: runCommand drvName { startScript = '' @@ -159,6 +162,9 @@ runCommand drvName passthru = { unwrapped = flutter; inherit dart; + mkFlutterApp = callPackage ../../../build-support/flutter { + flutter = self; + }; }; meta = with lib; { description = "Flutter is Google's SDK for building mobile, web and desktop with Dart"; @@ -179,4 +185,6 @@ runCommand drvName echo -n "$startScript" > $out/bin/${pname} chmod +x $out/bin/${pname} -'' +'') self; +in +self |