-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter.engine: init #212328
flutter.engine: init #212328
Conversation
8857160
to
55cd4f9
Compare
0512ec6
to
6bfd43d
Compare
Flutter engine now starts ninja! |
Mostly working, we just need to fix this issue now. I checked the assert and it looks like renaming the stuff in |
b8afa52
to
5e61f5c
Compare
Commits have been reordered and squashed, it's now tidy. |
5e61f5c
to
b5166bf
Compare
0d73707
to
92b6871
Compare
As requested by @FlafyDev, the engine is now opt-in as the source code is 21GB to fetch (and Flutter's tool requires the source code to be available to use the engine) and a single engine build can be around 4GB to 7GB. |
e975f8c
to
1730fa0
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1741 |
0e295c2
to
b76bbec
Compare
Update script now supports the engine. |
]; | ||
|
||
postBuild = '' | ||
ln -s /nix $out/nix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ln -s /nix $out/nix | |
mkdir -p $(dirname $out${builtins.storeDir}) | |
ln -s ${builtins.storeDir} $out${builtins.storeDir} |
or?
ln -s /nix $out/nix | |
ln -s ${buildEnv ....} $out/some-path |
not sure what direction to go here
f433b78
to
ed691c3
Compare
ed691c3
to
4a59129
Compare
Result of 1 package failed to build:
44 packages built:
|
@tomberek What's the build failure for that 1 package? Is it the pushd error? If it is then I already fixed that and pushed it. |
Result of 45 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a large closure and large build. Watch out for issues with Hydra.
I'm not a fan of the
It hardcodes "/nix/", which i'd like to avoid (perhaps with builtins.storeDir?) and perhaps ensure it is "/nix/store" instead. I'm merging as-is to make progress, but please come back to this. |
Recommendations were adopted.
Yeah, I didn't quite get to it. I'll take care of that this evening. |
Description of changes
Fixes #201574
This PR is mostly working, only thing to resolve now is a ninja issue. However, I believe this PR is just about ready for review and this PR has everything needed to make building the Flutter engine possible.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes