about summary refs log tree commit diff
path: root/doc
Commit message (Collapse)AuthorAge
* Merge pull request #258595 from fricklerhandwerk/doc-emscriptenValentin Gagarin2023-10-26
|\ | | | | Emscripten docs: reword and remove mention of `nix-env`
| * emscripten docs: reformat examples to use admonitionValentin Gagarin2023-10-03
| | | | | | | | | | | | that way the examples will also appear in the appendix Co-authored by: Henrik Karlsson <i97henka@gmail.com>
| * emscripten docs: reword introductionValentin Gagarin2023-10-03
| | | | | | | | | | | | in particular, remove mention of `nix-env` Co-authored by: Henrik Karlsson <i97henka@gmail.com>
* | doc: use lib.fakeHash with buildGoModule to get vendorHashStel Abrego2023-10-24
| | | | | | | | | | lib.fakeSha256 results in `error: hash <fake_hash> does not include a type, nor is the type otherwise known from context`.
* | Merge pull request #262301 from ShamrockLee/doc-lib-customisationSilvan Mosberger2023-10-24
|\ \ | | | | | | Generate and refine documentation for `lib.customisation`
| * | doc: generate documentation for lib.customisationYueh-Shun Li2023-10-20
| | |
* | | doc/stdenv: rewrite manual build procedure to be closer to an auto-build ↵Jade Lovelace2023-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#262137) * doc/stdenv: rewrite manual build procedure to be closer to an auto-build This is based on <https://jade.fyi/blog/building-nix-derivations-manually/> plus some more original research. The previous version of this section did not work for your choice of simple Haskell package, e.g. haskellPackages.hscolour, due to things like `compileBuildDriverPhase` and other custom phases that it does not address at all. It seems more correct to use genericBuild in development to harmonize it with what is actually done. I feel a little bit like I am committing a sin by suggesting using the experimental CLI in the manual (afaict I am the first to do this), but I have given the old version of the command, and there are justifiable reasons to do it: * The noted limitations with env-vars are fixed. The one with the non-empty temp directory was one I ran into myself and oh boy was that not fun to debug. * Additionally the outputs are set *before* sourcing `setup.sh`: there is an issue with nix-shell where the original version of `$out` winds up in `NIX_LDFLAGS` due to _addRpathPrefix, which means that resulting executables may not run properly. It is sad that `nix develop` propagates a wrong value of `SHELL` to builders, though. It is equally sad that `nix-shell` is essentially abandoned upstream, with undocumented and not insignificant differences from `nix develop`. For the exact script differences: https://github.com/NixOS/nix/blob/17e6b85d05b3d32df244b1d4e89aa41fd8bdcae8/src/nix-build/nix-build.cc#L516-L551 https://github.com/NixOS/nix/blob/db026103b18fb8b5a719594502edd0f89eb9c268/src/nix/get-env.sh Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* | | Merge pull request #231483 from hacker1024/feature/flutter-on-dartMaciej Krüger2023-10-21
|\ \ \ | | | | | | | | buildFlutterApplication: Wrap buildDartApplication
| * | | buildDartApplication: Use package override mechanism from ↵hacker10242023-10-21
| |/ / | | | | | | | | | | | | | | | buildFlutterApplication This allows Dart applications to benefit from the package override system, which is useful for things like FFI dependencies.
* / / doc/python: mention python313Martin Weinelt2023-10-21
|/ /
* | Merge pull request #260770 from hercules-ci/darwin-builder-observableRobert Hensing2023-10-19
|\ \ | | | | | | `darwin.linux-builder`: Make more observable
| * | darwin.linux-builder: Expose nixosConfig and nixosOptions attributesRobert Hensing2023-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I chose not to do nixos.{config, options} because that would make it look too much like a configuration object, which it is not. A configuration object I would define as for example the result of calling NixOS, an attrset with `_type = "configuration";`. Recreating a configuration object without evalModules is quite feasible but not guaranteed to be correct, and not maintainable.
* | | fetchFromBittorrent: initmatthewcroughan2023-10-18
| | | | | | | | | | | | | | | | | | Adds a basic FOD Fetcher for Bittorrent that uses Transmission as a client Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
* | | Merge pull request #251190 from alejandrosame/docs-mention-nrdSilvan Mosberger2023-10-16
|\ \ \ | |/ / |/| | doc manuals: add reference to nixos-render-docs
| * | doc manuals: change reference link to nixos-render-docsAlejandro Sánchez Medina2023-08-29
| | | | | | | | | Co-authored-by: Silvan Mosberger <github@infinisil.com>
| * | doc manuals: add reference to nixos-render-docsAlejandro Sanchez Medina2023-08-24
| | |
* | | link to documentation on IFD in the Nix manualValentin Gagarin2023-10-09
| | |
* | | Merge pull request #258384 from doronbehar/buildNpmPackage-makeWrapperArgsDoron Behar2023-10-08
|\ \ \ | | | | | | | | buildNpmPackage: support makeWrapperArgs
| * | | buildNpmPackage: support makeWrapperArgsDoron Behar2023-10-07
| | | |
| * | | docs/javascript/buildNpmPackage: Document fetchNpmDepsDoron Behar2023-10-07
| | | | | | | | | | | | | | | | Co-authored-by: Lily Foster <lily@lily.flowers>
| * | | docs/javascript/buildNpmPackage: Document bin, man and npm pack behaviorDoron Behar2023-10-07
| | |/ | |/|
* | | Merge master into haskell-updatesgithub-actions[bot]2023-10-04
|\ \ \
| * \ \ Merge pull request #253714 from teto/vim-updater-packageMatthieu Coudron2023-10-03
| |\ \ \
| | * | | vimPluginsUpdater: initMatthieu Coudron2023-10-01
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nixpkgs documentation mentions how to update out of tree plugins but one problem is that it requires a nixpkgs clone. This makes it more convenient. I've had the need to generate vim plugins and lua overlays for other projects unrelated to nix and this will make updates easier (aka just run `nix run nixpkgs#vimPluginsUpdater -- --proc=1` or with the legacy commands: `nix-shell -p vimPluginsUpdater --run vim-plugins-updater`. I added an optional "nixpkgs" argument to command line parser, which is the path towards a nixpkgs checkout. By default the current folder. update-luarocks-packages: format with black
* | | | Merge master into haskell-updatesgithub-actions[bot]2023-10-03
|\| | |
| * | | doc: minimal documentation of supported platformsLorenzo Manacorda2023-10-02
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds minimal documentation of the supported platforms. More exhaustive documentation would require producing a list of platforms for each of the 7 tiers. This was attempted in #245368, but it quickly became clear that that would be a long-term effort. In the meantime, this commit adds the most important information to the manual. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* | | Merge master into haskell-updatesgithub-actions[bot]2023-09-30
|\| |
| * | nixpkgs manual: add an alternative example in stdenv-separateDebugInfo (#257861)Alejandro Sánchez Medina2023-09-29
| | | | | | | | | | | | | | | | | | | | | | | | * nixpkgs manual: add an alternative example in stdenv-separateDebugInfo This change gets rid of the indirect reference to `nix-env -i` usage and shows how to achieve the same goal with a shell expression. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* | | Merge master into haskell-updatesgithub-actions[bot]2023-09-29
|\| |
| * | treewide: Fix typosPeder Bergebakken Sundt2023-09-28
| | |
* | | Merge master into haskell-updatesgithub-actions[bot]2023-09-28
|\| |
| * | vimUtils: buildVimPluginFrom2Nix renamed to buildVimPluginMatthieu Coudron2023-09-27
| | | | | | | | | | | | the `from2Nix` suffix is a legacy from vim2nix but we dont use that anymore. It makes the name of the function unusual and long.
| * | doc: fix wrong flag in description of `bindnow`Felix Yan2023-09-27
| | | | | | | | | `-z bindnow` doesn't exist. The actual flag added is `-z now`.
* | | Merge master into haskell-updatesgithub-actions[bot]2023-09-26
|\| |
| * | use `nix-shell -p` for `dhall-to-nixpkgs` exampleValentin Gagarin2023-09-25
| | |
| * | remove the misleading warning on using `nix-env` for split outputs (#255947)Valentin Gagarin2023-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The text was originally added [0] following an apparently incomplete research on how everything plays together. In fact, Nix propagates `outputs` to the corresponding nested derivations, and there is some messy behavior in Nixpkgs that only seems to propagate `meta.outputsToInstall` in `buildEnv`[1]. This change moves the hints on how to use NixOS specifics to NixOS module documentation (which is hopefully easier to find through search.nixos.org), describes the default behavior in Nixpkgs (updating a the link to the source), and removes the confusing mention of `nix-env`. the last of them should not be there to begin with. we don't want beginners to use `nix-env`, as this is known to run them into trouble eventually. [0]: https://github.com/NixOS/nixpkgs/pull/76794 [1]: https://github.com/NixOS/nixpkgs/blob/1774d07242995050d2d8a91cb4da0855eac2e472/pkgs/build-support/buildenv/default.nix#L66
| * | Merge pull request #254309 from pbsds/flit-pruneFrederik Rietdijk2023-09-25
| |\ \ | | | | | | | | python3Packages.flitBuildHook: remove
| | * | python3Packages.flitBuildHook: removePeder Bergebakken Sundt2023-09-22
| | | |
* | | | Merge master into haskell-updatesgithub-actions[bot]2023-09-25
|\| | |
| * | | nixpkgs manual: doc python: add hyperlinks to Python section (#252156)Alejandro Sánchez Medina2023-09-24
| |/ / | | | | | | | | | | | | * nixpkgs manual: doc python: add hyperlinks to Python section Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* | | Merge master into haskell-updatesgithub-actions[bot]2023-09-23
|\| |
| * | doc: include short docs about bmakeAnderson Torres2023-09-22
| | |
* | | Merge master into haskell-updatesgithub-actions[bot]2023-09-22
|\| |
| * | Merge pull request #255025 from tweag/fileset.unionRobert Hensing2023-09-21
| |\ \ | | | | | | | | `lib.fileset.union`, `lib.fileset.unions`: init
| | * | lib.fileset: Various updates relating to union/unionsSilvan Mosberger2023-09-21
| | | | | | | | | | | | | | | | Also some minor formatting improvements
* | | | Merge master into haskell-updatesgithub-actions[bot]2023-09-21
|\| | |
| * | | corepack: PR review updatesWout Mertens2023-09-20
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Sandro Jaeckel <sandro.jaeckel@gmail.com>
| * | | nodejs: corepack wrappers packageWout Mertens2023-09-20
| | | |
* | | | haskell-docs: Fix typo in function namemaralorn2023-09-20
|/ / /
* | | Merge pull request #255916 from fricklerhandwerk/doc-runcommandRobert Hensing2023-09-18
|\ \ \ | | | | | | | | rewrite `runCommand` interface docs