nix

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 9 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 added in v0.20.3

func ActionAttributes(opts AttributeOpts) carapace.Action

ActionAttributes completes attributes

firefox
git

func ActionChannelPackages added in v0.18.1

func ActionChannelPackages() carapace.Action

ActionChannelPackages completes local channels and their packages

nixos.g++
nixos.gacutil

func ActionConfigKeys added in v0.24.5

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 added in v0.24.5

func ActionConfigValues(key string) carapace.Action

ActionConfigValues completes config values for given key

false
true

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 added in v0.24.5

func ActionNarFileContents(file string) carapace.Action

ActionNarFileContents completes contents of given nar file

go.mod
cmd/

func ActionPackages added in v0.18.1

func ActionPackages(channel string) carapace.Action

ActionPackages completes packages for given channel

g++
gacutil

func ActionPaths added in v0.20.3

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)

Types

type AttributeOpts added in v0.20.3

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