mirror of https://github.com/voidlizard/hbs2
possible mac unix socket fix, static build fix
This commit is contained in:
parent
7b30dddbe8
commit
826f64f2d2
|
@ -58,6 +58,15 @@ outputs = { self, nixpkgs, flake-utils, ... }@inputs:
|
|||
scotty = new.callHackage "scotty" "0.21" {};
|
||||
skylighting-lucid = new.callHackage "skylighting-lucid" "1.0.4" { };
|
||||
wai-app-file-cgi = dontCoverage (dontCheck (jailbreakUnbreak pkgs old.wai-app-file-cgi));
|
||||
libyaml =
|
||||
if pkgs.hostPlatform.isStatic
|
||||
then old.libyaml.overrideDerivation (drv: {
|
||||
postPatch = let sed = "${pkgs.gnused}/bin/sed"; in ''
|
||||
${sed} -i -e 's/buffer_init/snoyberg_buffer_init/' c/helper.c include/helper.h
|
||||
${sed} -i -e 's/"buffer_init"/"snoyberg_buffer_init"/' src/Text/Libyaml.hs
|
||||
'';
|
||||
})
|
||||
else old.libyaml;
|
||||
};
|
||||
|
||||
overrideComposable = pkgs: hpkgs: overrides:
|
||||
|
|
|
@ -166,7 +166,7 @@ runMessagingUnix env = do
|
|||
let openSock = liftIO $ socket AF_UNIX Stream defaultProtocol
|
||||
let closeSock = liftIO . close
|
||||
|
||||
touch (msgUnixSockPath env)
|
||||
-- touch (msgUnixSockPath env)
|
||||
|
||||
sock <- ContT $ bracket openSock closeSock
|
||||
|
||||
|
|
Loading…
Reference in New Issue