From cbb1de804ece9272c6e9212e57399a37e5767422 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 23 Apr 2024 20:09:41 +0100 Subject: [PATCH] switch to minisock fork witj poll() call this is likely to be temporary as minisock is getting replaced with lualinux --- pkgs/minisock/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/minisock/default.nix b/pkgs/minisock/default.nix index 0495a5e..497e910 100644 --- a/pkgs/minisock/default.nix +++ b/pkgs/minisock/default.nix @@ -1,16 +1,17 @@ { lua, lib, fetchFromGitHub }: -let pname = "minisock"; +let + pname = "minisock"; + src = fetchFromGitHub { + repo = "minisock"; + owner = "telent"; + rev = "f31926e8aac6922923d4e83ed3e85b727172e9c5"; + hash = "sha256-/RlhnRrIrXa/86mX20RMLtzmGdoeA7zVc8uBoFyexnY="; + }; in lua.pkgs.buildLuaPackage { inherit pname; version = "0.1"; # :shrug: - src = fetchFromGitHub { - repo = "minisock"; - owner = "philanc"; - rev = "a20db2aaa871653c61045019633279167cf1b458"; - hash = "sha256-zB9KSt0WEGCSYTLA6W9QrsVRFEZYaoBBeXx9VEXmsGY="; - }; - + inherit src; makeFlags = [ "LUADIR=." "minisock.so" ]; installPhase = ''