1
0
Fork 0
nix-overlay/overlay.nix

27 lines
766 B
Nix
Raw Normal View History

2021-12-14 17:54:48 +00:00
_: super:
let custom = super.callPackage ./packages.nix { }; in
{
2022-03-19 21:12:18 +00:00
inherit (custom) agilebits-op;
2022-01-06 21:55:26 +00:00
inherit (custom) cliclick;
2022-05-24 08:14:27 +00:00
inherit (custom) phantomjs;
2022-01-06 21:55:26 +00:00
inherit (custom) proximity-sort;
2022-06-09 19:58:46 +00:00
inherit (custom) q;
2022-06-11 15:32:28 +00:00
fennel-luajit = super.fennel.overrideAttrs (
let
luaPackages = with super.luajitPackages; [ readline ];
in
o: rec {
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}"
'';
}
);
2021-12-14 17:54:48 +00:00
}