Commit Graph

8 Commits

Author SHA1 Message Date
hacker1024
94a34aadf6 flutter: Use autoPatchelfHook for SDK artifacts
This allows SDK artifacts (including build tools and libraries) to use the right interpreter and library locations, abolishing the need for a FHS or post-build patches.

`autoPatchelf` has been used through `autoPatchelfHook`, instead of the `autoPatchelf` command on just the artifact directory, due to the latter method not patching interpreter paths (https://discourse.nixos.org/t/trying-to-use-autopatchelf/24003).

Co-authored-by: FlafyDev <flafyarazi@gmail.com>
Co-authored-by: gilice <gilice@proton.me>
Co-authored-by: hacker1024 <hacker1024@users.sourceforge.net>
2023-04-13 18:01:25 +10:00
hacker1024
341fa709ff flutter: Redesign wrapping architecture
The following principles are now in place:

- All wrappers will include SDK file symlinks. There is not much of a reason to not do so, and removing the option to omit it makes it easier to understand what each wrapper does.
- There is no longer a way to get the previous derivation from a wrapper. This could yield unexpected results based on the wrapping order. Instead, "sdk", "unwrapped", and "noFHS" passthru attributes are provided where appropriate.
2023-02-18 00:43:17 +11:00
hacker1024
aa33cb9956 flutter: Reorganize the wrapper code 2023-02-17 23:55:13 +11:00
hacker1024
240d9bdf43 flutter: Properly set linker flags in wrapper 2023-02-17 22:48:41 +11:00
hacker1024
1d547baee0 flutter: Do not rely on pkg-config setup hook to build search path 2023-02-08 16:11:26 +11:00
hacker1024
fd46552867 flutter: Add libdeflate to build environment 2023-02-08 15:27:18 +11:00
hacker1024
e2adc5d899 flutter: Only enable Linux desktop support by default on Linux 2022-11-14 13:28:45 +11:00
hacker1024
ea48c7c9b6 flutter: Modularize unwrapped, wrapped, and FHS components 2022-11-14 13:11:49 +11:00