mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
22 lines
355 B
Nix
22 lines
355 B
Nix
{ lib, stdenvNoCC, marsSources }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "arvo";
|
|
|
|
src = marsSources;
|
|
|
|
outputs = [ "out" "ropsten" ];
|
|
|
|
phases = [ "mainnetPhase" "ropstenPhase" ];
|
|
|
|
mainnetPhase = ''
|
|
ln -s ${marsSources.out}/arvo $out
|
|
'';
|
|
|
|
ropstenPhase = ''
|
|
ln -s ${marsSources.ropsten}/arvo $ropsten
|
|
'';
|
|
|
|
preferLocalBuild = true;
|
|
}
|