2020-06-07 14:03:12 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-09-25 20:51:24 +00:00
|
|
|
{ depot, pkgs, ... }@args:
|
2020-05-31 22:28:01 +00:00
|
|
|
{
|
|
|
|
int = pkgs.copyPathToStore ./int;
|
2020-12-30 00:57:53 +00:00
|
|
|
logged-out-int = pkgs.copyPathToStore ./logged-out-int;
|
2021-01-19 03:51:22 +00:00
|
|
|
quotes = import ./quotes args;
|
2021-03-20 19:49:33 +00:00
|
|
|
fup = import ./fup args;
|
2021-09-25 20:51:24 +00:00
|
|
|
as205479 = hostName: pkgs.runCommand "as205479-web" {
|
|
|
|
inherit hostName;
|
|
|
|
depotVersion = depot.version;
|
|
|
|
} ''
|
|
|
|
cp -Rv ${./as205479} $out
|
|
|
|
chmod -R +w $out
|
|
|
|
|
|
|
|
find $out -name '*.html' | while read filename; do
|
|
|
|
substituteInPlace "$filename" \
|
|
|
|
--replace "{{NODENAME}}" "$hostName" \
|
|
|
|
--replace "{{DEPOT_VERSION}}" "$depotVersion"
|
|
|
|
done
|
|
|
|
'';
|
2022-04-03 23:32:57 +00:00
|
|
|
|
|
|
|
lukegbcom = import ./lukegbcom args;
|
2024-03-11 04:14:39 +00:00
|
|
|
barf = import ./barf args;
|
2020-12-30 00:51:56 +00:00
|
|
|
}
|