shrub/nix/pkgs/arvo/default.nix

22 lines
350 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" "goerli" ];
phases = [ "mainnetPhase" "goerliPhase" ];
mainnetPhase = ''
ln -s ${marsSources.out}/arvo $out
'';
goerliPhase = ''
ln -s ${marsSources.goerli}/arvo $goerli
'';
preferLocalBuild = true;
2019-03-05 03:43:53 +03:00
}