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
yabai: 3.3.4 -> 3.3.6 #108861
yabai: 3.3.4 -> 3.3.6 #108861
Conversation
Update is needed for MacOS 11.1 https://github.com/koekeishiya/yabai/blob/master/CHANGELOG.md
@rubas did you actually test this? It doesn't compile on Big Sur. This package needs to be updated to utilise You can try builds of the package with: |
@cmacrae First time I hear about Is @koekeishiya already aware of this?
|
@rubas No worries. Make sure you're testing builds (as indicated in your checked items in the PR description) before submitting a PR :) This doesn't concern @koekeishiya. This is a package maintained outside of his purview. This is a nuance imposed by nixpkgs. I plan on updating the package to use |
🙄 🙈
I do not know how complicated this is ... but I'm happy to offer a coffee, if I don't have to move back to |
Haha, it's all good! At least you know now 👍 In the time being, you can use an overlay that simply grabs the latest binary from the yabai releases: self: super: {
yabai = super.yabai.overrideAttrs (o: rec {
version = "3.3.6";
src = builtins.fetchTarball {
url = "https://github.com/koekeishiya/yabai/releases/download/v${version}/yabai-v${version}.tar.gz";
sha256 = "00iblhdx89wyvasl3hm95w91z4mrwb7pbfdvg9cmpcnqphbfs5ld";
};
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/man/man1/
cp ./archive/bin/yabai $out/bin/yabai
cp ./archive/doc/yabai.1 $out/share/man/man1/yabai.1
'';
});
} |
For anyone finding this issue and wanting to install the latest Yabai (3.3.8 as of this comment) from the GitHub binaries, I had to change the overlay @cmacrae posted to the following: self: super: {
yabai = super.yabai.overrideAttrs (
o: rec {
version = "3.3.8";
src = builtins.fetchTarball {
url = "https://github.com/koekeishiya/yabai/releases/download/v${version}/yabai-v${version}.tar.gz";
sha256 = "1qh1vf52j0b3lyrm005c8c98s39rk1lq61rrq0ml2yr4h77rq3xv";
};
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/man/man1/
cp ./bin/yabai $out/bin/yabai
cp ./doc/yabai.1 $out/share/man/man1/yabai.1
'';
}
);
} My Nix version
Apparently no longer unpacks tarballs into an |
Nice, thanks for sharing @aergonaut 👍 There's a tracking issue for this amongst other things related to macOS. |
Motivation for this change
New release, needed for MacOS 11.1.
@cmacrae
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)