fennel: Add direct readline dependency
This commit is contained in:
parent
06f281019a
commit
9f6537f090
2 changed files with 11 additions and 4 deletions
|
@ -1,7 +1,16 @@
|
|||
self: super: {
|
||||
fennel-luajit = super.fennel.overrideAttrs (
|
||||
let
|
||||
luaPackages = with super.luajitPackages; [ readline ];
|
||||
in
|
||||
o: rec {
|
||||
buildInputs = [ super.luajit ];
|
||||
buildInputs = [ super.luajit super.makeWrapper ] ++ luaPackages;
|
||||
|
||||
postInstall = o.postInstall or "" + ''
|
||||
wrapProgram $out/bin/fennel \
|
||||
--suffix LUA_CPATH ";" "${super.lib.concatMapStringsSep ";" super.luajitPackages.getLuaCPath luaPackages}" \
|
||||
--suffix LUA_PATH ";" "${super.lib.concatMapStringsSep ";" super.luajitPackages.getLuaPath luaPackages}"
|
||||
'';
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ in
|
|||
sumneko-lua-language-server
|
||||
taplo-lsp
|
||||
|
||||
# LSP Tools
|
||||
# Diagnostic Tools
|
||||
deadnix
|
||||
hadolint
|
||||
fennel-luajit
|
||||
|
@ -56,8 +56,6 @@ in
|
|||
statix
|
||||
];
|
||||
|
||||
extraLuaPackages = with pkgs.luajitPackages; [ readline ];
|
||||
|
||||
plugins = (with customPlugins; [
|
||||
# Fixes
|
||||
impatient-nvim
|
||||
|
|
Loading…
Reference in a new issue