refactor(firefox-gx): fetch src from flake inputs
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
5287b37f45
commit
261bc1f180
4 changed files with 8 additions and 10 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -1,13 +1,16 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
firefox-gx-src,
|
||||
...
|
||||
}: let
|
||||
inherit (builtins) readFile;
|
||||
firefox-addons = pkgs.recurseIntoAttrs (pkgs.callPackage ./addons {});
|
||||
sound-volume = firefox-addons."600-sound-volume";
|
||||
|
||||
firefox-gx = pkgs.callPackage ./firefox-gx {};
|
||||
firefox-gx = pkgs.callPackage ./firefox-gx {
|
||||
inherit firefox-gx-src;
|
||||
};
|
||||
in {
|
||||
home.file = {
|
||||
".mozilla/firefox/matt/chrome/components".source = "${firefox-gx}/chrome/components";
|
||||
|
|
|
@ -1,18 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
firefox-gx-src,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "firefox-gx";
|
||||
version = "9.0";
|
||||
version = firefox-gx-src.rev;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Godiesc";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-FCx5mADqrjAN27lLaZViOFGUNDg/2jpern8sem8u49w=";
|
||||
};
|
||||
src = firefox-gx-src;
|
||||
|
||||
installPhase = ''
|
||||
# Personal changes
|
||||
|
|
Loading…
Reference in a new issue