package
0.0.0-20241122174450-ed490a29207d
Repository: https://github.com/jetify-com/devbox.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package nixstore queries and resolves Nix store packages.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CurrentConfig reads the current Nix configuration.
DaemonVersion returns the version of the currently running Nix daemon.
No description provided by the author
No description provided by the author
EnsureNixpkgsPrefetched runs the prefetch step to download the flake of the registry.
EnsureValidPlatform returns an error if the platform is not supported by nix.
Eval is raw nix eval.
No description provided by the author
No description provided by the author
FlakeNixpkgs returns a flakes-compatible reference to the nixpkgs registry.
No description provided by the author
HashFromNixPkgsURL will (for example) return 5233fd2ba76a3accb5aaa999c00509a11fd0793c from github:nixos/nixpkgs/5233fd2ba76a3accb5aaa999c00509a11fd0793c#hello.
No description provided by the author
Install runs the install script for Nix.
No description provided by the author
IsGithubNixpkgsURL returns true if the package is a flake of the form: github:NixOS/nixpkgs/..
No description provided by the author
NewStorePathParts splits a Nix store path into its hash, name and version components in the same way that Nix does.
PackageIsInsecure is a fun little nix eval that maybe works.
No description provided by the author
PkgExistsForAnySystem is a bit slow (~600ms).
Warning: be careful using the bins in default/bin, they won't always match bins produced by the flakes.nix.
No description provided by the author
No description provided by the author
ProfileRemove removes packages from a profile.
No description provided by the author
No description provided by the author
No description provided by the author
SearchNixpkgsAttribute is a wrapper around searchSystem that caches results.
No description provided by the author
No description provided by the author
StorePathsAreInStore a map of store paths to whether they are in the store.
No description provided by the author
No description provided by the author
No description provided by the author
Version returns the currently installed version of Nix.
# Constants
No description provided by the author
All major Nix versions supported by Devbox.
ProfilePath contains the contents of the profile generated via `nix-env --profile ProfilePath <command>` or `nix profile install --profile ProfilePath <package...>` Instead of using directory, prefer using the devbox.ProfileDir() function that ensures the directory exists.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
All major Nix versions supported by Devbox.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Config is a parsed Nix configuration.
ConfigField is a Nix configuration setting.
DaemonError reports an unsuccessful attempt to connect to the Nix daemon.
No description provided by the author
Older nix versions (like 2.17) are an array of objects that contain path and valid fields.
These make it easier to stub out nix for testing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
storePath are the constituent parts of /nix/store/<hash>-<name>-<version>
This is a helper struct for analyzing the string representation.
No description provided by the author
VersionInfo contains information about a Nix installation.
# Interfaces
No description provided by the author