We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea305d1 commit 2563b3bCopy full SHA for 2563b3b
pkgs/by-name/ne/net-news-wire/package.nix
@@ -4,6 +4,7 @@
4
fetchurl,
5
unzip,
6
nix-update-script,
7
+ makeBinaryWrapper,
8
}:
9
10
stdenvNoCC.mkDerivation rec {
@@ -17,12 +18,17 @@ stdenvNoCC.mkDerivation rec {
17
18
19
sourceRoot = ".";
20
- nativeBuildInputs = [ unzip ];
21
+ nativeBuildInputs = [
22
+ unzip
23
+ makeBinaryWrapper
24
+ ];
25
26
installPhase = ''
27
runHook preInstall
28
mkdir -p $out/Applications
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
32
runHook postInstall
33
'';
34
0 commit comments