Merge pull request #7008 from jonringer/add-command-docs

Docs: Add nix develop --command entry
This commit is contained in:
Théophane Hufschmitt 2022-09-08 13:34:40 +02:00 committed by GitHub
commit c8e8eea95e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,12 @@ R""(
`nixpkgs#glibc` in `~/my-glibc` and want to compile another package `nixpkgs#glibc` in `~/my-glibc` and want to compile another package
against it. against it.
* Run a series of script commands:
```console
# nix develop --command bash -c "mkdir build && cmake .. && make"
```
# Description # Description
`nix develop` starts a `bash` shell that provides an interactive build `nix develop` starts a `bash` shell that provides an interactive build