mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +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
|