mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +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;
|
|
}
|