Browse Source

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

* release.nix: Define `succeedOnFailure', `keepBuildDirectory', and
  `buildOutOfSourceTree'.
  (build): Inherit them.
wip-grafts
Ludovic Courtès 9 years ago
parent
commit
cc9abfd0f4
  1. 7
      release.nix

7
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

Loading…
Cancel
Save