release.nix: Set succeed-on-failure and build-out-source-tree.
* release.nix: Define `succeedOnFailure', `keepBuildDirectory', and `buildOutOfSourceTree'. (build): Inherit them.master
parent
bfb3c3d03a
commit
cc9abfd0f4
|
@ -22,6 +22,10 @@
|
||||||
let
|
let
|
||||||
nixpkgs = <nixpkgs>;
|
nixpkgs = <nixpkgs>;
|
||||||
|
|
||||||
|
buildOutOfSourceTree = true;
|
||||||
|
succeedOnFailure = true;
|
||||||
|
keepBuildDirectory = true;
|
||||||
|
|
||||||
jobs = {
|
jobs = {
|
||||||
tarball =
|
tarball =
|
||||||
let pkgs = import nixpkgs {}; in
|
let pkgs = import nixpkgs {}; in
|
||||||
|
@ -52,6 +56,9 @@ let
|
||||||
# `nixpkgs-derivation*' & co., we need to escape the chroot.
|
# `nixpkgs-derivation*' & co., we need to escape the chroot.
|
||||||
preConfigure = "export NIX_REMOTE=daemon";
|
preConfigure = "export NIX_REMOTE=daemon";
|
||||||
__noChroot = true;
|
__noChroot = true;
|
||||||
|
|
||||||
|
inherit succeedOnFailure keepBuildDirectory
|
||||||
|
buildOutOfSourceTree;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Reference in New Issue