about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2023-11-07Merge master into staging-nextgithub-actions[bot]1-1/+1
2023-11-06Merge pull request #264674 from teutat3s/fix-dockertools-prefetch-exampleRobert Hensing1-1/+1
doc: fix dockerTools nix-prefetch-docker example
2023-11-05treewide: change pythonForBuild to pythonOnBuildForHostAdam Joseph1-2/+2
2023-11-02Merge staging-next into staginggithub-actions[bot]1-4/+19
2023-11-02Merge master into staging-nextgithub-actions[bot]1-4/+19
2023-11-02document differences to built-in fetchers (#263569)Valentin Gagarin1-4/+19
* document differences to built-in fetchers Co-authored-by: Alexander Groleau <source@proof.construction>
2023-11-02fixup note on dhall-to-nixpkgs exampleValentin Gagarin1-1/+1
2023-11-01Merge staging-next into staginggithub-actions[bot]1-0/+18
2023-11-01Merge master into staging-nextgithub-actions[bot]1-0/+18
2023-11-01Merge pull request #250805 from xworld21/texlive-buildenv-minimalDmitry Kalinkin1-0/+18
texlive: overrideTeXConfig/withPackages
2023-10-31doc: fix dockerTools nix-prefetch-docker exampleteutat3s1-1/+1
2023-10-30doc: update meson.section.mdAnderson Torres1-25/+58
2023-10-30Merge branch 'master' into staging-nextVladimír Čunát1-3/+3
2023-10-29luarocks-packages-update: init (#262156)Matthieu Coudron1-3/+3
* luarocks-packages-updater: init Goal is to make it possible to maintain out-of-tree luarocks packages without needing to clone nixpkgs. maintainers/scripts/update-luarocks-packages gets renamed to pkgs/development/lua-modules/updater/updater.py Once merged you can run for instance nix run nixpkgs#luarocks-packages-updater -- -i contrib/luarocks-packages.csv -o contrib/generated-packages.nix I also set the parallelism (--proc) to 1 by default else luarocks fails because of https://github.com/luarocks/luarocks/issues/1540 * Update maintainers/scripts/pluginupdate.py Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com> --------- Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-10-28Merge master into staging-nextgithub-actions[bot]1-5/+5
2023-10-28fetchFromBittorrent: Rename to fetchtorrentEirik Wittersø1-5/+5
2023-10-27doc: fix heading of mesonInstallTagsWeijia Wang1-9/+5
2023-10-26Merge master into staging-nextgithub-actions[bot]1-156/+141
2023-10-26Merge pull request #258595 from fricklerhandwerk/doc-emscriptenValentin Gagarin1-156/+141
Emscripten docs: reword and remove mention of `nix-env`
2023-10-26Merge branch 'staging' into staging-nextVladimír Čunát2-3/+34
2023-10-24doc: use lib.fakeHash with buildGoModule to get vendorHashStel Abrego1-1/+1
lib.fakeSha256 results in `error: hash <fake_hash> does not include a type, nor is the type otherwise known from context`.
2023-10-24Merge pull request #261798 from blitz/systemd-minimizationFlorian Klink1-0/+9
Avoid Two Sets of systemd Binaries in System Closure
2023-10-24Merge pull request #262301 from ShamrockLee/doc-lib-customisationSilvan Mosberger1-0/+1
Generate and refine documentation for `lib.customisation`
2023-10-23Merge staging-next into staginggithub-actions[bot]1-6/+43
2023-10-23doc/stdenv: rewrite manual build procedure to be closer to an auto-build ↵Jade Lovelace1-6/+43
(#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>
2023-10-23meson: introduce mesonInstallTagsJulian Stecklina1-0/+9
Projects building with meson are currently installTargets. Map these to install tags, which are roughly equivalent. This allows projects to selectively install components.
2023-10-22Merge staging-next into staginggithub-actions[bot]1-3/+4
2023-10-21Merge pull request #231483 from hacker1024/feature/flutter-on-dartMaciej Krüger1-3/+4
buildFlutterApplication: Wrap buildDartApplication
2023-10-21Merge staging-next into staginggithub-actions[bot]1-0/+1
2023-10-21doc: fix heading levels of Meson hook documentationAlyssa Ross1-4/+4
Fixes: 10f35ff05df1 ("meson.setupHook: prefer meson commands over ninja")
2023-10-21doc/python: mention python313Martin Weinelt1-0/+1
2023-10-21buildDartApplication: Use package override mechanism from ↵hacker10241-3/+4
buildFlutterApplication This allows Dart applications to benefit from the package override system, which is useful for things like FFI dependencies.
2023-10-20doc: generate documentation for lib.customisationYueh-Shun Li1-0/+1
2023-10-19Merge staging-next into staginggithub-actions[bot]1-0/+14
2023-10-19Merge pull request #260770 from hercules-ci/darwin-builder-observableRobert Hensing1-0/+14
`darwin.linux-builder`: Make more observable
2023-10-18Merge staging-next into staginggithub-actions[bot]1-0/+23
2023-10-18fetchFromBittorrent: initmatthewcroughan1-0/+23
Adds a basic FOD Fetcher for Bittorrent that uses Transmission as a client Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-10-17Merge staging-next into staginggithub-actions[bot]1-0/+1
2023-10-16Merge pull request #251190 from alejandrosame/docs-mention-nrdSilvan Mosberger1-0/+1
doc manuals: add reference to nixos-render-docs
2023-10-12darwin.linux-builder: Expose nixosConfig and nixosOptions attributesRobert Hensing1-0/+14
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.
2023-10-10Merge staging-next into staginggithub-actions[bot]1-1/+1
2023-10-09link to documentation on IFD in the Nix manualValentin Gagarin1-1/+1
2023-10-09meson.setupHook: prefer meson commands over ninjaAlyssa Ross2-3/+25
Meson now comes with its own set of commands for building, testing, installing etc., that by default wrap around Ninja. The reason to prefer using the Meson commands is that they take additional options (e.g. setting custom timeouts for tests — my motivation for this change). Here, I've modified the Meson setup hook so that Meson's test and install commands will be used instead of Ninja's when Meson's configurePhase is used. This restriction is to avoid starting to run Meson directly when dealing with custom build systems that wrap around Meson, like QEMU's. We don't use meson's compile command, as it just runs ninja, and that's handled fine by the existing Ninja setup hook. Naturally the Meson commands don't support entirely the same set of options that the Ninja ones did, but I checked through Nixpkgs to find any packages using Meson that used any options that wouldn't be picked up by this new system. I only found one, and it was just setting checkTarget = "test", which is the default value for Ninja and has no Meson equivalent (because we directly tell Meson to run the tests rather than going through a generic job system like Ninja). Link: https://github.com/NixOS/nixpkgs/issues/113829 Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-10-08Merge pull request #258384 from doronbehar/buildNpmPackage-makeWrapperArgsDoron Behar1-1/+15
buildNpmPackage: support makeWrapperArgs
2023-10-07texlive: document new texlive.pkgs attributeVincenzo Mantova1-0/+18
2023-10-07buildNpmPackage: support makeWrapperArgsDoron Behar1-0/+1
2023-10-07docs/javascript/buildNpmPackage: Document fetchNpmDepsDoron Behar1-1/+10
Co-authored-by: Lily Foster <lily@lily.flowers>
2023-10-07docs/javascript/buildNpmPackage: Document bin, man and npm pack behaviorDoron Behar1-0/+4
2023-10-04Merge master into haskell-updatesgithub-actions[bot]1-5/+6
2023-10-03Merge pull request #253714 from teto/vim-updater-packageMatthieu Coudron1-5/+6