From 00d73f9ba7dfa8aefc023018101bf07847d1e705 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 26 Oct 2022 08:35:11 -0600 Subject: [PATCH] overlay.. hmmmm i don't know why it's not workign /o\ --- overlays/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/overlays/default.nix b/overlays/default.nix index 4d77029..5c44c8b 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -14,21 +14,21 @@ let in { nixpkgs.overlays = if isUnstable then [ openssh - (self: super: rec { + + (self: super: { matrix-synapse = super.matrix-synapse.overrideAttrs (old: rec { - pname = "matrix-synapse"; version = "1.70.0"; src = super.fetchFromGitHub { owner = "matrix-org"; repo = "synapse"; - rev = "v${version}"; - sha256 = "sha256-SkPQPkSF6cppCS58e7wtkBh4nIFekt1O7qbpA6T0lEk="; + rev = "v1.70.0"; + hash = "sha256-SkPQPkSF6cppCS58e7wtkBh4nIFekt1O7qbpA6T0lEk="; }; cargoDeps = super.rustPlatform.fetchCargoTarball { inherit src; - name = "${pname}-${version}"; - sha256 = "sha256-ucfk2rWU4k9kDIBgbOgp+3ORog/66FgZ90qxF33IuC4="; + name = "matrix-synapse-1.70.0"; + hash = "sha256-ucfk2rWU4k9kDIBgbOgp+3ORog/66FgZ90qxF33IuC4="; }; }); })