···1111 buildPhase ? ":",
1212 preInstall ? "",
1313 postInstall ? "",
1414- # name of the subdirectory in which to store the plugin
1515- installPath ? lib.getName pname,
16141715 checkInputs ? [],
1816 # plugin packages to add to the vendor paths of the test fish shell
···2624 ...
2725}:
28262929-stdenv.mkDerivation (attrs // {
2727+let
2828+ # Do not pass attributes that are only relevant to buildFishPlugin to mkDerivation.
2929+ drvAttrs = builtins.removeAttrs attrs [
3030+ "checkPlugins"
3131+ "checkFunctionDirs"
3232+ ];
3333+in
3434+3535+stdenv.mkDerivation (drvAttrs // {
3036 inherit name;
3137 inherit unpackPhase configurePhase buildPhase;
3238