-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
miru: darwin support, add maintainer #321539
Conversation
ace7335
to
3947bb0
Compare
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.
I cannot test it myself but I'll trust you and the CI 😄
LGTM
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1768 |
Result of 1 package built:
|
pkgs/by-name/mi/miru/darwin.nix
Outdated
nativeBuildInputs = [ unzip ]; | ||
|
||
installPhase = '' | ||
mkdir -p $out/{bin,Applications} | ||
cp -r Miru.app $out/Applications/ | ||
ln -s $out/Applications/Miru.app/Contents/MacOS/Miru $out/bin/miru | ||
''; |
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.
nativeBuildInputs = [ unzip ]; | |
installPhase = '' | |
mkdir -p $out/{bin,Applications} | |
cp -r Miru.app $out/Applications/ | |
ln -s $out/Applications/Miru.app/Contents/MacOS/Miru $out/bin/miru | |
''; | |
nativeBuildInputs = [ | |
unzip | |
makeWrapper | |
]; | |
installPhase = '' | |
runHook preInstall | |
mkdir -p $out/{bin,Applications} | |
cp -r Miru.app $out/Applications/ | |
makeWrapper $out/Applications/Miru.app/Contents/MacOS/Miru $out/bin/miru | |
runHook postInstall | |
''; |
$out/bin/miru
won't work as expected when created with ln -s
.
3947bb0
to
50831cf
Compare
50831cf
to
45cfa86
Compare
@wegank addressed your comments, and tested out "$out/bin/miru", works perfectly, thanks for the suggestion. Ready for re-review 🙏🏻 |
Result of 1 package built:
|
Description of changes
linux
anddarwin
linux
as it is, and added relevant code fordarwin
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.