about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2024-08-30python3Packages.psycopg2-binary: Fix pname spellingadisbladis1-1/+1
2024-08-29mkPythonMetaPackage: init meta package function (and psycopg2-binary) (#337621)Robert Schütz1-0/+16
2024-08-30python3Packages.psycopg2-binary: init at 2.9.9adisbladis1-1/+4
Pscycopg2-binary is normally used in Python development to avoid having to build psycopg2 from source. In nixpkgs we always want ot build from source whenever possible, but it can still be useful to provide a psycopg2-binary package. This "fake" package exists to satisfy a dependency on psycopg2-binary, but still use the build from psycopg2. cc @misuzu https://github.com/nix-community/pyproject.nix/issues/143
2024-08-29importNpmLock.buildNodeModules: initadisbladis1-0/+37
`importNpmLock.buildNodeModules` returns a derivation with a pre-built `node_modules` directory, as imported by `importNpmLock`. This is to be used together with `importNpmLock.hooks.linkNodeModulesHook` to facilitate `nix-shell`/`nix develop` based development workflows: ```nix pkgs.mkShell { packages = [ importNpmLock.hooks.linkNodeModulesHook nodejs ]; npmDeps = importNpmLock.buildNodeModules { npmRoot = ./.; inherit nodejs; }; } ``` will create a development shell where a `node_modules` directory is created & packages symlinked to the Nix store when activated. This code is adapted from https://github.com/adisbladis/buildNodeModules
2024-08-30python3Packages.mkPythonMetaPackage: initadisbladis1-0/+13
This function exists create a meta package containing [metadata files](https://packaging.python.org/en/latest/specifications/recording-installed-packages/) to satisfy a dependency on a package, without it actually having been installed into the environment.
2024-08-28doc: Move "This is equivalent to" into example blockMatthias Beyer1-1/+1
This patch moves the code snippet which is shown as equivalent to the example into the actual example block. Visually, it was not easy to parse that the "equivalent" code piece belonged to the code snippet that was hidden in the example (which is collapsed by default). By moving it into the example block, the "equivalent" piece is hidden by default as well. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-08-21doc: add documentation for `pkgs.{substitute,substituteAll,substituteAllFiles}`Nathan Henrie2-0/+103
Fixes https://github.com/NixOS/nixpkgs/issues/65252
2024-08-19Merge pull request #333262 from nbraud/doc/runCommandWithPhilip Taron1-19/+115
nixpkgs-manual: Document `runCommandWith`, refactor `runCommand{,CC,Local}`
2024-08-19doc/build-helpers: forward-link `runCommand*` in `runCommandWith`nicoo1-2/+6
2024-08-19doc/build-helpers: refactor the paragraph about `runCommandLocal`nicoo1-13/+14
2024-08-19doc/build-helpers: add note relating `runCommand` and `runCommandWith`nicoo1-0/+18
2024-08-19doc/build-helpers: refactor the paragraphs about `runCommand{,CC}`nicoo1-18/+21
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2024-08-19doc/build-helpers: document `runCommandWith`nicoo1-1/+71
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2024-08-19vimPlugins: introduce passthru.initLua for some plugins (#334913)Matthieu Coudron1-0/+8
* vimPlugins: introduce passthru.initLua for some plugins as described in https://github.com/NixOS/nixpkgs/issues/172538, some vim plugins need some configuration to be able to work at all. We choose not to patch those plugins and instead expose the necessary configuration to make them work in `PLUGIN.passthru.initLua`. For now the user can check if plugins have a `PLUGIN.passthru.initLua` and if yes, prepend it to their own init.lua. Maybe later we can revisit this to either patch them in a way that is clear that it's a nixpkgs patch or by having the neovim wrapper pick those snippets and autoadd them to init.lua ? * Update doc/languages-frameworks/vim.section.md Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com> --------- Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2024-08-16Merge pull request #333236 from nbraud/testers/runCommandPhilip Taron1-0/+35
testers.runCommand: init
2024-08-16doc/using/overrides: manage package option expectationsAlyssa Ross1-0/+7
We haven't been good at managing expectations about this, so let's tell people what level of support they can expect. I think the place people are most likely to see it is the place where they learn about overriding in the first place, so I've added it here. Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-08-13Merge master into staging-nextgithub-actions[bot]1-10/+13
2024-08-13Merge pull request #328272 from TomaSajt/r-packages-migrate-to-jsonJustin Bedő1-10/+13
rPackages: migrate code generation to use JSON
2024-08-11Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2-20/+33
Conflicts: - pkgs/development/python-modules/pycdio/default.nix
2024-08-11Merge pull request #329400 from NixOS/doc-function-inputsRobert Hensing1-8/+25
doc/README: Add function Inputs guidelines
2024-08-10Merge pull request #332952 from doronbehar/doc/python_by-nameDoron Behar1-12/+8
doc/python: don't recommend all-packages.nix for Python applications
2024-08-08doc: add type signature of `testers.runCommand`nicoo1-0/+2
2024-08-08testers.runCommand: add, document, and testnicoo1-0/+33
2024-08-07Merge master into staging-nextgithub-actions[bot]1-3/+52
2024-08-07Merge pull request #323493 from pyrox0/pnpm-fetchdeps-improveDoron Behar1-3/+52
pnpm.fetchDeps: Add workspace and custom pnpm config commands support
2024-08-07doc/python: don't recommend all-packages.nix for Python applicationsDoron Behar1-12/+8
2024-08-07Merge master into staging-nextgithub-actions[bot]1-2/+12
2024-08-07Merge pull request #332784 from ↵OTABI Tomoya1-0/+4
pbsds/doc-python-auto-remove-deps-hook-1722967990 docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
2024-08-06docs/language-frameworks/python: update python{,2,3}Package aliasesPeder Bergebakken Sundt1-2/+8
2024-08-06docs/language-frameworks/python: pythonRemoveDepsHook is added automaticallyPeder Bergebakken Sundt1-0/+4
2024-08-06python312Packages.setuptoolsCheckHook: removeMartin Weinelt1-1/+0
The hook relied on the `test` command passed to `setup.py`, which has long been deprecated and finally removed in setuptools 72.0.
2024-08-05pnpm.fetchDeps: Add workspaces support and support for custom pnpm ↵Pyrox1-3/+52
configuration commands Solves #316908
2024-08-01Merge remote-tracking branch 'origin/staging-next' into stagingK9001-4/+4
2024-07-31Merge pull request #327651 from corngood/dotnet-unpacked-packagesDavid McFarland1-4/+4
dotnet: use unpacked packages in store
2024-07-31doc: update R section to mention .json filesTomaSajt1-10/+13
2024-07-31Merge remote-tracking branch 'origin/staging-next' into stagingK9007-5/+136
2024-07-31dotnet: use unpacked nuget packagesDavid McFarland1-4/+4
2024-07-31Merge pull request #330176 from raboof/docs-show-pyproject-instead-of-formatAleksana2-3/+3
docs: show `pyproject = true;` instead of `format = "pyproject";`
2024-07-30treewide: normalize maintainers list formattingSigmanificient1-1/+1
grep -rP 'maintainers = \[\];'
2024-07-29nixpkgs-manual: use injected revision onlyPhilip Taron1-1/+1
`lib.trivial.revisionWithDefault` will change with every Git commit, which causes the manual to be rebuilt on every since PR. Using `nixpkgs.rev` (or the dummy value "master" if it's not present) means that the manual will contain the revision if built on Hydra, but will not otherwise. Why? 1. https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-configuration shows that `pkgs/top-level/release.nix` is passed the `nixpkgs` attrset, which is a "Git checkout". 2. Git checkouts come from [`builtins.fetchGit`](https://nix.dev/manual/nix/2.18/language/builtins#builtins-fetchGit) and include the `rev` attribute. 3. The `rev` attribute is what `lib.trivial.revisionWithDefault` would have returned. So, using `nixpkgs.rev or "master"` exclusively will cause the rebuilds on every commit to cease, but will allow "official" nixpkgs manual built on Hydra to continue to reference a specific commit.
2024-07-29doc/interoperability: new chapter and section on CycloneDX (#316626)Emery Hemingway3-0/+85
* doc/interoperability: new chapter and section on CycloneDX
2024-07-28devShellTools: Docs, fix args envRobert Hensing1-0/+46
2024-07-28doc/stdenv: hardening flags: add section on pacret hardening flagRobert Scott1-0/+8
2024-07-28Merge pull request #326819 from risicle/ris-shadowstackEmily1-0/+10
cc-wrapper: add support for `shadowstack` hardening flag
2024-07-28doc/stdenv: add section on shadowstack hardening flagRobert Scott1-0/+10
2024-07-28Merge #328673: staging-next 2024-07-20Vladimír Čunát1-16/+13
2024-07-28Merge pull request #323613 from CyberShadow/fix-nix-path-without-channels-v2Robert Hensing1-0/+49
nix-channel: do not set empty nix-path when disabling channels
2024-07-27Merge branch 'master' into staging-nextVladimír Čunát9-252/+361
2024-07-26nixpkgs-manual: inline common.nixPhilip Taron2-12/+4
2024-07-26nixpkgs-manual: move shell to packagePhilip Taron2-7/+6