forked from lix-project/lix
* A job for creating a fully statically linked binary tarball.
This commit is contained in:
parent
9856efc7b0
commit
61686926d1
23
release.nix
23
release.nix
|
@ -12,7 +12,7 @@ let
|
||||||
|
|
||||||
with import nixpkgs {};
|
with import nixpkgs {};
|
||||||
|
|
||||||
releaseTools.makeSourceTarball {
|
releaseTools.sourceTarball {
|
||||||
name = "nix-tarball";
|
name = "nix-tarball";
|
||||||
version = builtins.readFile ./version;
|
version = builtins.readFile ./version;
|
||||||
src = nix;
|
src = nix;
|
||||||
|
@ -76,6 +76,27 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
static =
|
||||||
|
{ tarball ? jobs.tarball {}
|
||||||
|
, system ? "i686-linux"
|
||||||
|
}:
|
||||||
|
|
||||||
|
with import nixpkgs {inherit system;};
|
||||||
|
|
||||||
|
releaseTools.binaryTarball {
|
||||||
|
name = "nix-static-tarball";
|
||||||
|
src = tarball;
|
||||||
|
|
||||||
|
buildInputs = [curl perl bzip2];
|
||||||
|
|
||||||
|
configureFlags = ''
|
||||||
|
--disable-init-state
|
||||||
|
--disable-old-db-compat --with-aterm=${aterm242fixes} --with-bzip2=${bzip2}
|
||||||
|
--enable-static-nix
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
coverage =
|
coverage =
|
||||||
{ tarball ? jobs.tarball {}
|
{ tarball ? jobs.tarball {}
|
||||||
}:
|
}:
|
||||||
|
|
Loading…
Reference in a new issue