mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
net-news-wire: make wrapper
This commit is contained in:
parent
ea305d1ef5
commit
2563b3b83d
1 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
fetchurl,
|
||||
unzip,
|
||||
nix-update-script,
|
||||
makeBinaryWrapper,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
|
@ -17,12 +18,17 @@ stdenvNoCC.mkDerivation rec {
|
|||
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
nativeBuildInputs = [
|
||||
unzip
|
||||
makeBinaryWrapper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/Applications
|
||||
cp -R NetNewsWire.app $out/Applications/
|
||||
mkdir -p $out/bin
|
||||
makeWrapper $out/Applications/NetNewsWire.app/Contents/MacOS/NetNewsWire $out/bin/net-news-wire
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue