packages/stop-using-nix-env: add footer with link to repo
This commit is contained in:
parent
ce2966a542
commit
9976784890
2 changed files with 8 additions and 1 deletions
|
@ -4,10 +4,12 @@
|
||||||
packages.stop-using-nix-env = let
|
packages.stop-using-nix-env = let
|
||||||
site = with pkgs; stdenvNoCC.mkDerivation rec {
|
site = with pkgs; stdenvNoCC.mkDerivation rec {
|
||||||
name = "stop-using-nix-env";
|
name = "stop-using-nix-env";
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
install -Dm644 $src/* -t $out/share/www/${name}
|
install -Dm644 $src/* -t $out/share/www/${name}
|
||||||
|
substituteInPlace $out/share/www/${name}/index.html \
|
||||||
|
--replace '<!-- VERSION -->' 'Version ${version} |'
|
||||||
'';
|
'';
|
||||||
passthru = {
|
passthru = {
|
||||||
webroot = "${site}/share/www/${name}";
|
webroot = "${site}/share/www/${name}";
|
||||||
|
|
|
@ -229,5 +229,10 @@
|
||||||
other than nixpkgs.
|
other than nixpkgs.
|
||||||
</p>
|
</p>
|
||||||
<div style="height: 20vh"></div>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue