1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

3413 commits

Author SHA1 Message Date
Philip Taron 29cca09041
rustPlatform.fetchCargoTarball: support pname+version (#332975) 2024-09-06 23:00:21 -07:00
Johannes Kirschbauer 71f01ce1fc
Doc/importNpmLock: general improvements (#340019)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-09-07 07:59:02 +02:00
éclairevoyant 5c38beb516
doc/rust: prefer pname+version over name in fetchCargoTarball 2024-09-07 01:10:01 -04:00
Ilan Joselevich 8dce4a0063
doc/stdenv: fix typo in sourceRoot section (#339604) 2024-09-05 03:43:46 +03:00
Philip Taron afb866e64a
yarnInstallHook: init (#328544) 2024-09-04 14:33:47 -07:00
seth 8bc8bbd1c9
doc/stdenv: fix typo in sourceRoot section 2024-09-04 14:43:23 -04:00
Robert Hensing ce974f8107
doc/dockertools: add note about base image config inheritance (#339555) 2024-09-04 17:49:09 +01:00
Mathias Sven 138d76c31b
doc/dockertools: add note about base image config inheritance 2024-09-04 15:41:32 +01:00
lelgenio 7783e118af yarnInstallHook: init 2024-09-04 11:15:47 -03:00
Silvan Mosberger aec0d14834 treewide: Fix or remove some markdown links
Found using https://github.com/serokell/xrefcheck, which unfortunately
can't trivially be enforced in CI because we also have the manual markdown
files that need post-processing to be valid
2024-09-03 23:37:05 +02:00
David McFarland 7bc85af0c5
buildDotnetModule: add testFilters arg (#336571) 2024-09-02 07:09:06 -07:00
adisbladis 74eefb4210
doc/languages-frameworks/python: fix typos (#322267) 2024-09-01 15:35:33 +12:00
Colin d6de00150e doc/languages-frameworks/python: fix typos 2024-09-01 00:41:03 +00:00
github-actions[bot] b9ec6f58ab
Merge master into staging-next 2024-08-30 06:04:29 +00:00
adisbladis 93ff3f6b76 python3Packages.psycopg2-binary: Fix pname spelling 2024-08-30 15:25:36 +12:00
Robert Schütz c3925f7268
mkPythonMetaPackage: init meta package function (and psycopg2-binary) (#337621) 2024-08-29 17:30:11 -07:00
adisbladis d3e7844bbc python3Packages.psycopg2-binary: init at 2.9.9
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-30 11:05:29 +12:00
github-actions[bot] d83e365b06
Merge master into staging-next 2024-08-29 18:04:21 +00:00
adisbladis 9c7ff7277c
importNpmLock.buildNodeModules: init
`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-29 06:12:07 -07:00
adisbladis 8cd58c7e14 python3Packages.mkPythonMetaPackage: init
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-30 00:24:31 +12:00
github-actions[bot] 42531ffc56
Merge master into staging-next 2024-08-28 12:05:25 +00:00
Matthias Beyer f78adb0891 doc: Move "This is equivalent to" into example block
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-28 11:26:23 +02:00
Matt Sturgeon 1c379e3a57
buildDotnetModule: add testFilters arg
In addition to the existing `disabledTests`, allow defining more general
test filters using `testFilters`.
2024-08-22 19:52:07 +01:00
K900 5c68540f8b Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-22 13:20:38 +03:00
Vladimír Čunát 51091a9b32
Merge #319558: ruby: make 3.3 the default
...into staging
2024-08-22 11:00:51 +02:00
Nathan Henrie f5f24cdb58 doc: add documentation for pkgs.{substitute,substituteAll,substituteAllFiles}
Fixes https://github.com/NixOS/nixpkgs/issues/65252
2024-08-21 20:11:02 +02:00
Philip Taron 198af78cb6
nixpkgs-manual: fix build 2024-08-20 06:49:36 -07:00
Philip Taron be245de559
Merge pull request #333262 from nbraud/doc/runCommandWith
nixpkgs-manual: Document `runCommandWith`, refactor `runCommand{,CC,Local}`
2024-08-19 12:29:58 -07:00
nicoo 9e5d56e8c6 doc/build-helpers: forward-link runCommand* in runCommandWith 2024-08-19 19:16:43 +00:00
nicoo 2b8a6a7e43 doc/build-helpers: refactor the paragraph about runCommandLocal 2024-08-19 19:16:43 +00:00
nicoo e3d7e7f2a7 doc/build-helpers: add note relating runCommand and runCommandWith 2024-08-19 19:16:42 +00:00
nicoo 482d6eaab2 doc/build-helpers: refactor the paragraphs about runCommand{,CC}
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2024-08-19 19:16:42 +00:00
nicoo 80e3fd91a9 doc/build-helpers: document runCommandWith
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2024-08-19 19:16:42 +00:00
Matthieu Coudron a5e5d66a4c
vimPlugins: introduce passthru.initLua for some plugins (#334913)
* 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-19 12:16:42 +02:00
github-actions[bot] 7fab29afce
Merge staging-next into staging 2024-08-17 06:01:46 +00:00
Philip Taron cd7b95ee37
Merge pull request #333236 from nbraud/testers/runCommand
testers.runCommand: init
2024-08-16 18:07:41 -07:00
github-actions[bot] 26d52a889c
Merge staging-next into staging 2024-08-16 18:01:47 +00:00
Doron Behar 0d920a91a2
Merge pull request #225051 from ShamrockLee/go-module-overlay-stdenv
buildGoModule: Fix overriding with overlay-style stdenv
2024-08-16 15:44:15 +00:00
Alyssa Ross 5c30512e09 doc/using/overrides: manage package option expectations
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-16 16:13:01 +02:00
github-actions[bot] bf227f2f74
Merge master into staging-next 2024-08-13 06:01:20 +00:00
Justin Bedő b1953b001e
Merge pull request #328272 from TomaSajt/r-packages-migrate-to-json
rPackages: migrate code generation to use JSON
2024-08-13 15:06:02 +10:00
Yueh-Shun Li eed069a5bc buildGoModule: fix overrideAttrs overriding
Fix overriding of vendorHash and various attributes via the fixed point
attribute support of stdenv.mkDerivation.

Pass as derivation attributes
goModules, modRoot, vendorHash, deleteVendor, and proxyVendor.

Move goModules and vendorHash out of passthru.

Co-authored-by: Doron Behar <doron.behar@gmail.com>
2024-08-11 13:38:11 +08:00
Martin Weinelt 0e1624df44
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/pycdio/default.nix
2024-08-11 03:10:34 +02:00
Robert Hensing c5979b4e01
Merge pull request #329400 from NixOS/doc-function-inputs
doc/README: Add function Inputs guidelines
2024-08-11 01:23:32 +02:00
Doron Behar 00183733be
Merge pull request #332952 from doronbehar/doc/python_by-name
doc/python: don't recommend all-packages.nix for Python applications
2024-08-10 21:29:58 +00:00
nicoo e0fc12cd12 doc: add type signature of testers.runCommand 2024-08-08 15:43:47 +00:00
nicoo d0a96c6eda testers.runCommand: add, document, and test 2024-08-08 15:29:14 +00:00
github-actions[bot] 0bc8d4924e
Merge master into staging-next 2024-08-07 18:01:07 +00:00
Doron Behar d6f7206fe0
Merge pull request #323493 from pyrox0/pnpm-fetchdeps-improve
pnpm.fetchDeps: Add workspace and custom pnpm config commands support
2024-08-07 12:37:34 +00:00
Doron Behar 38e8fe7e3f doc/python: don't recommend all-packages.nix for Python applications 2024-08-07 12:02:11 +03:00