14 lines
342 B
Nix
14 lines
342 B
Nix
# SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
pkgs.runCommand "raritan-update" {
|
|
inherit (pkgs) curl jq;
|
|
} ''
|
|
mkdir $out
|
|
substituteAll ${./deploy.sh} $out/deploy.sh
|
|
substituteAll ${./lego.sh} $out/lego.sh
|
|
chmod +x $out/deploy.sh $out/lego.sh
|
|
''
|