# SPDX-FileCopyrightText: 2020 Luke Granger-Brown # # SPDX-License-Identifier: Apache-2.0 { depot, pkgs, ... }@args: { int = pkgs.copyPathToStore ./int; logged-out-int = pkgs.copyPathToStore ./logged-out-int; quotes = import ./quotes args; fup = import ./fup args; 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 ''; lukegbcom = import ./lukegbcom args; barf = import ./barf args; }