mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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:
parent
bfb3c3d03a
commit
cc9abfd0f4
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue