commit 1f19cb4f1c7e5e0f221e3f8f7236d6aeb16ebfd0
parent 213ae20beebb0a10ebd36d7f05bb6c817ac4ad76
Author: Leah (ctucx) <leah@ctu.cx>
Date: Mon, 4 Apr 2022 12:22:21 +0200
parent 213ae20beebb0a10ebd36d7f05bb6c817ac4ad76
Author: Leah (ctucx) <leah@ctu.cx>
Date: Mon, 4 Apr 2022 12:22:21 +0200
pkgs/macApps/Firefox: fancy logo!
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/pkgs/macApps/Firefox.nix b/pkgs/macApps/Firefox.nix @@ -1,6 +1,13 @@ { stdenv, fetchurl, undmg, ... }: -stdenv.mkDerivation rec { +let + FirefoxIcon = fetchurl { + name = "Firefox.icns"; + url = "https://media.macosicons.com/parse/files/macOSicons/3e2e434eb31e1d096e4fe6d87857ad0b_Firefox.icns"; + sha256 = "1gl3vvyzm6rdqi6rw2zkr87xh9yphixa9h1swmn81wi60n33qxfi"; + }; + +in stdenv.mkDerivation rec { pname = "Firefox"; version = "98.0.2"; @@ -10,6 +17,7 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p "$out/Applications" cp -r Firefox.app "$out/Applications/Firefox.app" + cp -r ${FirefoxIcon} "$out/Applications/Firefox.app/Contents/Resources/firefox.icns" ''; src = fetchurl { @@ -20,7 +28,7 @@ stdenv.mkDerivation rec { # meta = with stdenv.lib; { # description = "The Firefox web browser"; -# homepage = "https://www.mozilla.org/en-GB/firefox"; +# homepage = "https://www.mozilla.org/en-US/firefox"; # platforms = platforms.darwin; # }; }