diff options
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 ff872f4a75588..4ad2cb0d5fbfd 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. |