1
0
Fork 0

Remove fennel-luajit

This commit is contained in:
Daniel Kempkens 2022-09-26 13:42:50 +02:00
parent dff00fd967
commit aa04cebd9b
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 0 additions and 21 deletions

View file

@ -19,7 +19,6 @@ jobs:
with:
name: nifoc
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build '.#fennel-luajit'
- run: nix build '.#luarocks-jsregexp'
- run: nix build '.#q'
@ -35,7 +34,6 @@ jobs:
name: nifoc
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build '.#cliclick'
- run: nix build '.#fennel-luajit'
- run: nix build '.#luarocks-jsregexp'
- run: nix build '.#phantomjs'
- run: nix build '.#q'

View file

@ -4,7 +4,6 @@
* [agilebits-op](https://app-updates.agilebits.com/product_history/CLI2)
* [cliclick](https://github.com/BlueM/cliclick)
* fennel-luajit
* [luarocks-jsregexp](https://github.com/kmarius/jsregexp)
* [phantomjs](https://github.com/ariya/phantomjs)
* [q](https://github.com/natesales/q)

View file

@ -6,7 +6,6 @@ in
{
inherit (custom) agilebits-op;
inherit (custom) cliclick;
inherit (custom) fennel-luajit;
inherit (custom) luarocks-jsregexp;
inherit (custom) phantomjs;
inherit (custom) q;

View file

@ -3,7 +3,6 @@
{
agilebits-op = import ./packages/agilebits-op.nix { inherit system lib pkgs; };
cliclick = import ./packages/cliclick.nix { inherit system lib pkgs; };
fennel-luajit = import ./packages/fennel-luajit.nix { inherit system lib pkgs; };
luarocks-jsregexp = import ./packages/luarocks-jsregexp.nix { inherit system lib pkgs; };
phantomjs = import ./packages/phantomjs.nix { inherit system lib pkgs; };
q = import ./packages/q.nix { inherit system lib pkgs; };

View file

@ -1,16 +0,0 @@
{ system, lib, pkgs }:
pkgs.fennel.overrideAttrs (
let
luaPackages = with pkgs.luajitPackages; [ readline ];
in
o: rec {
buildInputs = [ pkgs.luajit pkgs.makeWrapper ] ++ luaPackages;
postInstall = o.postInstall or "" + ''
wrapProgram $out/bin/fennel \
--suffix LUA_CPATH ";" "${lib.concatMapStringsSep ";" pkgs.luajitPackages.getLuaCPath luaPackages}" \
--suffix LUA_PATH ";" "${lib.concatMapStringsSep ";" pkgs.luajitPackages.getLuaPath luaPackages}"
'';
}
)