Skip to content

About

Project backend for Nix store

Topics

Resources

Contributing

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

project-nix-store - Project backend for Nix store

NonGNU ELPA NonGNU-devel ELPA

This package is a project.el backend for Nix store. Each store path, if it is a directory, is a project root. See project-root for store path definition.

This package eases operations on store files with the help of project interfaces described in Info node Projects. For example, while visiting a file under a store path, use project-find-file to quickly visit another file under the same store path.

Usage

Add project-nix-store-try to project-find-functions. To ensure good performance, put it before project-try-vc.

It is recommended to also add project-nix-store-p to project-list-exclude.

See customization group project-nix-store for user options.

To disable this package, remove project-nix-store-try from project-find-functions or call unload-feature.

Performance

Packages can call project interfaces quite frequently. For example, at the time of writing, breadcrumb.el calls project-current and project-name a lot.

This package aims for good performance. It includes benchmarks for performance-sensitive functions. Use those benchmarks when hacking this package.

Other Nix-Like Stores

Besides Nix store, it is likely that this package also works for other Nix-like stores. For example, at the time of writing, this package also supports Guix store.

The author only uses Nix store so he does not guarantee the support of other Nix-like stores.

Contributions to support other Nix-like stores are welcome.

License

This package is REUSE-compliant. To get the license and copyright of each file, run reuse lint --json or reuse spdx.

As a best-effort summary, this package is licensed under GPL-3.0-or-later.

About

Project backend for Nix store

Topics

Resources

Contributing

Stars

6 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Contributors

Languages