net-news-wire: make wrapper

+7 -1
+7 -1
pkgs/by-name/ne/net-news-wire/package.nix
··· 4 4 fetchurl, 5 5 unzip, 6 6 nix-update-script, 7 + makeBinaryWrapper, 7 8 }: 8 9 9 10 stdenvNoCC.mkDerivation rec { ··· 17 18 18 19 sourceRoot = "."; 19 20 20 - nativeBuildInputs = [ unzip ]; 21 + nativeBuildInputs = [ 22 + unzip 23 + makeBinaryWrapper 24 + ]; 21 25 22 26 installPhase = '' 23 27 runHook preInstall 24 28 mkdir -p $out/Applications 25 29 cp -R NetNewsWire.app $out/Applications/ 30 + mkdir -p $out/bin 31 + makeWrapper $out/Applications/NetNewsWire.app/Contents/MacOS/NetNewsWire $out/bin/net-news-wire 26 32 runHook postInstall 27 33 ''; 28 34