about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/default.nix1
-rw-r--r--machines/labnet/gitit-stub.nix13
-rw-r--r--pkgs/build-support/channel.nix1
3 files changed, 15 insertions, 0 deletions
diff --git a/machines/default.nix b/machines/default.nix
index ca52db7b..cd1bc916 100644
--- a/machines/default.nix
+++ b/machines/default.nix
@@ -16,6 +16,7 @@ with import ../lib;
     labtops = callNetwork ./labnet/labtops.nix {
       vuizvui.user.openlab.labtops.enable = true;
     };
+    gitit-stub = callMachine ./labnet/gitit-stub.nix {};
   };
   profpatsch = {
     katara = callMachine ./profpatsch/katara.nix {};
diff --git a/machines/labnet/gitit-stub.nix b/machines/labnet/gitit-stub.nix
new file mode 100644
index 00000000..0e8f7a2d
--- /dev/null
+++ b/machines/labnet/gitit-stub.nix
@@ -0,0 +1,13 @@
+{ config, lib, pkgs, ... }:
+
+{
+
+  # TODO: create a true channel that only advances if these build.
+  environment.systemPackages = [
+    pkgs.vuizvui.openlab.gitit
+  ];
+
+  fileSystems."/".device = "/dev/null";
+  boot.loader.grub.device = "/dev/null";
+
+}
diff --git a/pkgs/build-support/channel.nix b/pkgs/build-support/channel.nix
index a837177f..2f225cd7 100644
--- a/pkgs/build-support/channel.nix
+++ b/pkgs/build-support/channel.nix
@@ -2,6 +2,7 @@
 
 { name, src, constituents ? [], meta ? {}, ... }@args:
 
+# TODO document
 stdenv.mkDerivation ({
   inherit name src constituents;
   preferLocalBuild = true;