Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

default.nix
{
  pkgs ? import <nixpkgs> { },
}:

with pkgs;

let
  manifest = (lib.importTOML ./Cargo.toml).package;
in

stdenv.mkDerivation {
  name = manifest.name;
  version = manifest.version;
  nativeBuildInputs = [ cargo ];
}