lua5Packages.luuid: fix build
libuuid is null outside of linux which may explain why ofborg refused it.
This commit is contained in:
parent
ed7818219a
commit
246e354e1f
@ -55,4 +55,17 @@ with super;
|
|||||||
install -D completions/zsh/_busted $out/share/zsh/site-functions/_busted
|
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…
Reference in New Issue
Block a user