liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a172180be8ccb836ab9f79f2c13c69b5aa26fd84
parent 608d750b602c9c43735bace1a565fdb9a4cebb58
Author: Daniel Barlow <dan@telent.net>
Date:   Fri, 24 Mar 2023 23:43:13 +0000

don't set lua5_3 in overlay

sphinx depends on lua5_3, so overriding it globally means rebuilding
that - which isn't really necessary

Diffstat:
Moverlay.nix | 4++--
Mpkgs/ifwait/default.nix | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/overlay.nix b/overlay.nix @@ -2,7 +2,7 @@ final: prev: let extraPkgs = import ./pkgs/default.nix { inherit (final) callPackage; }; inherit (final) fetchpatch; - lua = prev.lua5_3.overrideAttrs(o: { + lua_no_readline = prev.lua5_3.overrideAttrs(o: { name = "lua-tty"; preBuild = '' makeFlagsArray+=(PLAT="posix" SYSLIBS="-Wl,-E -ldl" CFLAGS="-O2 -fPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN") @@ -34,7 +34,7 @@ extraPkgs // { ]; }); - lua5_3 = let s = lua.override { self = s; }; in s; + luaSmall = let s = lua_no_readline.override { self = s; }; in s; s6 = prev.s6.overrideAttrs(o: let patch = fetchpatch { diff --git a/pkgs/ifwait/default.nix b/pkgs/ifwait/default.nix @@ -1,11 +1,11 @@ { - lua5_3 + luaSmall , netlink-lua , stdenv , makeWrapper }: let - lua = lua5_3; + lua = luaSmall; netlink = netlink-lua.override {inherit lua;}; fennel = lua.pkgs.fennel; in stdenv.mkDerivation rec {