mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-23 06:42:09 +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;
|
|
}
|