nix

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

package nix contains nix related actions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionAttributes

func ActionAttributes(opts AttributeOpts) carapace.Action

ActionAttributes completes attributes

firefox
git

func ActionChannelPackages

func ActionChannelPackages() carapace.Action

ActionChannelPackages completes local channels and their packages

nixos.g++
nixos.gacutil

func ActionConfigKeys

func ActionConfigKeys() carapace.Action

ActionConfigKeys completes config keys

access-tokens (Access tokens used to access protected GitHub, GitLab, or other locations)
allow-dirty (Whether to allow dirty Git/Mercurial trees)

func ActionConfigValues

func ActionConfigValues(key string) carapace.Action

ActionConfigValues completes config values for given key

false
true

func ActionDevShells added in v1.0.2

func ActionDevShells() carapace.Action

ActionDevShells completes a flake and development shells from that flake

func ActionFlakes added in v1.0.2

func ActionFlakes() carapace.Action

ActionFlakes completes flakes currently available

nixpkgs .

func ActionInstallables added in v1.0.2

func ActionInstallables() carapace.Action

ActionInstallables completes nix packages and flakes

An installable nix derivation can either be a nix package (legacyPackages) or a nixosModules output of a flake. There is no completion support implemented for flake outputs due to the processing time required, so ActionInstallables completes packages from the global/system/user channels available and flake names from the global/system/user registry

func ActionLocalChannels

func ActionLocalChannels() carapace.Action

ActionLocalChannels completes local channels

nixos (https://nixos.org/channels/nixos-22.05)
nixpkgs (https://nixos.org/channels/nixpkgs-unstable)

func ActionNarFileContents

func ActionNarFileContents(file string) carapace.Action

ActionNarFileContents completes contents of given nar file

go.mod
cmd/

func ActionPackages

func ActionPackages(channel string) carapace.Action

ActionPackages completes packages for given channel

g++
gacutil

func ActionPaths

func ActionPaths() carapace.Action

ActionPaths completes paths

A path can be one of:

func ActionRemoteChannels

func ActionRemoteChannels() carapace.Action

ActionRemoteChannels completes remote channels

nixos-21.11-small (unmaintained)
nixos-22.05 (stable)

func ActionTemplates added in v1.0.2

func ActionTemplates() carapace.Action

ActionTemplates completes the templates outputs of the system template flake

Types

type AttributeOpts

type AttributeOpts struct {
	Source  string
	Include string
	Arg     []string
	ArgStr  []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL