Commit 1fc7d281 authored by Marie Ramlow's avatar Marie Ramlow Committed by Yaya
Browse files

gauge: add passthru.withPlugins helper function

parent 9607306a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
{ 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;
}