about summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorpacien <pacien.trangirard@pacien.net>2021-01-11 03:39:57 +0100
committerpacien <pacien.trangirard@pacien.net>2021-01-11 03:39:57 +0100
commit108fd69a8c40d4488c96fd275430b6638fed19df (patch)
treea66df3e39348675f8862a3a04d984ccae207b5b5 /pkgs/shells/fish
parent165937d01ec18c80c6171fa44df054207efebe93 (diff)
downloadnixlib-108fd69a8c40d4488c96fd275430b6638fed19df.tar
nixlib-108fd69a8c40d4488c96fd275430b6638fed19df.tar.gz
nixlib-108fd69a8c40d4488c96fd275430b6638fed19df.tar.bz2
nixlib-108fd69a8c40d4488c96fd275430b6638fed19df.tar.lz
nixlib-108fd69a8c40d4488c96fd275430b6638fed19df.tar.xz
nixlib-108fd69a8c40d4488c96fd275430b6638fed19df.tar.zst
nixlib-108fd69a8c40d4488c96fd275430b6638fed19df.zip
fishPlugins.buildFishPlugin: rename checkFunctionPath parameter
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/plugins/build-fish-plugin.nix4
-rw-r--r--pkgs/shells/fish/plugins/fishtape.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/shells/fish/plugins/build-fish-plugin.nix b/pkgs/shells/fish/plugins/build-fish-plugin.nix
index 98e0912a33c6..a52c57464929 100644
--- a/pkgs/shells/fish/plugins/build-fish-plugin.nix
+++ b/pkgs/shells/fish/plugins/build-fish-plugin.nix
@@ -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 = ''
diff --git a/pkgs/shells/fish/plugins/fishtape.nix b/pkgs/shells/fish/plugins/fishtape.nix
index 326ff61c4174..82f2375d5e3f 100644
--- a/pkgs/shells/fish/plugins/fishtape.nix
+++ b/pkgs/shells/fish/plugins/fishtape.nix
@@ -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