aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-10-27 15:31:48 +0200
committerLudovic Courtès <ludo@gnu.org>2012-10-27 15:32:40 +0200
commitcc9abfd0f451652be4d08874a8f5b25f026fd44e (patch)
treeb1ccc1135488e26f84bb6dbb45d6d2c4ac997eff
parentbfb3c3d03a168002d77631a653457556a96d9bdd (diff)
downloadpatches-cc9abfd0f451652be4d08874a8f5b25f026fd44e.tar
patches-cc9abfd0f451652be4d08874a8f5b25f026fd44e.tar.gz
release.nix: Set succeed-on-failure and build-out-source-tree.
* release.nix: Define `succeedOnFailure', `keepBuildDirectory', and `buildOutOfSourceTree'. (build): Inherit them.
-rw-r--r--release.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/release.nix b/release.nix
index b65cf7533a..8802f5456e 100644
--- a/release.nix
+++ b/release.nix
@@ -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