Move apps into garlic/apps

This commit is contained in:
2020-10-09 16:13:16 +02:00
parent a576be8031
commit 332b738889
21 changed files with 60 additions and 99 deletions

View File

@@ -3,8 +3,8 @@
}:
{
units:
}
units
}:
with stdenv.lib;

View File

@@ -9,7 +9,7 @@
{
nextStage
, nixPrefix
, clusterName
, clusterName ? "mn4"
}:
with garlicTools;

View File

@@ -1,16 +1,21 @@
{
stdenv
, nixtools
, garlicTools
}:
{
program
nextStage
, nixPrefix
# FIXME: These two should be specified in the configuration of the machine
, sshHost ? "mn"
, targetCluster ? "mn4"
, stage
}:
let
program = garlicTools.stageProgram nextStage;
in
stdenv.mkDerivation {
name = "trebuchet";
phases = [ "installPhase" ];
@@ -25,7 +30,7 @@ stdenv.mkDerivation {
# to see what is being executed.
# $out
${stage.desc}
${nextStage.desc}
nixtools=${nixPrefix}${nixtools}/bin
runexp=\$nixtools/${targetCluster}/runexp