diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2022-09-08 13:34:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 13:34:40 +0200 |
commit | c8e8eea95e6d235ba0120bda5a8ff87b97f3e5a7 (patch) | |
tree | 0709c51f2a85b4789004e64779dab3924fcb7925 /src/nix/develop.md | |
parent | 96001098796c9011d1670cc8a7acd00ef49b2d7a (diff) | |
parent | 6ce2e96c88c71e40303980eb5793aa6ae4a5a333 (diff) |
Merge pull request #7008 from jonringer/add-command-docs
Docs: Add nix develop --command entry
Diffstat (limited to 'src/nix/develop.md')
-rw-r--r-- | src/nix/develop.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/develop.md b/src/nix/develop.md index e036ec6b9..4e8542d1b 100644 --- a/src/nix/develop.md +++ b/src/nix/develop.md @@ -66,6 +66,12 @@ R""( `nixpkgs#glibc` in `~/my-glibc` and want to compile another package against it. +* Run a series of script commands: + + ```console + # nix develop --command bash -c "mkdir build && cmake .. && make" + ``` + # Description `nix develop` starts a `bash` shell that provides an interactive build |