mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
3ba1a06a78
This contains the base infrastructure (including a basic update script) for maintaining Grafana plugins inside Nix, which, in a subsequent commit, will be used for allowing the NixOS Grafana module to automatically install plugins.
8 lines
141 B
Nix
8 lines
141 B
Nix
{ newScope, pkgs }:
|
|
|
|
let
|
|
callPackage = newScope (pkgs // plugins);
|
|
plugins = import ./plugins.nix { inherit callPackage; };
|
|
in
|
|
plugins
|