mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
17 lines
288 B
Nix
17 lines
288 B
Nix
{ stdenvNoCC, urbit, arvo, curl, name, builder, pier }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "${name}.pill";
|
|
src = pier;
|
|
buildInputs = [ curl urbit ];
|
|
dontUnpack = true;
|
|
|
|
buildPhase = builtins.readFile builder;
|
|
|
|
installPhase = ''
|
|
mv ${name}.pill $out
|
|
'';
|
|
|
|
ARVO = arvo;
|
|
}
|