From 1fc7d281e7a9c370468157f03d44f2b40752c648 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Mon, 11 Mar 2024 13:54:45 +0100 Subject: [PATCH] gauge: add passthru.withPlugins helper function --- pkgs/development/tools/gauge/wrapper.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/gauge/wrapper.nix b/pkgs/development/tools/gauge/wrapper.nix index cbc192bf12c4..12e2923ada05 100644 --- a/pkgs/development/tools/gauge/wrapper.nix +++ b/pkgs/development/tools/gauge/wrapper.nix @@ -1,4 +1,5 @@ { gauge-unwrapped +, gauge , makeWrapper , stdenvNoCC , lib @@ -44,5 +45,7 @@ stdenvNoCC.mkDerivation { nativeBuildInputs = [ gauge-unwrapped makeWrapper xorg.lndir ]; + passthru.withPlugins = f: gauge.override { plugins = f gaugePlugins; }; + inherit (gauge-unwrapped) meta; }