José Romildo
1f239257c5
maintainers/scripts/update.nix: make package name, pname and old version available to the update script
2022-09-26 22:16:19 -03:00
Ivv
2650d450a7
Merge pull request #190403 from IvarWithoutBones/dotnetmodule-fixes
...
buildDotnetModule: several usability improvements
2022-09-26 15:04:31 +02:00
Robert Hensing
6205d37747
nixos/testing: Improve option docs
2022-09-24 17:38:10 +01:00
Frederik Rietdijk
9e02095f4e
Python docs: document attribute to use for non-PyPI projects
2022-09-22 13:31:58 +02:00
Robert Hensing
b2def3c2ce
doc/postgresql-test-hook: Add example
2022-09-19 18:14:31 +01:00
Ivar Scholten
8e00d6ac26
buildDotnetModule: move nugetDeps throw to when its actually needed
...
Previously we had an assert that would complain when nugetDeps wasnt set,
which also didnt allow any passthru attributes (like fetch-deps) to be
build. That causes a cycle where you need nugetDeps to fetch the nuget
deps, but arent able to build the script to do so.
2022-09-18 18:00:37 +02:00
Ivar Scholten
03a1b62cb3
buildDotnetModule: dont require specifing a projectFile
...
In a lot of cases dotnet can figure this out by itself, so we can just
invoke it without the project argument.
2022-09-18 18:00:37 +02:00
Dennis Gosnell
533e1f0468
Merge pull request #190795 from cdepillabout/coq-add-docs
...
doc/language-frameworks/coq: add explanation of how to override packages
2022-09-16 09:09:09 -04:00
davidak
63f7b8c945
Merge pull request #190818 from IvarWithoutBones/testversion-doc
...
doc/testers: testVersion -> testers.testVersion, add example
2022-09-15 23:48:56 +02:00
Ivar Scholten
6c40872147
doc/testers: testVersion -> testers.testVersion, add example
2022-09-15 22:46:37 +02:00
Dennis Gosnell
6cc6850fe2
doc/language-frameworks/coq: add explanation of how to override packages
2022-09-15 09:18:20 -04:00
Matthieu Coudron
800323c0c0
doc(vim): take into account plug non-support
...
Apply suggestions from code review
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-11 20:33:01 +02:00
Matthieu Coudron
3944240476
doc(neovim): remove the mention of plug for neovim
...
This was removed to simplify configuration. One could create a function that converts the plug format to vim native package format (only plugin system supported for neovim) and upstream it to nixpkgs if that's an issue
2022-09-11 18:11:16 +02:00
Matthieu Coudron
584bc20aa0
doc: present how to create a vim-plugin overlay
...
it is possible to maintain an out of tree list of neovim plugins with this method
Update doc/languages-frameworks/vim.section.md
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-09-11 18:11:16 +02:00
Sandro
1bb33d6dbe
doc/contributing: fix whitespace
2022-09-07 01:01:48 +02:00
Anderson Torres
6be0f0e057
Merge pull request #189241 from SuperSandro2000/git-full-hash
...
doc/contributing: enforce full commit hashes on github
2022-09-05 21:26:05 -03:00
Sandro Jäckel
be09c1638d
doc/contributing: enforce full commit hashes on github
2022-09-04 00:50:35 +02:00
Ian Macalinao
30a5965216
doc/languages-frameworks/rust: fix typo
2022-09-03 15:45:21 -05:00
Marc Scholten
41de927b70
doc: Clarify default value of sourceRoot
2022-09-03 11:13:58 +02:00
pennae
3bddcf5f90
Merge branch 'master' into option-docs-md
2022-09-01 16:10:09 +02:00
pennae
9c3c13b50d
nixos/make-options-doc: add inline roles for varname/envar
...
both of these render distinctly from plain literals in the manpage, and
manpages even semantically distinguish between the two.
2022-08-31 16:21:10 +02:00
Robert Hensing
62b25a28fe
Merge pull request #170906 from Sohalt/dockerTools.ca-certificates.crt
...
dockerTools ca-certificates.crt helper
2022-08-31 14:08:02 +02:00
Robert Hensing
507d35c207
Merge pull request #188805 from ncfavier/longDescription-format
...
doc: specify that `longDescription` should be Markdown
2022-08-30 00:13:02 +02:00
Naïm Favier
2f88279ab9
doc: specify that longDescription
should be Markdown
...
In the spirit of RFC 72, document that longDescription is in CommonMark.
2022-08-29 20:19:34 +02:00
Martin Weinelt
986c31401e
doc/python: Properly sort pythonRelaxDepsHook in hook list
2022-08-24 23:03:31 +02:00
Martin Weinelt
8a26deba06
doc/python: integrate sphinxHook docs
...
Improve the documentation by moving it from the hook script into the
Python section in the manual and adding code examples.
2022-08-24 23:02:24 +02:00
Adam Joseph
aad7f1d6b3
doc/../rust.section.md: prominently mention buildRustXX
names
...
This was a source of massive confusion for me when I first learned my way around nixpkgs' rust machinery. I seek to save others from that confusion.
* `buildRustPackage` should have been named `buildRustPackageUsingCargo`
* `buildRustCrate` should have been named `buildRustPackageUsingNix`
It is, unfortunately, too late to fix this. Let's do the next best thing and make the names `buildRustPackage` and `buildRustCrate` very prominent in the documentation, so readers see immediately that they need to learn the following jargon:
* `buildRustPackage` means "build this Rust crate by calling `cargo` in one (or two) monolithic derivations"
* `buildRustCrate` means "build this Rust crate by calling `rustc` in one derivation for each crate"
2022-08-22 14:37:41 -07:00
github-actions[bot]
318717f2e3
Merge master into staging-next
2022-08-20 00:02:22 +00:00
Valentin Gagarin
16eb45c655
doc: add note about makeWrapper and PATH modification
2022-08-19 13:11:27 -05:00
github-actions[bot]
954d3734e9
Merge master into staging-next
2022-08-17 12:01:28 +00:00
Alex James
c9af898255
dockerTools.buildImage: make VM memSize configurable
...
Fixes #186752 . This adds buildVMMemorySize (defaults to 512 MiB) to
buildImage, which is passed to vm.runInLinuxVM. This is needed for
larger base images, which may otherwise cause container build failures
due to OOM in the VM.
2022-08-16 21:47:29 -05:00
github-actions[bot]
842c52c5ba
Merge staging-next into staging
2022-08-15 00:03:15 +00:00
Winter
dbd18a63a7
fetchgit: allow disabling cone mode for sparse checkouts, fix test
2022-08-14 23:03:07 +02:00
Winter
e8fbb38a51
pythonPackages.unittestCheckHook: init
2022-08-13 14:09:43 -04:00
Frederik Rietdijk
2270b66d75
pythonPackagesExtensions: override all Python package sets at once
...
Python package sets can be overridden by overriding an interpreter
and passing in `packageOverrides = self: super: {...};`. This is fine
in case you need a single interpreter, however, it does not help you
when you want to override all sets.
With this change it is possible to override all sets at once by
appending a list of "extensions" to `pythonPackagesExtensions`.
From reading the implementation you might wonder why a list is used, and
not
`lib.composeExtensions`? The reason is the latter requires knowledge of
the library function. This approach should be easier for most users
as it is similar to how we append to lists of e.g. inputs or patches
when overriding a derivation.
2022-08-06 09:39:39 +02:00
Florian Klink
00ff154265
Merge pull request #174093 from NixOS/doc-fakenss
...
nixos/doc: document fakeNss, binSh
2022-08-04 21:06:19 +07:00
Matthias Bartelmeß
0ff5e21ea2
Correct instructions to obtain a hash for git repos
2022-08-04 00:31:31 +02:00
Valentin Gagarin
671ce969a9
Merge pull request #179489 from Thornycrackers-Forks/fetcher-docs-update
...
doc/builders/fetchers: Add examples, reduce sentence complexity
2022-08-03 11:50:56 +02:00
Valentin Gagarin
163e81aac0
Merge pull request #184848 from jtojnar/mkder-rec-anchor
...
doc: Add anchor to Recursive attributes in `mkDerivation`
2022-08-03 11:18:36 +02:00
Cody Hiar
3c2cd351d4
Add example error message.
2022-08-02 11:07:36 -06:00
Cody Hiar
9c292dd02e
Updating sha256 to more realistic example
2022-08-02 10:55:15 -06:00
Cody Hiar
0e91d53cc5
Update doc/builders/fetchers.chapter.md
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-08-02 10:52:08 -06:00
Cody Hiar
0685e4a929
Update doc/builders/fetchers.chapter.md
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-08-02 10:51:38 -06:00
Cody Hiar
6d0bf6ae05
Update doc/builders/fetchers.chapter.md
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-08-02 10:51:09 -06:00
Cody Hiar
0444078dab
Update doc/builders/fetchers.chapter.md
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-08-02 10:50:22 -06:00
Cody Hiar
53ffebbe1f
Update doc/builders/fetchers.chapter.md
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-08-02 10:50:05 -06:00
Jan Tojnar
4cb8aa1324
doc: Add anchor to Recursive attributes in mkDerivation
...
So that we can link to it stably.
2022-08-02 18:01:03 +02:00
github-actions[bot]
ad090ff867
Merge master into staging-next
2022-08-02 00:02:24 +00:00
ajs124
0d5c464ad6
buildGoModule: add vendorHash
...
the _unset hack is kind of ugly, but it needs to default to something
and it can't be null, because that already has special meaning
2022-08-02 07:28:13 +10:00
github-actions[bot]
c8b4067ae8
Merge master into staging-next
2022-08-01 12:01:37 +00:00
Valentin Gagarin
c9c9d9a1b3
Merge pull request #182702 from SuperSandro2000/yarn2nix-doc
...
docs/javascript: advise to create less yarn.nix files
2022-08-01 08:46:06 +02:00
Florian Klink
6e254a6c35
nixos/doc: update contents to copyToRoot
...
contents is deprecated now, use the copyToRoot attribute.
2022-08-01 13:41:41 +07:00
Florian Klink
4393ed8679
Update doc/builders/images/dockertools.section.md
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-08-01 13:34:20 +07:00
Florian Klink
d84e7842a5
nixos/doc: document fakeNss, binSh
2022-08-01 13:34:20 +07:00
Sandro Jäckel
d92f25a1f4
docs/javascript: advise to create less yarn.nix files
2022-07-30 19:29:31 +02:00
github-actions[bot]
a37c393ba4
Merge staging-next into staging
2022-07-29 12:02:05 +00:00
Arnout Engelen
e1b3ee51e3
Merge pull request #183422 from raboof/nixpkgs-docs-consistent-ids
...
nixpkgs/doc: generate consistent docbook ids
2022-07-29 11:17:19 +02:00
Arnout Engelen
10670b0b96
nixpkgs/doc: generate consistent docbook ids
...
to make diff'ing different versions of the generated docs less noisy
2022-07-28 20:08:25 +02:00
github-actions[bot]
6a1cd17d72
Merge staging-next into staging
2022-07-28 18:01:55 +00:00
Arnout Engelen
ca95a7a25c
Merge pull request #183353 from raboof/nixpkgs-manual-unused-unfree
...
nixpkgs/doc: remove unused `unfree.xml`
2022-07-28 17:22:50 +02:00
Arnout Engelen
0dd7792b4c
nixpkgs/doc: remove unused unfree.xml
...
This section was broken out into its own file in efb55d2a42
but
apparently never actually got included anywhere.
Since then a more detailed section on using unfree packages has been
introduced.
Copied the introduction and removed the rest of the file.
2022-07-28 16:54:32 +02:00
github-actions[bot]
437247fc43
Merge staging-next into staging
2022-07-28 12:02:23 +00:00
Sandro
f358b0d40d
Merge pull request #182273 from mdarocha/dotnet-self-contained-build
...
buildDotnetModule: add option to make a self-contained build
2022-07-28 11:59:09 +02:00
Bernardo Meurer
88c63ca65a
Merge pull request #182513 from trofi/strip-for-host-and-target
...
gcc: enable stripping for cross-compilers
2022-07-28 00:30:49 -07:00
mdarocha
124fa63a88
buildDotnetModule: add documentation about selfContained flag
2022-07-26 18:03:03 +02:00
Sergei Trofimovich
0f45ce6e77
setup-hooks/strip.sh: add strip{All,Debug}ListTarget variables
...
This change mimics existing strip{All,Debug}List variables to
allow special stripping directories just for Target.
The primary use case in mind is gcc where package has to install
both host and target ELFs. They have to be stripped by their own
strip tools accordingly.
Co-authored-by: Rick van Schijndel <Mindavi@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-07-25 11:06:45 +01:00
Artturi
79e8669003
Merge pull request #179603 from Artturin/subplacemultiple
2022-07-24 04:14:09 +03:00
github-actions[bot]
a92f7ed60a
Merge staging-next into staging
2022-07-21 18:02:00 +00:00
Jan Tojnar
c80ea7da04
Merge pull request #177219 from kenranunderscore/correct-nixpkgs-review-invocations-in-docs
...
doc/contributing: replace outdated 'nix run' syntax for nixpkgs-review
2022-07-21 14:40:39 +02:00
Cody Hiar
f25dd50085
Update doc/builders/fetchers.chapter.md
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-07-18 11:26:51 -06:00
github-actions[bot]
97f117148f
Merge staging-next into staging
2022-07-17 00:02:54 +00:00
Valentin Gagarin
5a8c55c1e0
Merge pull request #181709 from aiotter/doc
2022-07-16 15:00:02 +01:00
aiotter
dbd75e3229
doc: update cmake doc for better readability
2022-07-16 19:10:31 +09:00
Artturi
192e3d44ac
Merge pull request #181302 from Artturin/fixcross4
...
lua-packages: fix eval failure when cross-compiling
2022-07-15 19:51:16 +03:00
github-actions[bot]
9303bacb57
Merge staging-next into staging
2022-07-15 12:01:52 +00:00
Valentin Gagarin
15edb27dd5
Merge pull request #177732 from tljuniper/python-doc-typos
...
doc/languages-frameworks: Fix typos
2022-07-15 11:50:54 +01:00
Artturin
c87635d917
doc: move makeWrapper to nativeBuildInputs from buildInputs
...
makeWrapper in buildInputs breaks cross-compilation with error: attribute 'runtimeShell' missing
2022-07-14 22:08:56 +03:00
github-actions[bot]
60c97a605c
Merge staging-next into staging
2022-07-13 18:02:06 +00:00
Luc Chabassier
65f330a83d
Update doc/languages-frameworks/coq.section.md
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-07-13 17:42:46 +02:00
github-actions[bot]
eb2dfaed06
Merge staging-next into staging
2022-07-13 12:01:56 +00:00
DwarfMaster
3d1205de91
doc: clarify coq override
2022-07-13 12:29:55 +02:00
Robert Hensing
3c1447f807
Merge pull request #121015 from fricklerhandwerk/docs-patch-shebangs
...
docs: expand explanation of patchShebangs hook
2022-07-13 12:17:11 +02:00
Valentin Gagarin
b7b86c4f54
add stable anchor
...
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2022-07-13 10:19:23 +01:00
Artturi
4427b7dfab
Merge pull request #177538 from Artturin/fixcross3
2022-07-12 16:14:46 +03:00
Matthieu Coudron
341b9564bb
vimUtils: remove vam support
...
having this many (complex) options not only is hard to maintain but I cant see the benefit of these options now that vim supports packages
2022-07-10 20:38:09 +02:00
Jayson Henkel
cb7bea1312
Update grammar in vim section
...
Fixed a few grammatical issues. Was uncertain how to address Treesitter, as the homepage itself is inconsistent, using all combinations of Treesitter, Tree-sitter, treesitter and tree-sitter.
2022-07-08 15:09:32 +02:00
toonn
80ffac4097
Merge pull request #176661 from reckenrode/apple-sdk-11-x86_64
...
apple_sdk_11_0: make available for use on x86_64-darwin
2022-07-08 12:28:51 +02:00
Artturin
2cbce6b012
mesonEmulatorHook: check if the target binaries can be executed
...
this prevents having to bring in the emulator when compiling e.g. pkgsStatic
2022-07-07 21:29:53 +03:00
sohalt
c9d8e34fc4
dockerTools: document environment helpers
2022-07-07 14:50:23 +02:00
github-actions[bot]
312ad6d25c
Merge master into staging-next
2022-07-07 12:01:23 +00:00
Randy Eckenrode
25ccd71ff8
doc: update Darwin platform doc regarding the 11.0 SDK
2022-07-07 07:52:36 -04:00
Robert Hensing
e007eb480c
dockerTools.buildImage: Add copyToRoot to replace contents, explain usage
2022-07-06 07:30:24 +02:00
Cody Hiar
6a9987a095
Updated wording from code review
2022-07-04 14:39:11 -06:00
Johannes Maier
f0100c6fa7
doc/contributing: replace outdated 'nix run' commands
...
Use `nix-shell` instead, but also give an example of the correct
flakes version of the commands.
2022-07-03 21:30:01 +02:00
Artturin
ba1efa71ae
stdenv: substituteInPlace: accept multiple filenames
...
I don't know if getopt is available everywhere, so I did not use it.
in any case, it can be changed to use getopt in the future if
needed.
2022-06-29 22:03:19 +03:00
Cody Hiar
24e95a4461
Remove possessive apostrophes
2022-06-29 12:50:16 -06:00
Cody Hiar
48d5f38c6a
doc/builders/fetchers: Add examples, reduce sentence complexity
2022-06-28 17:18:48 -06:00
github-actions[bot]
54ae4bde46
Merge staging-next into staging
2022-06-28 06:02:06 +00:00
Anderson Torres
f2bcc211d7
Merge pull request #179279 from AndersonTorres/file-managers
...
A new section for file managers
2022-06-27 22:40:06 -03:00
AndersonTorres
ba92e37183
doc/contributing/coding-conventions: add a section about file managers
2022-06-26 23:58:09 -03:00
Sandro
fe72f925f5
Merge pull request #176792 from malob/fix-buildPerlPackages-pname
2022-06-23 13:26:03 +02:00
github-actions[bot]
9a2405d657
Merge staging-next into staging
2022-06-22 18:02:10 +00:00
Robert Hensing
fa9c83ca7f
Merge pull request #174460 from hercules-ci/module-docs-Nix-driven-location-links
...
make-options-doc: Support Nix-provided declaration links
2022-06-22 15:48:46 +02:00
github-actions[bot]
cea2503d73
Merge staging-next into staging
2022-06-21 18:01:45 +00:00
Ivv
8168651288
Merge pull request #178446 from zimbatm/dotnet-nugetdeps
...
buildDotnetModule: allow passing derivations to nugetDeps
2022-06-21 16:00:48 +02:00
zimbatm
ba2f31b6db
buildDotnetModule: allow passing derivations to nugetDeps
...
Sometimes I want to pass a different implementation of `mkNugetDeps`.
For example in private repos, it can be handy to use `__noChroot = true`
and bypass the deps.nix generation altogether. Or some Nuget packages
ship with ELF binaries that need to be patched, and that's best done as
soon as possible.
2022-06-21 15:45:52 +02:00
adisbladis
02c180b646
Merge pull request #176324 from meebey/meebey/meebey-patch-1
...
doc/builders/images/dockertools: improve shadowSetup example
2022-06-21 20:24:20 +08:00
github-actions[bot]
56813953d0
Merge staging-next into staging
2022-06-21 12:06:48 +00:00
Robert Hensing
e2c261f2c0
Merge pull request #176146 from pennae/module-docs-markdown
...
treewide: markdown option docs
2022-06-21 13:16:02 +02:00
tljuniper
ddb0914a7d
doc/languages-frameworks: typos
2022-06-21 09:03:18 +02:00
github-actions[bot]
3746a49dcc
Merge staging-next into staging
2022-06-21 00:02:48 +00:00
Graham Christensen
9284df58c1
maintainers: document new maintainers and team changes
2022-06-20 22:20:26 +02:00
github-actions[bot]
9f3b3514f1
Merge staging-next into staging
2022-06-19 00:03:16 +00:00
github-actions[bot]
b7aba4fb0f
Merge master into staging-next
2022-06-19 00:02:36 +00:00
Vincent Laporte
af888339b6
mkCoqDerivation: do not set DESTDIR
...
Fixes #178109
2022-06-18 11:54:21 +02:00
github-actions[bot]
8c938c76c8
Merge staging-next into staging
2022-06-16 18:01:58 +00:00
github-actions[bot]
1b3f8ec8e4
Merge master into staging-next
2022-06-16 18:01:17 +00:00
Sandro
a963f1b829
Merge pull request #177291 from SuperSandro2000/release-notes.xml
...
Delete unused release-notes.xml
2022-06-16 17:42:52 +02:00
Robert Hensing
11b33fcdcc
doc: Fix config options reference file links
2022-06-15 00:45:05 +02:00
github-actions[bot]
659ec6f582
Merge staging-next into staging
2022-06-14 18:02:03 +00:00
github-actions[bot]
34bc19a1dc
Merge master into staging-next
2022-06-14 18:01:25 +00:00
Vladimír Čunát
7a99205619
Merge #162960 : staging docs: explain that purple arrows are manual
2022-06-14 19:31:34 +02:00
github-actions[bot]
179051c702
Merge staging-next into staging
2022-06-14 12:02:11 +00:00
github-actions[bot]
452a7d6c43
Merge master into staging-next
2022-06-14 12:01:32 +00:00
Robert Hensing
0137df896e
Merge pull request #177370 from hercules-ci/nixpkgs-manual-promote-config-options-reference
...
doc: Promote config Options Reference to sub-chapter section
2022-06-14 11:18:56 +02:00
github-actions[bot]
15c142e5c0
Merge staging-next into staging
2022-06-13 18:02:13 +00:00
github-actions[bot]
6ccd35f78f
Merge master into staging-next
2022-06-13 18:01:35 +00:00
Matthieu Coudron
a1ad235743
vimUtils: deprecate configure.pathogen ( #154814 )
...
pathogen does not bring any value compared to vim native packages so
remove it to ease maintainance burden.
2022-06-13 15:25:46 +02:00
Artturi
ce62ff7bdf
Merge pull request #176464 from Artturin/gobjecfix
2022-06-12 17:32:49 +03:00
pennae
320aa2a791
treewide: attempt at markdown option docs
2022-06-12 12:44:38 +02:00
Robert Hensing
fa01afcf7f
doc: Promote config Options Reference to sub-chapter section
...
It was hidden in the insecure packages section.
- Lift it out.
- Add an id
2022-06-12 08:27:15 +02:00
Sandro
6449d45e25
Delete unused release-notes.xml
2022-06-11 15:48:52 +02:00
Artturin
6e6292279e
meson: add mesonEmulatorHook
...
fixes building documentation while cross-compiling and other issues
Exec format error: './gdk3-scan'
added some simple documentation
2022-06-11 04:51:04 +03:00
github-actions[bot]
ef1a40da01
Merge staging-next into staging
2022-06-10 12:02:21 +00:00
Valentin Gagarin
c3ea8c4dd9
do not mention trivial builders
2022-06-10 11:43:57 +02:00
Valentin Gagarin
e132e6be3c
fix heading level
2022-06-09 13:43:21 +02:00
Elis Hirwing
e91811bbe1
php74: Drop PHP 7.4 and add aliases throwing an error
2022-06-08 18:11:55 +02:00
Valentin Gagarin
f70073d72d
remove specifics on where build inputs come from in PATH
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-06-08 11:43:32 +02:00
Malo Bourgon
399732b449
buildPerlPackage: don't mess with pname
and phase out use of name
...
Currently `buildPerlPackage` prefixes the Perl version to the package's
`pname`, which results in `nix run` not being able to work for any
packages build with it out of the box. This commit corrects that and
phases out the ability to set `name` directly, as well as refactors the
code to not require `cleanedAttrs`.
2022-06-07 12:49:23 -07:00
Martin Weinelt
4566beb390
doc/python: update python version references
2022-06-06 11:46:06 -07:00
Mirco Bauer
ac66ff97ed
doc/builders/images/dockertools: improve shadowSetup example
...
The example snippet will fail with this error as it is not self contained and
assumes `shadowSetup` was given:
$ nix-build docker-image.nix
error: undefined variable 'shadowSetup' at docker-image.nix:20:7
Instead use the full reference to `shadowSetup` in the example so it will work
as stated.
2022-06-05 09:45:58 +08:00
Florian Klink
1cefcfab2d
nixos/doc: move fetchpatch documentation to fetcher documentation
...
… and link from the coding-conventions chapter to it.
Closes #48569 .
2022-06-03 14:37:31 +02:00
Martin Weinelt
79119a149b
Merge pull request #175662 from klemensn/firefox-smartcardSupport
2022-06-01 23:00:51 +02:00
Thiago Kenji Okada
9dfef0f30b
Merge pull request #175288 from thiagokokada/doc-pythonRelaxDepsHook
...
doc: document pythonRelaxDepsHook
2022-06-01 19:50:10 +01:00
Thiago Kenji Okada
2abfe3f700
doc: fix typos in pythonRelaxDepsHook
...
Co-authored-by: Guillaume Girol <symphorien@users.noreply.github.com>
2022-06-01 18:56:33 +01:00
Klemens Nanni
787a444596
doc: firefox: Show how to use PKCS#11 Proxy Module
...
`p11-kit-proxy.so` makes it able to use multiple PKCS#11 modules and
manage them through p11-kit(8).
Fix indentation while here.
2022-06-01 01:22:46 +02:00
Adam Joseph
81bc106e08
meta.sourceProvenance documentation: clarify it is unaffected by changes to meta.license
...
This commit clarifies that the meaning of the `meta.sourceProvenance`
field is independent of and unaffected by the value of the
`meta.license` field. This is based on the intent of the RFC author
as expressed here:
https://github.com/NixOS/nixpkgs/pull/161098#issuecomment-1081270201
This clarification is added for two reasons:
1. If in the future there should be some disagreement about what
`sourceProvenance` to assign to a package, this may help resolve
the disagreement. Any interpretation of `sourceProvenance` which
is influenced by the `meta.license` is clearly an incorrect
interpretation.
2. If it should turn out that it is impossible to disentangle
`sourceProvenance` from `meta.license`, this would indicate the
need for changes to the `sourceProvenance` scheme. That change
might be as simple as replacing the sentence added by this commit
with some other sentence explaining how the two fields influence
each other.
This commit implements the recommendation made in the paragraph of
this comments which begins with "Please say this explicitly...":
https://github.com/NixOS/nixpkgs/pull/161098#issuecomment-1081309089
2022-05-30 16:27:34 +08:00
Robert Scott
9d0784829a
add initial meta.sourceProvenance documentation
2022-05-30 16:27:34 +08:00
Thiago Kenji Okada
74a0e97cd4
doc: document pythonRelaxDepsHook
2022-05-29 14:01:30 +01:00
Artturi
60a0871486
Merge pull request #172391 from Artturin/deprecate-stdenv-glibc
2022-05-27 17:56:19 +03:00
Artturin
c1fffdfffb
treewide: change some glibc to stdenv.cc.libc
2022-05-27 05:57:43 +03:00
Cyril Cohen
d113661156
coqPackages: etc
...
- put `findlib` in `buildInputs` of `mkCoqDerivation` to make sure `coq` packages find their ocaml plugin dependencies,
- use `propagatedBuildInputs` to make sure ocaml plugin dependencies are in path,
- updated `coqPackage.heq` (broken url),
- fixed use of `DESTDIR` and `COQMF_COQLIB` in mkCoqDerivation,
- adding `COQCORELIB` environement variable to put ocaml plugin files in the right place,
- make `metaFetch` available from `coqPackages`
2022-05-25 20:00:25 +02:00
Artturin
0c4d65b21e
treewide: stdenv.glibc -> glibc
2022-05-25 15:51:20 +03:00
github-actions[bot]
ba5122823c
Merge master into staging-next
2022-05-23 00:02:36 +00:00
Martin Weinelt
809ffd6cd3
doc/python: use optional-dependencies instead of extras-require
...
This is the term that PEP 621 uses and it is less likely to be
misspelled.
https://peps.python.org/pep-0621/#dependencies-optional-dependencies
I was never sure if it was `extra` or `extras`, or `require` or
`requires` and finally committed a mistake in #167405 .
2022-05-22 16:31:45 +02:00
github-actions[bot]
75906ed245
Merge master into staging-next
2022-05-20 00:02:29 +00:00
Robert Hensing
90344e9f40
Merge pull request #171163 from hercules-ci/nixpkgs-config-doc
...
Add generated `nixpkgs.config` doc to Nixpkgs manual
2022-05-19 20:51:38 +02:00
github-actions[bot]
925219f62b
Merge master into staging-next
2022-05-18 18:01:13 +00:00
Janne Heß
dabac4bf0c
doc: Document that the staging branches may be restricted
2022-05-18 17:37:48 +02:00
Arnout Engelen
b3f85a2702
Merge pull request #172164 from raboof/docs-clarify-mass-rebuild
...
docs: clarify what a 'mass rebuild' is
2022-05-18 14:42:23 +01:00
github-actions[bot]
e2602ad62e
Merge staging-next into staging
2022-05-16 00:04:11 +00:00
Malo Bourgon
ef3ed931d2
nodePackages: update/cleanup documentation
2022-05-14 11:30:21 -07:00
github-actions[bot]
814126147f
Merge staging-next into staging
2022-05-13 12:02:03 +00:00
Vincent Laporte
1f11888116
Revert "coqPackages: etc"
...
This reverts commit 7e589a45ef
.
2022-05-13 06:47:14 +02:00
Thiago Kenji Okada
5c5187646d
Merge pull request #172366 from ncfavier/wrappers-cleanup
...
make{,Binary}Wrapper: some cleanups
2022-05-12 22:17:34 +01:00
Cyril Cohen
7e589a45ef
coqPackages: etc
...
- use propagatedBuildInputs to make sure ocaml plugin stuff is in path
- updated coqPackage.heq (broken url)
- fixed use of `DESTDIR` and `COQMF_COQLIB` in mkCoqDerivation
- adding `COQCORELIB` environement variable to put ocaml plugin files in the right place
- make metaFetch available from `coqPackages`
2022-05-12 06:11:43 +02:00
Naïm Favier
0d6bcb513b
makeBinaryWrapper: move into its own folder
...
The derivation is complex enough to warrant moving out of
all-packages.nix
2022-05-10 22:07:56 +02:00
Robert Hensing
ebf0465d09
Merge remote-tracking branch 'upstream/master' into testers
2022-05-09 14:27:13 +02:00
Arnout Engelen
1c73a0773c
doc: clarify what a 'mass rebuild' is
2022-05-09 12:31:21 +02:00
Drew Risinger
0d7b5a7e64
doc: remove python-language-server from manual
...
python3Packages.python-language-server is no longer maintained (broken), so it shouldn't be an example.
2022-05-05 15:07:47 -07:00
Robert Hensing
e8ffb6a727
doc/testers: Mention nixosTests in nixosTest doc
2022-05-05 13:08:05 +02:00
Robert Hensing
7edb414660
testers.nixosTest: Move from top-level and improve docs
2022-05-05 12:48:47 +02:00
Artturi
f0e48dd98b
Merge pull request #119942 from hercules-ci/mkDerivation-overridable-recursive-attributes
2022-05-04 14:31:50 +03:00
Matthias Beyer
bdcb818804
Replace "rm" call with "git rm"
...
`git rm` should always be preferred over "normal" `rm`.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-05-03 13:38:50 +02:00
Sandro
beec499a8a
Merge pull request #163598 from SuperSamus/doc-builder-typos
...
doc/builders: fix typos
2022-05-03 09:41:34 +02:00
Robert Hensing
e40d2099d2
doc: Add Nixpkgs config options reference
2022-05-02 10:21:05 +02:00
Robert Hensing
0e00acafe9
stdenv.mkDerivation: public -> finalPackage
2022-05-02 08:49:33 +02:00
Robert Hensing
ca83dd1ae7
stdenv.md: Clarify overrideAttrs sentence
...
I weirded my English.
2022-05-02 08:49:32 +02:00
Robert Hensing
1bbb5a14c8
doc/using/overrides: Update for overlay style mkDerivation overrideAttrs
2022-05-02 08:49:31 +02:00
Robert Hensing
d629ba27d9
Use finalAttrs instead of self for mkDerivation "overlay"
2022-05-02 08:49:31 +02:00
Robert Hensing
6d7efb3a16
stdenv.mkDerivation: Make self more overlay-like; use self.public
...
`self` is now arguments, like `super`. The final package is in
`self.public`.
2022-05-02 08:49:31 +02:00
Robert Hensing
2f21bc2fdb
doc/stdenv/meta: tests -> passthru.tests
...
Make the text understandable without knowing that these are identical.
Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
2022-05-02 08:49:30 +02:00
Robert Hensing
a4e7085227
stdenv.mkDerivation: Allow overriding of recursive definitions
...
See updated manual for further explanation.
2022-05-02 08:49:26 +02:00
Artturin
41808d42d2
doc: move testers to their own chapter
2022-04-22 16:24:29 +03:00
sternenseemann
e9d8ace0ae
Merge pull request #134514 from MostAwesomeDude/chicken
...
CHICKEN docs and updates
2022-04-22 14:02:23 +02:00
Corbin
5bbb538e72
doc: Explain how to use and maintain CHICKEN.
...
Also add information about egg2nix.
Includes suggestions from code review.
Co-authored-by: sterni <sternenseemann@systemli.org>
2022-04-21 15:18:26 -07:00
Valentin Gagarin
311d322feb
docs: sync patchShebangs
comments with manual
...
this is not an actual sync, but rather the manual taking the leading role.
right now it does not make sense to actually change `patch-shebangs.sh`
as that would cause a rebuild of the entire universe.
we should figure out how to keep them aligned with minimal effort both
in terms of maintenance as well as navigation for readers.
2022-04-21 12:21:49 +02:00
Valentin Gagarin
9a2ed65370
fix wording, remove too much specificity
...
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-04-21 09:27:11 +02:00
fricklerhandwerk
b4d9d682c8
docs: clean up and update links to source code
2022-04-21 09:27:11 +02:00
fricklerhandwerk
e3883d2ce0
docs: clarify note on existing store paths
2022-04-21 09:27:10 +02:00
fricklerhandwerk
b0fce27ce2
docs: expand explanation of patchShebangs hook
...
- clarify motivation and mechanism
- explain usage
- add interlinks
- add links to sources to enable research
based on https://discourse.nixos.org/t/what-is-the-patchshebangs-command-in-nix-build-expressions/12656
2022-04-21 09:27:09 +02:00
Adam Joseph
50217b01dd
submitting-changes.chapter.md: avoid being specific
...
There is some doubt as to exactly how to enumerate all the merges from
one branch to another reliably. In the meantime, let's be a little
more vague.
2022-04-20 03:22:17 -07:00
Robert Hensing
33cf95ef36
Merge pull request #168932 from hercules-ci/init-postgresqlTestHook
...
`postgresqlTestHook`: init
2022-04-18 11:58:34 +02:00
Robert Hensing
99fed858bb
doc/hooks/index.xml: Fix typo and terminology
2022-04-18 11:57:35 +02:00
Robert Hensing
e77e09c5d2
postgresqlTestHook: init
2022-04-16 17:17:46 +02:00
github-actions[bot]
999a16ca63
Merge staging-next into staging
2022-04-14 12:02:14 +00:00
Doron Behar
94eb0d16a3
Merge pull request #149667 from doronbehar/doc/pname-version-conventions
...
docs: Make coding conventions use pname/version
2022-04-14 12:00:59 +03:00
Vladimír Čunát
d5d94127fd
Merge branch 'staging-next' into staging
...
Minor conflicts; I hope I didn't mess up:
pkgs/development/tools/misc/binutils/default.nix
pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
Samuel Ainsworth
263292cb5e
Merge pull request #167397 from samuela/samuela/autopatchelf
...
autoPatchelfHook: more precise dependency ignorance
2022-04-12 08:58:00 -07:00
Samuel Ainsworth
a7fc2f6392
autoPatchelfHook: more precise dependency ignorance
2022-04-11 01:28:55 +00:00