Compare commits

...

2 Commits

Author SHA1 Message Date
bfb68db9de fix(bepasty): workaround for nixpkgs#500538
Some checks failed
build / build-sydpc (push) Failing after 26s
build / build-fruitbook (push) Failing after 3s
build / build-deertopia (push) Failing after 2s
https://github.com/NixOS/nixpkgs/pull/500538
2026-03-16 16:47:58 -06:00
8f36738629 refactor(bepasty): no with lib 2026-03-16 16:44:07 -06:00

View File

@@ -1,12 +1,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib;
let cfg = config.sydnix.deertopia.bepasty; let cfg = config.sydnix.deertopia.bepasty;
in { in {
options = { options = {
sydnix.deertopia.bepasty = { sydnix.deertopia.bepasty = {
enable = mkEnableOption "Bepasty"; enable = lib.mkEnableOption "Bepasty";
port = lib.mkOption { port = lib.mkOption {
default = 22018; default = 22018;
@@ -28,6 +26,26 @@ in {
config.services.bepasty.servers."bin.deertopia.net".dataDir config.services.bepasty.servers."bin.deertopia.net".dataDir
]; ];
# See https://github.com/NixOS/nixpkgs/pull/500538
nixpkgs.overlays = [
(self: super: {
python3 = super.python3.override {
self = self.python3;
packageOverrides = self: super: {
xstatic-bootstrap =
super.xstatic-bootstrap.overridePythonAttrs (oldAttrs: rec {
version = "4.5.3.1";
src = oldAttrs.src.override {
pname = "XStatic-Bootstrap";
inherit version;
hash = "sha256-z2fSBUN7MlCKiLaafnxbviylqK5xCXORpqb1EOv9KCA=";
};
});
};
};
})
];
services.bepasty = { services.bepasty = {
enable = true; enable = true;
servers."bin.deertopia.net" = { servers."bin.deertopia.net" = {