mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 07:52:59 +03:00
22 lines
350 B
Nix
22 lines
350 B
Nix
{ lib, stdenvNoCC, marsSources }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "arvo";
|
|
|
|
src = marsSources;
|
|
|
|
outputs = [ "out" "goerli" ];
|
|
|
|
phases = [ "mainnetPhase" "goerliPhase" ];
|
|
|
|
mainnetPhase = ''
|
|
ln -s ${marsSources.out}/arvo $out
|
|
'';
|
|
|
|
goerliPhase = ''
|
|
ln -s ${marsSources.goerli}/arvo $goerli
|
|
'';
|
|
|
|
preferLocalBuild = true;
|
|
}
|