mirror of
https://github.com/urbit/shrub.git
synced 2024-12-28 22:54:15 +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;
|
|
}
|