StackPanel

outputs

Configuration options for stackpanel.outputs

Outputs Options

flakeApps

Flake apps to expose via nix run .#<name>.

Each app must have:

Example: stackpanel.flakeApps = { web = { type = "app"; program = "${myPackage}/bin/web"; }; };

PropertyValue
Typeattribute set of (submodule)
Default{ }

flakeApps.<name>.program

Path to the executable.

PropertyValue
Typestring
Defaultnone

flakeApps.<name>.type

App type (always 'app' for Nix apps).

PropertyValue
Typestring
Default"app"

outputs

Output derivations to expose.

These will be available as:

Example: stackpanel.outputs = { my-docs = pkgs.runCommand "docs" {} "..."; my-script = pkgs.writeShellScriptBin "foo" "..."; # Grouped packages (available via nix run .#scripts.) scripts = { foo = pkgs.writeShellScriptBin "foo" "..."; }; };

PropertyValue
Typeattribute set of (package or attribute set of package)
Default{ }

Example:

{
  docs-json = optionsDoc.optionsJSON;
  docs-md = optionsDoc.optionsCommonMark;
  scripts = { my-script = pkgs.writeShellScriptBin "test" "echo hello"; };
}

On this page