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
mpv: 0.37.0 -> 0.38.0 #304349
base: master
Are you sure you want to change the base?
mpv: 0.37.0 -> 0.38.0 #304349
Conversation
6f9fc47
to
44dddf5
Compare
26e0967
to
7e08e28
Compare
@AndersonTorres The darwin patch shouldn't be needed anymore. This also means the package requires Edit: It doesn't build on darwin, it looks like this update might require a more recent apple SDK. ( |
|
80d6fa1
to
646e1d1
Compare
ec51511
to
fddef62
Compare
What is happening that this expression is not building? |
If I had to guess it could be related to wrapping mpv? You could try moving it to |
Currently mpv uses that dreadful |
553b261
to
4e2bb19
Compare
@ofborg build mpv-unwrapped |
|
No, it does not. Saving my fingers: |
Yeah, I just tested and ended up on the same error. |
I'm not completely sure why it fails to eval, but you can use the following as a workaround: --- i/pkgs/applications/video/mpv/default.nix
+++ w/pkgs/applications/video/mpv/default.nix
@@ -11,6 +11,7 @@
ninja,
pkg-config,
python3,
+ sigtool,
ffmpeg,
freefont_ttf,
freetype,
@@ -210,7 +211,7 @@ stdenv'.mkDerivation (finalAttrs: {
pkg-config
]
++ lib.optionals stdenv.isDarwin [
- darwin.sigtool
+ sigtool
xcbuild.xcrun
]
++ lib.optionals swiftSupport [ swift ]
--- i/pkgs/top-level/all-packages.nix
+++ w/pkgs/top-level/all-packages.nix
@@ -33005,6 +33005,7 @@ with pkgs;
mpv-unwrapped = darwin.apple_sdk_11_0.callPackage ../applications/video/mpv {
stdenv = if stdenv.isDarwin then swiftPackages.stdenv else stdenv;
+ inherit (darwin) sigtool;
inherit lua;
}; or --- c/pkgs/applications/video/mpv/default.nix
+++ i/pkgs/applications/video/mpv/default.nix
@@ -22,6 +22,7 @@
xcbuild,
rcodesign,
+ buildPackages,
waylandSupport ? stdenv.isLinux,
@@ -210,7 +211,7 @@ stdenv'.mkDerivation (finalAttrs: {
pkg-config
]
++ lib.optionals stdenv.isDarwin [
- darwin.sigtool
+ buildPackages.darwin.sigtool
xcbuild.xcrun
] |
Let's try. P.S.: can I put this on the account of splicing? |
OfBorg is now all-green. |
please mark it as broken on Darwin. I'll try to fix it later |
LGTM, Thank you! |
Description of changes
closes #305164
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.