From a0f3c9ac5026c1a1c29d3befab8897fd7e570a0a Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 5 Aug 2024 22:37:22 -0300 Subject: [PATCH] flutter: move build-support/flutter to flutter directory Rationale: With the advent of RFC 140, Nixpkgs becomes to promote self-contained package directories and strongly discourages scattering along the old and deprecated filesystem hierarchy. Further, `build-support/flutter/*` is not referenced by any other expressions in Nixpkgs besides flutter itself. Further, concentrating all Flutter-related toolset below a same directory hierarchy (arguably?) eases maintenance and future migrations. --- .../flutter/build-support/build-flutter-application.nix} | 0 pkgs/development/compilers/flutter/default.nix | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename pkgs/{build-support/flutter/default.nix => development/compilers/flutter/build-support/build-flutter-application.nix} (100%) diff --git a/pkgs/build-support/flutter/default.nix b/pkgs/development/compilers/flutter/build-support/build-flutter-application.nix similarity index 100% rename from pkgs/build-support/flutter/default.nix rename to pkgs/development/compilers/flutter/build-support/build-flutter-application.nix diff --git a/pkgs/development/compilers/flutter/default.nix b/pkgs/development/compilers/flutter/default.nix index c3ef3ab9db4a..bfc9597f3874 100644 --- a/pkgs/development/compilers/flutter/default.nix +++ b/pkgs/development/compilers/flutter/default.nix @@ -56,7 +56,7 @@ let (mkCustomFlutter args).overrideAttrs (prev: next: { passthru = next.passthru // rec { inherit wrapFlutter mkCustomFlutter mkFlutter; - buildFlutterApplication = callPackage ../../../build-support/flutter { flutter = wrapFlutter (mkCustomFlutter args); }; + buildFlutterApplication = callPackage ./build-support/build-flutter-application.nix { flutter = wrapFlutter (mkCustomFlutter args); }; }; });