Skip to content

Commit 051c94e

Browse files
committed
Making the mantis zip archive part of the hydra build.
1 parent dd65947 commit 051c94e

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

jobsets/mantis.nix

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,24 @@ stdenv.mkDerivation {
77

88
buildInputs = [ scala sbt sbtVerify unzip ];
99

10-
buildPhase = ''
10+
outputs = [ "out" "zip" ];
11+
12+
configurePhase = ''
1113
export HOME="$NIX_BUILD_TOP"
14+
'';
15+
16+
buildPhase = ''
1217
cp -r ${sbtVerify} target
1318
chmod -R u+w target
1419
1520
sbt 'set test in Test := {}' dist
1621
'';
1722

1823
installPhase = ''
24+
cp target/universal/mantis-1.0-daedalus-rc1.zip $zip
25+
1926
mkdir $out
20-
unzip target/universal/mantis-1.0-daedalus-rc1.zip
27+
unzip $zip
2128
mv mantis-1.0-daedalus-rc1/* $out
2229
'';
2330
}

jobsets/release.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ rec {
88
sbtVerify = callPackage ./sbt-verify.nix {
99
inherit sbtVerifySrc;
1010
};
11+
1112
mantis = callPackage ./mantis.nix {
1213
inherit mantisSrc;
1314
inherit sbtVerify;
1415
};
1516

17+
mantisZip = mantis.zip;
18+
1619
kevm = pkgs.callPackage ./kevm.nix {
1720
inherit kevmSrc;
1821
};
@@ -39,7 +42,7 @@ rec {
3942
bashInteractive
4043
vim
4144
openjdk8
42-
mantis
45+
mantis.out
4346
kevm
4447
];
4548
config = {

0 commit comments

Comments
 (0)