summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
Diffstat (limited to 'release.nix')
-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