feat: Improve legacyPackage function
This commit is contained in:
parent
5de4c827d8
commit
7be2edee33
7 changed files with 29 additions and 11 deletions
38
pkgs/radicle-explorer'.nix
Normal file
38
pkgs/radicle-explorer'.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
radicle-explorer,
|
||||
rootPath,
|
||||
}:
|
||||
(radicle-explorer.withConfig {
|
||||
preferredSeeds = [
|
||||
{
|
||||
hostname = "seed.youthlic.social";
|
||||
port = 443;
|
||||
scheme = "https";
|
||||
}
|
||||
{
|
||||
hostname = "ash.radicle.garden";
|
||||
port = 443;
|
||||
scheme = "https";
|
||||
}
|
||||
{
|
||||
hostname = "seed.radicle.xyz";
|
||||
port = 443;
|
||||
scheme = "https";
|
||||
}
|
||||
{
|
||||
hostname = "seed.radicle.garden";
|
||||
port = 443;
|
||||
scheme = "https";
|
||||
}
|
||||
];
|
||||
}).overrideAttrs
|
||||
(prev: {
|
||||
postInstall = (prev.postInstall or "") + ''
|
||||
ln -s ${
|
||||
rootPath + "/assets/radicle-explorer/youthlic-seed-header.png"
|
||||
} $out/images/youthlic-seed-header.png
|
||||
ln -s ${
|
||||
rootPath + "/assets/radicle-explorer/youthlic-seed-avatar.jpg"
|
||||
} $out/images/youthlic-seed-avatar.jpg
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue