Skip to content

Commit 9e9059c

Browse files
authored
Merge pull request #708 from linj-fork/pr/lychee-getExe
lychee: use lib.getExe instead of hardcoding binary name
2 parents 3cfd774 + 3b95ae2 commit 9e9059c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/hooks.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3718,7 +3718,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm
37183718
[ (configPath != "") " --config ${configPath}" ]
37193719
]);
37203720
in
3721-
"${hooks.lychee.package}/bin/lychee${cmdArgs} ${hooks.lychee.settings.flags}";
3721+
"${lib.getExe hooks.lychee.package}${cmdArgs} ${hooks.lychee.settings.flags}";
37223722
types = [ "text" ];
37233723
};
37243724
markdownlint =

0 commit comments

Comments
 (0)