shrub/nix/pkgs/arvo/default.nix

22 lines
355 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, marsSources }:
2019-03-05 03:43:53 +03:00
stdenvNoCC.mkDerivation {
2019-03-05 03:43:53 +03:00
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;
2019-03-05 03:43:53 +03:00
}