packages/stop-using-nix-env: add footer with link to repo

This commit is contained in:
Max Headroom 2022-08-06 21:29:54 +02:00
parent ce2966a542
commit 9976784890
2 changed files with 8 additions and 1 deletions

View file

@ -4,10 +4,12 @@
packages.stop-using-nix-env = let
site = with pkgs; stdenvNoCC.mkDerivation rec {
name = "stop-using-nix-env";
version = "1.1.0";
version = "1.1.1";
src = ./src;
buildCommand = ''
install -Dm644 $src/* -t $out/share/www/${name}
substituteInPlace $out/share/www/${name}/index.html \
--replace '<!-- VERSION -->' 'Version ${version} |'
'';
passthru = {
webroot = "${site}/share/www/${name}";

View file

@ -229,5 +229,10 @@
other than nixpkgs.
</p>
<div style="height: 20vh"></div>
<p>
<!-- VERSION -->
This is a living document. |
<a href="https://github.com/privatevoid-net/privatevoid-infrastructure/tree/master/packages/websites/stop-using-nix-env">Contributions welcome</a>
</p>
</body>
</html>