release.nix: Set succeed-on-failure and build-out-source-tree.

* release.nix: Define `succeedOnFailure', `keepBuildDirectory', and
  `buildOutOfSourceTree'.
  (build): Inherit them.
This commit is contained in:
Ludovic Courtès 2012-10-27 15:31:48 +02:00
parent bfb3c3d03a
commit cc9abfd0f4

@ -22,6 +22,10 @@
let
nixpkgs = <nixpkgs>;
buildOutOfSourceTree = true;
succeedOnFailure = true;
keepBuildDirectory = true;
jobs = {
tarball =
let pkgs = import nixpkgs {}; in
@ -52,6 +56,9 @@ let
# `nixpkgs-derivation*' & co., we need to escape the chroot.
preConfigure = "export NIX_REMOTE=daemon";
__noChroot = true;
inherit succeedOnFailure keepBuildDirectory
buildOutOfSourceTree;
};
};
in