diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-11-08 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-12-18 12:00:00 +0000 |
commit | a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6 (patch) | |
tree | 09995cd584e221b61dfe4f488ea7e3f1a13d7409 /doc/languages-frameworks/octave.section.md | |
parent | c935f5e0add2cf0ae650d072c8357533e21b0c35 (diff) | |
download | nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.tar nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.tar.gz nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.tar.bz2 nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.tar.lz nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.tar.xz nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.tar.zst nixpkgs-a15fbab8e9dcc1b0993de04a631b23dd9f8b53f6.zip |
doc: minimize mentions of nix-env -i without -A in nixpkgs manual
Diffstat (limited to 'doc/languages-frameworks/octave.section.md')
-rw-r--r-- | doc/languages-frameworks/octave.section.md | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/languages-frameworks/octave.section.md b/doc/languages-frameworks/octave.section.md index ff872f4a755..4ad2cb0d5fb 100644 --- a/doc/languages-frameworks/octave.section.md +++ b/doc/languages-frameworks/octave.section.md @@ -24,18 +24,10 @@ You can test building an Octave package as follows: $ nix-build -A octavePackages.symbolic ``` -When building Octave packages with `nix-build`, the `buildOctavePackage` function adds `octave-octaveVersion` to; the start of the package's name attribute. - -This can be required when installing the package using `nix-env`: - -```ShellSession -$ nix-env -i octave-6.2.0-symbolic -``` - -Although, you can also install it using the attribute name: +To install it into your user profile, run this command from the root of the repository: ```ShellSession -$ nix-env -i -A octavePackages.symbolic +$ nix-env -f. -iA octavePackages.symbolic ``` You can build Octave with packages by using the `withPackages` passed-through function. |