+1
-1
doc/builders/packages/linux.section.md
+1
-1
doc/builders/packages/linux.section.md
+4
-4
doc/contributing/submitting-changes.chapter.md
+4
-4
doc/contributing/submitting-changes.chapter.md
···-- `nix-build -A pkg-attribute-name <path to your local nixpkgs folder>/default.nix` and check results in the folder `result`. It will appear in the same directory where you did `nix-build`.-- If you did `nix-env -i pkg-name` you can do `nix-env -e pkg-name` to uninstall it from your system.+- `nix-build -A pkg-attribute-name <path to your local nixpkgs folder>` and check results in the folder `result`. It will appear in the same directory where you did `nix-build`.+- If you installed your package with `nix-env`, you can run `nix-env -e pkg-name` where `pkg-name` is as reported by `nix-env -q` to uninstall it from your system.
+2
-2
doc/languages-frameworks/emscripten.section.md
+2
-2
doc/languages-frameworks/emscripten.section.md
···If you want to work with `emcc`, `emconfigure` and `emmake` as you are used to from Ubuntu and similar distributions you can use these commands:-This mode is far more power full since this makes use of `nix` for dependency management of emscripten libraries and targets by using the `mkDerivation` which is implemented by `pkgs.emscriptenStdenv` and `pkgs.buildEmscriptenPackage`. The source for the packages is in `pkgs/top-level/emscripten-packages.nix` and the abstraction behind it in `pkgs/development/em-modules/generic/default.nix`.+This mode is far more power full since this makes use of `nix` for dependency management of emscripten libraries and targets by using the `mkDerivation` which is implemented by `pkgs.emscriptenStdenv` and `pkgs.buildEmscriptenPackage`. The source for the packages is in `pkgs/top-level/emscripten-packages.nix` and the abstraction behind it in `pkgs/development/em-modules/generic/default.nix`. From the root of the nixpkgs repository:
+1
-4
doc/languages-frameworks/idris.section.md
+1
-4
doc/languages-frameworks/idris.section.md
···
+2
-10
doc/languages-frameworks/octave.section.md
+2
-10
doc/languages-frameworks/octave.section.md
···-When building Octave packages with `nix-build`, the `buildOctavePackage` function adds `octave-octaveVersion` to; the start of the package's name attribute.
+4
-8
doc/languages-frameworks/perl.section.md
+4
-8
doc/languages-frameworks/perl.section.md
···-`buildPerlPackage` adds `perl-` to the start of the name attribute, so the package above is actually called `perl-Class-C3-0.21`. So to install it, you can say:-(Of course you can also install using the attribute name: `nix-env -i -A perlPackages.ClassC3`.)···Nix expressions for Perl packages can be generated (almost) automatically from CPAN. This is done by the program `nix-generate-from-cpan`, which can be installed as follows:This program takes a Perl module name, looks it up on CPAN, fetches and unpacks the corresponding package, and prints a Nix expression on standard output. For example: