forked from mirrors_public/oddlama_nix-config
feat: add kanidm patch to allow provisioning, fix grafana hash from upstream
This commit is contained in:
parent
e5d8c1f74a
commit
0389e98dd9
2 changed files with 26 additions and 1 deletions
|
@ -2,6 +2,28 @@
|
|||
(import ./caddy.nix)
|
||||
(import ./oauth2-proxy)
|
||||
(self: super: {
|
||||
kanidm-secret-manipulator = self.callPackage ./kanidm-secret-manipulator.nix {};
|
||||
grafana = super.grafana.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
srcStatic = super.fetchurl {
|
||||
url = "https://dl.grafana.com/oss/release/grafana-${previousAttrs.version}.linux-amd64.tar.gz";
|
||||
hash = "sha256-QFRahjDyL7BNikK2cCsFLfu4/odDbkCxplf6f7yCezE=";
|
||||
};
|
||||
});
|
||||
kanidm-secret-manipulator = super.callPackage ./kanidm-secret-manipulator.nix {};
|
||||
kanidm = super.kanidm.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
patches = [
|
||||
(super.fetchpatch {
|
||||
name = "group-list-json-output.patch";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/kanidm/kanidm/pull/2016.patch";
|
||||
hash = "sha256-gc75KBzhth4fZvuvRa3Rjg1J7DIGy25mzUPCf2aha80=";
|
||||
})
|
||||
(super.fetchpatch {
|
||||
name = "person-and-oauth-json-output.patch";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/kanidm/kanidm/pull/2017.patch";
|
||||
hash = "sha256-fZgJ7dY2LHvBi64A/6o7kfArUAsLqjWRRpH2q1GL5ic=";
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
});
|
||||
})
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue