diff --git a/overlay/attic/default.nix b/overlay/attic/default.nix new file mode 100644 index 0000000..424cea1 --- /dev/null +++ b/overlay/attic/default.nix @@ -0,0 +1,23 @@ +final: prev: { + attic-client = prev.attic-client.override (old: { + rustPlatform = old.rustPlatform // { + buildRustPackage = + args: + old.rustPlatform.buildRustPackage ( + args + // { + version = "0.1.1"; + src = final.fetchFromGitHub { + owner = "cything"; + repo = "attic"; + rev = "3e0c381aa1b4f41234284b5491aa818c24af5983"; + hash = "sha256-kw7zeQH+mg0bCTzfr6MqlqAHzYfPSlNj2Fk+lRqVO7A="; + }; + cargoLock = null; + cargoHash = "sha256-0z7cFMMltJQt3zBQ0L+t8MLKPE+HtduWJnNXED7rEHc="; + useFetchCargoVendor = true; + } + ); + }; + }); +} diff --git a/overlay/default.nix b/overlay/default.nix index 4578a75..1710eb7 100644 --- a/overlay/default.nix +++ b/overlay/default.nix @@ -1,6 +1,7 @@ let overlays = [ ./conduwuit + ./attic ]; importedOverlays = map (m: import m) overlays; in