about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--release.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index 8a521288..9d8ad528 100644
--- a/release.nix
+++ b/release.nix
@@ -1,5 +1,8 @@
+{ vuizvui ? { outPath = ./.; revCount = 12345; shortRev = "abcdefg"; }
+, supportedSystems ? [ "i686-linux" "x86_64-linux" ]
+}:
+
 let
-  supportedSystems = [ "i686-linux" "x86_64-linux" ];
   system = "x86_64-linux";
   pkgs = import <nixpkgs> { inherit system; };
 
@@ -22,6 +25,12 @@ in with pkgs.lib; with builtins; {
     };
   in with releaseLib; mapTestOn (packagePlatforms releaseLib.pkgs);
 
+  channel = pkgs.srcOnly rec {
+    name = "vuizvui-channel-${version}";
+    version = "${toString vuizvui.revCount}.${vuizvui.shortRev}";
+    src = vuizvui;
+  };
+
   manual = let
     modules = import <nixpkgs/nixos/lib/eval-config.nix> {
       modules = import ./modules/module-list.nix;