diff --git a/default.nix b/default.nix index e552abfcff..e739e8804f 100644 --- a/default.nix +++ b/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation { # Wrap application for macOS as lowercase binary + lib.optionalString stdenv.isDarwin '' mkdir -p $out/Applications + find $out mv $out/bin/${appname}.app $out/Applications makeWrapper $out/Applications/${appname}.app/Contents/MacOS/${appname} $out/bin/${pname} '';