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
|
|
|
|
2022-10-26 06:01:32 +03:00
|
|
|
outputs = [ "out" "goerli" ];
|
2020-10-27 15:55:49 +03:00
|
|
|
|
2022-10-26 06:01:32 +03:00
|
|
|
phases = [ "mainnetPhase" "goerliPhase" ];
|
2020-10-27 15:55:49 +03:00
|
|
|
|
|
|
|
mainnetPhase = ''
|
2021-09-26 22:26:48 +03:00
|
|
|
ln -s ${marsSources.out}/arvo $out
|
|
|
|
'';
|
2020-10-27 15:55:49 +03:00
|
|
|
|
2022-10-26 06:01:32 +03:00
|
|
|
goerliPhase = ''
|
|
|
|
ln -s ${marsSources.goerli}/arvo $goerli
|
2021-09-26 22:26:48 +03:00
|
|
|
'';
|
2020-10-27 15:55:49 +03:00
|
|
|
|
|
|
|
preferLocalBuild = true;
|
2019-03-05 03:43:53 +03:00
|
|
|
}
|