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
mslink: fix darwin build #119228
mslink: fix darwin build #119228
Conversation
@@ -17,6 +17,9 @@ stdenv.mkDerivation rec { | |||
''; | |||
|
|||
installPhase = '' | |||
if [[ "$(uname)" == "Darwin" ]]; then | |||
mv mslink.exe mslink | |||
fi | |||
install -D mslink $out/bin/mslink | |||
''; | |||
|
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.
Can you update the homepage to https://www.mamachine.org/mslink/index.en.html
.
@@ -17,6 +17,9 @@ stdenv.mkDerivation rec { | |||
''; | |||
|
|||
installPhase = '' | |||
if [[ "$(uname)" == "Darwin" ]]; then | |||
mv mslink.exe mslink |
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.
Would it hurt to do this on all platforms?
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 checks OS != Linux -> .exe, so this is not required there
Result of 1 package built successfully:
1 suggestion:
Result of 1 package built successfully:
1 suggestion:
|
Motivation for this change
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)