2021-09-26 22:26:48 +03:00
|
|
|
{ lib, stdenvNoCC, marsSources }:
|
2019-03-05 03:43:53 +03:00
|
|
|
|
2020-10-27 15:55:49 +03:00
|
|
|
stdenvNoCC.mkDerivation {
|
2019-03-05 03:43:53 +03:00
|
|
|
name = "arvo";
|
2020-10-27 15:55:49 +03:00
|
|
|
|
2021-09-26 22:26:48 +03:00
|
|
|
src = marsSources;
|
2020-10-27 15:55:49 +03:00
|
|
|
|
|
|
|
outputs = [ "out" "ropsten" ];
|
|
|
|
|
|
|
|
phases = [ "mainnetPhase" "ropstenPhase" ];
|
|
|
|
|
|
|
|
mainnetPhase = ''
|
2021-09-26 22:26:48 +03:00
|
|
|
ln -s ${marsSources.out}/arvo $out
|
|
|
|
'';
|
2020-10-27 15:55:49 +03:00
|
|
|
|
|
|
|
ropstenPhase = ''
|
2021-09-26 22:26:48 +03:00
|
|
|
ln -s ${marsSources.ropsten}/arvo $ropsten
|
|
|
|
'';
|
2020-10-27 15:55:49 +03:00
|
|
|
|
|
|
|
preferLocalBuild = true;
|
2019-03-05 03:43:53 +03:00
|
|
|
}
|