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