lua5Packages.luuid: fix build

libuuid is null outside of linux which may explain why ofborg refused it.
wip/yesman
Matthieu Coudron 5 years ago committed by Jörg Thalheim
parent ed7818219a
commit 246e354e1f
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4
  1. 13
      pkgs/development/lua-modules/overrides.nix

@ -55,4 +55,17 @@ with super;
install -D completions/zsh/_busted $out/share/zsh/site-functions/_busted
'';
});
luuid = super.luuid.override({
buildInputs = [ pkgs.libuuid ];
extraConfig = ''
variables = {
LIBUUID_INCDIR="${pkgs.lib.getDev pkgs.libuuid}/include";
LIBUUID_LIBDIR="${pkgs.lib.getLib pkgs.libuuid}/lib";
}
'';
meta = {
platforms = pkgs.lib.platforms.linux;
};
});
}

Loading…
Cancel
Save