mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
amfora: remove unnecessary postInstall phase for darwin
This commit is contained in:
parent
97c0e5d8a8
commit
5a15487897
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
{ stdenv, lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "amfora";
|
||||
@ -13,7 +13,7 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "0mkk7xxfxxp1w9890mkmag11mzxhy2zmh8v1macpyp1zmzgs21f8";
|
||||
|
||||
postInstall = ''
|
||||
postInstall = lib.optionalString (!stdenv.isDarwin) ''
|
||||
sed -i "s:amfora:$out/bin/amfora:" amfora.desktop
|
||||
install -Dm644 amfora.desktop -t $out/share/applications
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user