cutemaze: unbreak on darwin
This commit is contained in:
parent
a8fa8c2e90
commit
a4122c898c
1 changed files with 9 additions and 3 deletions
|
@ -26,14 +26,20 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtwayland
|
||||
qtsvg
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
qtwayland
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
installPhase = if stdenv.isDarwin then ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/Applications
|
||||
mv CuteMaze.app $out/Applications
|
||||
'';
|
||||
makeWrapper $out/Applications/CuteMaze.app/Contents/MacOS/CuteMaze $out/bin/cutemaze
|
||||
|
||||
runHook postInstall
|
||||
'' else null;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/gottcode/cutemaze/blob/v${version}/ChangeLog";
|
||||
|
|
Loading…
Reference in a new issue