gauge: add passthru.withPlugins helper function
This commit is contained in:
parent
9607306a27
commit
1fc7d281e7
|
@ -1,4 +1,5 @@
|
||||||
{ gauge-unwrapped
|
{ gauge-unwrapped
|
||||||
|
, gauge
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, stdenvNoCC
|
, stdenvNoCC
|
||||||
, lib
|
, lib
|
||||||
|
@ -44,5 +45,7 @@ stdenvNoCC.mkDerivation {
|
||||||
|
|
||||||
nativeBuildInputs = [ gauge-unwrapped makeWrapper xorg.lndir ];
|
nativeBuildInputs = [ gauge-unwrapped makeWrapper xorg.lndir ];
|
||||||
|
|
||||||
|
passthru.withPlugins = f: gauge.override { plugins = f gaugePlugins; };
|
||||||
|
|
||||||
inherit (gauge-unwrapped) meta;
|
inherit (gauge-unwrapped) meta;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user