echoip: Use index output for index.html

This commit is contained in:
Roman Volosatovs 2019-09-05 21:00:44 +02:00
parent 6fe75ffd9f
commit 463faedb4d
No known key found for this signature in database
GPG Key ID: 2660C5FDCEBE6F87

View File

@ -13,9 +13,11 @@ buildGoModule {
modSha256 = "025p891klwpid5fw4z39fimgfkwgkcwqpn5276hflzdp1hfv35ly";
outputs = [ "out" "index" ];
postInstall = ''
mkdir -p $out
cp $src/index.html $out/index.html
mkdir -p $index
cp $src/index.html $index/index.html
'';
meta = with lib; {