devShellTools: init (empty)

Changed files
+41
doc
pkgs
build-support
dev-shell-tools
test
top-level
+1
doc/build-helpers.md
···
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
···
+
# 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
···
+
+
# `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
···
+
{ }:
+
+
{
+
}
+5
pkgs/build-support/dev-shell-tools/tests/default.nix
···
+
{ ... }:
+
+
{
+
+
}
+2
pkgs/test/default.nix
···
inherit gccTests;
};
+
devShellTools = callPackage ../build-support/dev-shell-tools/tests { };
+
stdenv-inputs = callPackage ./stdenv-inputs { };
stdenv = callPackage ./stdenv { };
+2
pkgs/top-level/all-packages.nix
···
grsync = callPackage ../applications/misc/grsync { };
+
devShellTools = callPackage ../build-support/dev-shell-tools { };
+
dockerTools = callPackage ../build-support/docker {
writePython3 = buildPackages.writers.writePython3;
} // { __attrsFailEvaluation = true; };