initial commit

This commit is contained in:
kp2pml30 2026-02-10 21:24:16 +09:00
commit c6b956ffa9
Signed by: kp2pml30
GPG key ID: CD6528BAC23E3E34
33 changed files with 3077 additions and 0 deletions

15
support/lib-xz.nix Normal file
View file

@ -0,0 +1,15 @@
{ mkMuslLib, pkgs, autotoolsHost, ... }:
mkMuslLib {
pname = "xz-musl-static";
src = pkgs.xz.src;
nativeBuildInputs = [ pkgs.updateAutotoolsGnuConfigScriptsHook ];
configurePhase = ''
./configure --host=${autotoolsHost} \
--disable-shared --enable-static \
--disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo \
--disable-scripts --disable-doc --disable-nls \
--prefix=$out
'';
buildPhase = "make -j$NIX_BUILD_CORES";
installPhase = "make install";
}