fishPlugins.buildFishPlugin: rename checkFunctionPath parameter

This commit is contained in:
pacien
2021-01-11 03:39:57 +01:00
parent 165937d01e
commit 108fd69a8c
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ attrs@{
# plugin packages to add to the vendor paths of the test fish shell
checkPlugins ? [],
# vendor directories to add to the function path of the test fish shell
checkFunctionPath ? [],
checkFunctionDirs ? [],
# test script to be executed in a fish shell
checkPhase ? "",
doCheck ? checkPhase != "",
@@ -57,7 +57,7 @@ stdenv.mkDerivation (attrs // {
checkInputs = [ (wrapFish {
pluginPkgs = checkPlugins;
functionDirs = checkFunctionPath;
functionDirs = checkFunctionDirs;
}) ] ++ checkInputs;
checkPhase = ''

View File

@@ -11,7 +11,7 @@ buildFishPlugin rec {
sha256 = "0dxcyhs2shhgy5xnwcimqja8vqsyk841x486lgq13i3y1h0kp2kd";
};
checkFunctionPath = [ "./" ]; # fishtape is introspective
checkFunctionDirs = [ "./" ]; # fishtape is introspective
checkPhase = ''
rm test/tty.fish # test expects a tty
fishtape test/*.fish