mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
echoip: Use index
output for index.html
This commit is contained in:
parent
6fe75ffd9f
commit
463faedb4d
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue