mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
devShellTools: init (empty)
This commit is contained in:
parent
ec35143a57
commit
091d8370a2
@ -20,6 +20,7 @@ There is no uniform interface for build helpers.
|
||||
build-helpers/fetchers.chapter.md
|
||||
build-helpers/trivial-build-helpers.chapter.md
|
||||
build-helpers/testers.chapter.md
|
||||
build-helpers/dev-shell-tools.chapter.md
|
||||
build-helpers/special.md
|
||||
build-helpers/images.md
|
||||
hooks/index.md
|
||||
|
14
doc/build-helpers/dev-shell-tools.chapter.md
Normal file
14
doc/build-helpers/dev-shell-tools.chapter.md
Normal file
@ -0,0 +1,14 @@
|
||||
# Development Shell helpers {#chap-devShellTools}
|
||||
|
||||
The `nix-shell` command has popularized the concept of transient shell environments for development or testing purposes.
|
||||
<!--
|
||||
We should try to document the product, not its development process in the Nixpkgs reference manual,
|
||||
but *something* needs to be said to provide context for this library.
|
||||
This is the most future proof sentence I could come up with while Nix itself does yet make use of this.
|
||||
Relevant is the current status of the devShell attribute "project": https://github.com/NixOS/nix/issues/7501
|
||||
-->
|
||||
However, `nix-shell` is not the only way to create such environments, and even `nix-shell` itself can indirectly benefit from this library.
|
||||
|
||||
This library provides a set of functions that help create such environments.
|
||||
|
||||
<!-- ## `devShellTools.<function>` {#sec-devShellTools-<function>} -->
|
13
pkgs/build-support/dev-shell-tools/README.md
Normal file
13
pkgs/build-support/dev-shell-tools/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
# `devShellTools`
|
||||
|
||||
This directory implements the `pkgs.devShellTools` library.
|
||||
|
||||
# Contributing to `devShellTools`
|
||||
|
||||
- Documentation should be contributed to the Nixpkgs manual, not here.
|
||||
|
||||
- Tests are available in the `tests` directory.
|
||||
You may run them with `nix-build -A tests.devShellTools`.
|
||||
|
||||
- See [../../README.md](../../README.md) for more information on contributing to Nixpkgs.
|
4
pkgs/build-support/dev-shell-tools/default.nix
Normal file
4
pkgs/build-support/dev-shell-tools/default.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{ }:
|
||||
|
||||
{
|
||||
}
|
5
pkgs/build-support/dev-shell-tools/tests/default.nix
Normal file
5
pkgs/build-support/dev-shell-tools/tests/default.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
}
|
@ -83,6 +83,8 @@ with pkgs;
|
||||
inherit gccTests;
|
||||
};
|
||||
|
||||
devShellTools = callPackage ../build-support/dev-shell-tools/tests { };
|
||||
|
||||
stdenv-inputs = callPackage ./stdenv-inputs { };
|
||||
stdenv = callPackage ./stdenv { };
|
||||
|
||||
|
@ -837,6 +837,8 @@ with pkgs;
|
||||
|
||||
grsync = callPackage ../applications/misc/grsync { };
|
||||
|
||||
devShellTools = callPackage ../build-support/dev-shell-tools { };
|
||||
|
||||
dockerTools = callPackage ../build-support/docker {
|
||||
writePython3 = buildPackages.writers.writePython3;
|
||||
} // { __attrsFailEvaluation = true; };
|
||||
|
Loading…
Reference in New Issue
Block a user