diff --git a/overlays/default.nix b/overlays/default.nix index 3057d9a..9ea3f40 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -12,10 +12,12 @@ matrix-synapse = prIsOpen.overlay 0 (import ./matrix-synapse.nix); #nixd = prIsOpen.overlay 238779 (import ./nixd.nix); heisenbridge = prIsOpen.overlay 0 (import ./heisenbridge.nix); + rex = prIsOpen.overlay 0 (import ./rex.nix); in { nixpkgs.overlays = if isUnstable then [ + rex (_: super: { clementine = super.clementine.overrideAttrs (_: { patches = [ @@ -29,6 +31,7 @@ in { }) ] else [ + rex matrix-synapse heisenbridge ]; diff --git a/overlays/rex.nix b/overlays/rex.nix new file mode 100644 index 0000000..ee13f74 --- /dev/null +++ b/overlays/rex.nix @@ -0,0 +1,14 @@ +let + hash = "sha256-An0wQu+UC2dZDlmJ6W8irh5nunRIlcXdPbVpwFE3Alw="; + rex = _: super: { + rex = super.rex.overrideAttrs (_: rec { + pname = "Rex"; + version = "1.14.3"; + src = super.fetchurl { + url = "mirror://cpan/authors/id/F/FE/FERKI/Rex-${version}.tar.gz"; + inherit hash; + }; + }); + }; +in + rex