Conversation
53b6d6a to
5988220
Compare
|
@ofborg build mpv mpv.passthru.tests |
|
Thanks for point out the closure size! It's something I'll make a PR for separately. I'm seeing the same build failure as ofBorg on |
|
Unfortunately (or not) I can't possibly comment, because this is too Darwin-specific to me. Nonetheless, I wish good luck. |
|
The error log on x86_64-darwin is different before and after commit 64bce1d Before(https://logs.nix.ci/?key=nixos/nixpkgs.214944&attempt_id=5ab1c3e7-d414-4bbe-9a9a-0bce635c1dc4): After(https://logs.nix.ci/?key=nixos/nixpkgs.214944&attempt_id=76802592-760c-47e1-9141-4465b7c78f4c): I can reproduce the same error using |
Atemu
left a comment
There was a problem hiding this comment.
Result of nixpkgs-review pr 214944 run on aarch64-darwin 1
1 package built:
- mpv
Diff LGTM and it works just fine on aarch64-darwin.
Closure size optimisation can come later, that's not a hard blocker IMO.
Once the x86 issue is fixed, this is good to go.
This commit should be reverted after [x86_64-darwin build failure][1] is fixed [1]: https://logs.nix.ci/?key=nixos/nixpkgs.214944&attempt_id=76802592-760c-47e1-9141-4465b7c78f4c
Atemu
left a comment
There was a problem hiding this comment.
Result of nixpkgs-review pr 214944 run on aarch64-darwin 1
5 packages marked as broken and skipped:
- hydrus
- jellyfin-mpv-shim
- mpc-qt
- plex-mpv-shim
- sublime-music
2 packages failed to build:
- mnemosyne
- subtitleedit
11 packages built:
- ani-cli
- anki
- cplay-ng
- curseradio
- dmlive
- mpv-unwrapped
- python310Packages.mpv
- python311Packages.mpv
- somafm-cli
- wtwitch
- ytfzf
|
Result of 5 packages marked as broken and skipped:
13 packages built:
|
Swift support doesn’t seem to work with back-deployed dylibs, so set the deployment target to 10.15 to force Swift to link against the system Swift libraries. The change to use the Swift stdenv fixes the errors reported in NixOS#214944.
Description of changes
Since swift is available on master now, I've rebased @stephank's work on mpv stephank@4ce183c to master, and made this pull request for discussion.
When I used nix-tree to check the closure size of the built mpv, I've found swift lib references clang, and make the closure size pretty big:
Is that expected?
Removing
preConfigurewill make the closure size even bigger:Things done
sandbox = trueset 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.shto update generated release notes