release.nix: Build the daemon.
* release.nix (tarball): Add `preAutoconf'. Augment `buildInputs' and `configureFlags' to allow daemon builds. (build): Likewise.
This commit is contained in:
parent
c9b70836d0
commit
5fb868033f
13
release.nix
13
release.nix
|
@ -48,11 +48,12 @@ let
|
||||||
pkgs.releaseTools.sourceTarball {
|
pkgs.releaseTools.sourceTarball {
|
||||||
name = "guix-tarball";
|
name = "guix-tarball";
|
||||||
src = <guix>;
|
src = <guix>;
|
||||||
buildInputs = with pkgs; [ guile ];
|
buildInputs = with pkgs; [ guile sqlite bzip2 git libgcrypt ];
|
||||||
buildNativeInputs = with pkgs; [ texinfo gettext cvs pkgconfig ];
|
buildNativeInputs = with pkgs; [ texinfo gettext cvs pkgconfig ];
|
||||||
|
preAutoconf = ''git config submodule.gnulib.url "${<gnulib>}"'';
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-nix-prefix=${pkgs.nix}"
|
[ "--with-libgcrypt-prefix=${pkgs.libgcrypt}"
|
||||||
"--with-libgcrypt-prefix=${pkgs.libgcrypt}"
|
"--localstatedir=/nix/var/nix"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -62,12 +63,12 @@ let
|
||||||
let pkgs = import nixpkgs { inherit system; }; in
|
let pkgs = import nixpkgs { inherit system; }; in
|
||||||
pkgs.releaseTools.nixBuild {
|
pkgs.releaseTools.nixBuild {
|
||||||
name = "guix";
|
name = "guix";
|
||||||
buildInputs = [ pkgs.guile ];
|
buildInputs = with pkgs; [ guile sqlite bzip2 libgcrypt ];
|
||||||
buildNativeInputs = [ pkgs.pkgconfig ];
|
buildNativeInputs = [ pkgs.pkgconfig ];
|
||||||
src = jobs.tarball;
|
src = jobs.tarball;
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-nix-prefix=${pkgs.nix}"
|
[ "--with-libgcrypt-prefix=${pkgs.libgcrypt}"
|
||||||
"--with-libgcrypt-prefix=${pkgs.libgcrypt}"
|
"--localstatedir=/nix/var/nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild =
|
preBuild =
|
||||||
|
|
Loading…
Reference in New Issue