initial commit
This commit is contained in:
commit
c6b956ffa9
33 changed files with 3077 additions and 0 deletions
15
support/lib-xz.nix
Normal file
15
support/lib-xz.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue