make grafana work again by overlaying from small

This commit is contained in:
cy 2024-12-30 17:27:24 -05:00
parent fbe101ac96
commit 8079585c06
3 changed files with 22 additions and 0 deletions

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-small.url = "github:nixos/nixpkgs/nixos-unstable-small";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
@ -55,6 +56,9 @@
flake: pkgNames: final: prev:
overridePkgsFromFlake prev flake pkgNames;
overlays = [
(overlayPkgsFromFlake inputs.nixpkgs-small [
"prometheus" # fails to build on unstable
])
];
pkgsFor = lib.genAttrs systems (