File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 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 } ;
3942 bashInteractive
4043 vim
4144 openjdk8
42- mantis
45+ mantis . out
4346 kevm
4447 ] ;
4548 config = {
You can’t perform that action at this time.
0 commit comments