Skip to content

Commit 2563b3b

Browse files
net-news-wire: make wrapper
1 parent ea305d1 commit 2563b3b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkgs/by-name/ne/net-news-wire/package.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
fetchurl,
55
unzip,
66
nix-update-script,
7+
makeBinaryWrapper,
78
}:
89

910
stdenvNoCC.mkDerivation rec {
@@ -17,12 +18,17 @@ stdenvNoCC.mkDerivation rec {
1718

1819
sourceRoot = ".";
1920

20-
nativeBuildInputs = [ unzip ];
21+
nativeBuildInputs = [
22+
unzip
23+
makeBinaryWrapper
24+
];
2125

2226
installPhase = ''
2327
runHook preInstall
2428
mkdir -p $out/Applications
2529
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
2632
runHook postInstall
2733
'';
2834

0 commit comments

Comments
 (0)