luaPackages.nlua: disable patchShebangAuto
the automatic shebang patch adds a -l in the shebang which nlua picks up and aborts saying it doesn't accept -l
This commit is contained in:
parent
41992852aa
commit
dc40530573
@ -480,7 +480,6 @@ in
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
plenary-nvim = prev.plenary-nvim.overrideAttrs (oa: {
|
||||
postPatch = ''
|
||||
sed -Ei lua/plenary/curl.lua \
|
||||
@ -585,6 +584,15 @@ in
|
||||
};
|
||||
});
|
||||
|
||||
nlua = prev.nlua.overrideAttrs(oa: {
|
||||
|
||||
# patchShebang removes the nvim in nlua's shebang so we hardcode one
|
||||
postFixup = ''
|
||||
sed -i -e "1 s|.*|#\!${coreutils}/bin/env -S ${neovim-unwrapped}/bin/nvim -l|" "$out/bin/nlua"
|
||||
'';
|
||||
dontPatchShebangs = true;
|
||||
});
|
||||
|
||||
rapidjson = prev.rapidjson.overrideAttrs (oa: {
|
||||
preBuild = ''
|
||||
sed -i '/set(CMAKE_CXX_FLAGS/d' CMakeLists.txt
|
||||
|
Loading…
Reference in New Issue
Block a user