overlay attic to use my fork

This commit is contained in:
cy 2025-01-07 16:19:18 -05:00
parent 7b2f26107a
commit 3834a0667b
2 changed files with 24 additions and 0 deletions

23
overlay/attic/default.nix Normal file
View file

@ -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;
}
);
};
});
}

View file

@ -1,6 +1,7 @@
let let
overlays = [ overlays = [
./conduwuit ./conduwuit
./attic
]; ];
importedOverlays = map (m: import m) overlays; importedOverlays = map (m: import m) overlays;
in in