Manuel Mendez
8b5a7940b0
go: Bunch of fixes when using excludedPackages and other bits
...
Few things going on in this commit:
Do not print "Building subPakage $pkg" message if actually going to skip the
package. This was confusing to me when I was trying to figure out how to set
excludedPackages and seeing the "Building subpackage $pkg" messages for
packages I wanted to skip. Turns out this messages was being printed before
checking if we actually wanted to build the package and not necessarily that my
excludedPackages was wrong.
Make go-packages look a little bit more like go-modules, by adding testdata to
the default list of excluded packages.
This commit also does some setup outside the buildGoDir function so that we
avoid checking `excludedPackages` for every package and cut down the number
of grep calls by half since we always want at least one grep for the default
excludedPackages, might as well just add to the patterns being checked.
Finally, adds documentation for usage of excludedPackages and subPackages. I
had to read the implementation to figure out how to correctly use these
function arguments since there was no documentation and different uses in the
code base. So this commit documents usage of the arguments.
2022-03-04 13:32:44 +10:00
Vincent Laporte
68e4b639a3
Merge pull request #161111 from ulrikstrid/ulrikstrid/coq-move-dune-to-native
...
coq: Move dune, ocaml and findlib to nativeBuildInputs
2022-02-26 08:54:53 +01:00
Frederik Rietdijk
1986bedcff
python3Packages: document how to handle extras-require
2022-02-25 14:09:41 +01:00
Ulrik Strid
7e20e9039e
coqPackages: tree-wide move packages to nativeBuildInputs and add strictDeps = true
...
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2022-02-25 07:54:17 +01:00
AndersonTorres
3f19fc37a3
Move misc/vim-plugins to applications/editors/vim/plugins
2022-02-24 20:26:07 -03:00
Guillaume Girol
bedabfbcef
rustPlatform.bindgenHook: init
2022-02-22 19:37:07 +01:00
Vincent Laporte
cea532f629
manual: document deprecated minimumOCamlVersion
2022-01-26 07:35:19 +01:00
IvarWithoutBones
fcbd429742
buildDotnetModule: wrap executables in preFixup
...
Not doing this used to break wrapGAppsHook as gappsWrapperArgs is set in preFixup, but it was used in installPhase
2022-01-12 00:23:53 +01:00
zowoq
8a8c88de70
buildGoModule: use proxyVendor
instead of runVend
2022-01-06 14:00:58 +10:00
zowoq
e67813b0c6
doc/go: remove platform from example
...
this should only be set if the package doesn't work with the default platforms
2022-01-06 09:25:43 +10:00
Erlend Hamberg
865219a09d
doc/beam: minor formatting/copy fixes ( #153396 )
2022-01-04 18:20:42 +08:00
Erlend Hamberg
3083dde52b
Beam/Elixir: Add section on using an overlay ( #153348 )
...
* Beam/Elixir: Add section on using an overlay
2022-01-04 07:10:25 +09:00
zowoq
9f0aab9827
doc/go: remove runVend
from example
2022-01-02 13:35:15 +10:00
Yevhen Shymotiuk
08d3a002db
doc/python: remove 3.6 from the list of cpython versions
2021-12-28 00:35:07 +02:00
github-actions[bot]
5e2c1acfa3
Merge master into staging-next
2021-12-22 18:01:00 +00:00
IvarWithoutBones
e0b652c3cb
buildDotnetModule: restore and build testProjectFile
2021-12-20 22:31:18 +01:00
Dmitry Kalinkin
ac40a963c9
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/applications/editors/vim/common.nix
pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
pkgs/development/python-modules/pymavlink/default.nix
2021-12-20 12:09:28 -05:00
Domen Kožar
4b1c74a735
Merge pull request #145103 from symphorien/nix-env-i
...
doc: minimize mentions of nix-env -i without -A in nixpkgs manual
2021-12-20 10:01:20 +00:00
github-actions[bot]
2add1758ab
Merge master into staging-next
2021-12-18 18:01:03 +00:00
Jonathan Ringer
0b97e89049
doc/python: update buildPythonApplication example
...
It's recommended to consume the interpreter, not the package
set when being called from `all-packages.nix`
2021-12-18 16:21:37 +01:00
Dmitry Kalinkin
da8f155b2a
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/development/python-modules/sphinxext-opengraph/default.nix
2021-12-18 10:18:14 -05:00
Bobby Rong
471246420d
Merge pull request #151193 from Trundle/rust-markdown-fix
...
docs: Fix markdown in Rust language section
2021-12-18 22:50:22 +08:00
Andreas Stührk
192fcbd32a
docs: Fix markdown in Rust language section
2021-12-18 14:05:46 +01:00
Guillaume Girol
a15fbab8e9
doc: minimize mentions of nix-env -i without -A in nixpkgs manual
2021-12-18 12:00:00 +00:00
IvarWithoutBones
8e11dcca48
buildDotnetModule: add passthru.fetch-deps
2021-12-14 20:24:18 +01:00
github-actions[bot]
dfda17d6ba
Merge master into staging-next
2021-12-14 18:01:09 +00:00
Bobby Rong
24786c2c75
Merge pull request #149905 from am-on/fix-404-links
...
doc: fix broken links
2021-12-14 23:19:23 +08:00
github-actions[bot]
0242879f3f
Merge master into staging-next
2021-12-14 12:01:17 +00:00
Luke Granger-Brown
5abdc76f23
Merge pull request #150066 from ezemtsov/buildDotnetModule
...
buildDotnetModule: add support for local project references
2021-12-14 08:39:24 +00:00
Evgeny Zemtsov
06477cccf7
buildDotnetModule: support local project references
2021-12-13 19:14:44 +01:00
Evgeny Zemtsov
a6d02a5214
buildDotnetModule: support optional nupkg packing
2021-12-13 19:13:40 +01:00
github-actions[bot]
92aabc6576
Merge master into staging-next
2021-12-10 00:01:53 +00:00
Jonathan Ringer
3709e8aaf2
docs/python: Add CPython update schedule
2021-12-09 12:47:53 -08:00
Amon Stopinšek
5f2db22eae
doc: fix broken links
...
Links in documentation shouldn't point to dead ends.
2021-12-09 18:57:38 +00:00
Alyssa Ross
c9a581b05f
Merge remote-tracking branch 'nixpkgs/master' into staging-next
...
CONFLICT (rename/add): Rename pkgs/development/python-modules/jsonwatch/default.nix->pkgs/tools/misc/jsonwatch/default.nix in nixpkgs/master. Added pkgs/tools/misc/jsonwatch/default.nix in HEAD
2021-12-09 01:43:58 +00:00
Yannick Markus
b8a221262b
doc: ruby-section: add workaround for platform-specific gems
2021-12-08 14:27:52 +01:00
github-actions[bot]
5a1288f93b
Merge master into staging-next
2021-12-05 00:01:53 +00:00
Chris Wögi
5f8babdd25
doc beam section: Takle TODO ( #148624 )
2021-12-05 05:42:42 +09:00
Martin Weinelt
6dd0b1b8fc
python311: init at 3.11.0a2
2021-11-30 14:19:52 +01:00
IvarWithoutBones
1b366cb92b
buildDotnetModule: support setting projectFile as an array && properly interpret disabledTests
2021-11-21 22:47:53 +01:00
Guillaume Girol
dbfd26724d
doc: add ocaml end user doc to nixpkgs manual ( #145100 )
...
doc: add ocaml end user doc to nixpkgs manual
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-11-16 16:49:17 +00:00
github-actions[bot]
b92d47b0f5
Merge master into staging-next
2021-11-08 06:01:18 +00:00
Dennis Gosnell
4d2b3b4d5a
Merge pull request #142825 from cdepillabout/buildDhallUrl
...
dhallPackages.buildDhallUrl: add function for easily building dhall remote imports
2021-11-08 13:44:37 +09:00
(cdep)illabout
1c67b0deef
dhall docs: replace two paths with more general versions
2021-11-08 13:21:26 +09:00
(cdep)illabout
048939c593
dhall docs: change code block formatting to use ShellSession instead of bash
2021-11-08 13:18:48 +09:00
(cdep)illabout
10c5a4cca5
dhallPackages.buildDhallUrl: change argument from dhall-hash to dhallHash
2021-11-08 13:15:17 +09:00
github-actions[bot]
933da575d4
Merge master into staging-next
2021-11-05 18:01:07 +00:00
Eli Flanagan
933f117a78
docs: Rust language section consistency
...
I found out how to use aspell with a custom dictionary and so ran that
on `rust.section.md`.
These changes are trivial consistency in spelling and nomenclature.
2021-11-05 10:40:59 -04:00
github-actions[bot]
ac4cb43546
Merge staging-next into staging
2021-11-05 00:02:01 +00:00
Eli Flanagan
7bffde6dbc
docs: fix Rust language typos
...
I tried to use aspell following https://github.com/NixOS/nixpkgs/issues/34308#issuecomment-361431632 but there are too many false positives!
2021-11-04 16:19:01 -04:00
github-actions[bot]
20bee66ec8
Merge staging-next into staging
2021-11-04 18:01:44 +00:00
Eli Flanagan
326cfefd68
Apply suggestions from code review
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-05 00:17:56 +09:00
Eli Flanagan
b829fe48e3
add an example with buildRustPackage
2021-11-05 00:17:56 +09:00
Eli Flanagan
8650a7e6e1
docs: improve, clean up Rust language advice
...
This stems from a discussion [here](https://discourse.nixos.org/t/what-rust-overlay-do-you-use-and-why-advice-appreciated/15412 )
I removed an entire section because I feel like that duplicated
Mozilla's original instructions on how to consume the overlay.
The goal here is to simply the "getting started with Rust" in a nix or
NixOS environment.
I will try to do some follow up work to update the code snippets and
output. nightly is on `1.57.0-nightly` :)
2021-11-05 00:17:56 +09:00
github-actions[bot]
9e9ee310f8
Merge staging-next into staging
2021-11-01 12:01:37 +00:00
github-actions[bot]
cc41bb5851
Merge master into staging-next
2021-11-01 12:01:00 +00:00
Dennis Gosnell
2e1d84e9fb
dhallPackages.buildDhallUrl: small formatting fixes
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 13:44:50 +09:00
IvarWithoutBones
af339c5cf8
buildDotnetModule: add support for running unit tests
2021-11-01 02:06:54 +01:00
github-actions[bot]
062a1496d6
Merge staging-next into staging
2021-10-30 18:01:37 +00:00
github-actions[bot]
0fa76ebdca
Merge master into staging-next
2021-10-30 18:00:59 +00:00
Silvan Mosberger
c6064b7c4a
doc/crystal: Update to mention shard.lock file generation
2021-10-30 16:30:33 +02:00
(cdep)illabout
06a3718bc9
doc: Add explanation of --fixed-output-derivations arg for dhall-nixpkgs to Dhall section
2021-10-29 17:17:19 +09:00
figsoda
62d502d703
doc/rust: add documentation for feature options
2021-10-27 09:24:19 -04:00
Jonathan Ringer
fc25d94010
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/jupyter-client/default.nix
pkgs/development/python-modules/jupyterlab-git/default.nix
2021-10-22 09:33:07 -07:00
Sergei Trofimovich
c6b949c09c
ruby_2_6, rubyPackages_2_6: drop unused package
2021-10-22 08:46:57 +01:00
Vladimír Čunát
01df3cd7dd
Merge branch 'master' into staging-next
2021-10-19 19:24:43 +02:00
Sandro
ced3db168b
Merge pull request #142173 from baloo/baloo/rust/doc-target-escape
2021-10-19 15:12:40 +02:00
Manuel Bärenz
7a135abf60
Merge pull request #98214 from turion/dev_test_all_agda_packages
...
Fix #98209 . Test all agda packages
2021-10-19 09:56:50 +02:00
Arthur Gautier
c1a440b6cc
doc: rust: target escape hatch has been removed
...
As far as I can tell, a8efb2053f
removed
the `target =` escape hatch.
See #112804
This commit removes it from the documentation.
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-10-19 05:38:45 +00:00
Pavol Rusnak
eca667180b
dotnet: cleanup; point dotnet-sdk alias to 5_0; remove unsupported SDKs
2021-10-18 23:46:17 +02:00
github-actions[bot]
0cb186d33d
Merge staging-next into staging
2021-10-12 18:01:50 +00:00
Kevin Cox
f6e161d60a
Merge pull request #139222 from IvarWithoutBones/init/buildDotnet
...
buildDotnetModule: init
2021-10-12 09:13:44 -04:00
IvarWithoutBones
a87e6645dd
buildDotnetModule: add documentation
2021-10-06 22:14:24 +02:00
Martin Weinelt
938d796b7a
python310: 3.10.0-rc2 -> 3.10.0
2021-10-05 02:08:07 +02:00
Martin Weinelt
846e2b1919
python36: remove
2021-10-03 12:42:24 +02:00
Sandro
2495c0f9d9
Merge pull request #140013 from raboof/jre_minimal_document_headless
2021-09-30 17:20:08 +02:00
Arnout Engelen
4236dfe203
jre_minimal: document how to use a headless JDK
...
For a smaller image
2021-09-30 10:34:51 +02:00
Justin Bedo
5309818bf7
doc: clarify location of rPackages overrides
...
Detail the location of rPackage overrides and how broken
builds should be addressed.
2021-09-26 07:29:58 +10:00
Justin Bedo
9bc37bff1a
rPackages: mark packages as broken when generating package sets
...
The current behaviour for generate-r-packages.R is to delete
packages that have been remove upstream. This patch changes the
behaviour to mark packages as broken rather than removing them.
This has the advantage of never breaking expressions, which
previously occured when a package with overrides in default.nix
was deleted. As a result, the update procedure is simplified,
allowing automated updates to the package tree to run, and
additionally if a package is re-established upstream the previous
overrides still exist.
2021-09-24 21:25:53 +10:00
Guillaume Girol
4bc83aaffa
Merge pull request #136489 from ehmry/nimPackages
...
nimpackages / buildNimPackage
2021-09-22 18:35:38 +00:00
Robin Stumm
5b0a3115c8
doc: rust: rephrase paragraph about cargoLock.lockFileContents
...
mentioning that `Cargo.lock` cannot be patched in the `patchPhase`
2021-09-22 20:32:19 +09:00
Robin Stumm
4771684208
doc: rust: simplify snippet
...
Do not use recursive attribute sets where not needed, it could confuse the reader.
2021-09-22 20:32:19 +09:00
Robin Stumm
4ab63a8ca8
doc: rust: improve clarity of example snippet
...
Make it more clear that the return type is a string.
Co-authored-by: figsoda <figsoda@pm.me>
2021-09-22 20:32:19 +09:00
Robin Stumm
4ecb3e8795
doc: rust: document cargoLock.lockFileContents
2021-09-22 20:32:19 +09:00
Sandro
d4a03a75e9
Merge pull request #137243 from KarlJoad/octave-docs
...
octavePackages: add documentation
2021-09-20 11:54:51 +02:00
Théo Zimmermann
20291381c1
coqPackages.mkCoqDerivation: rely on namePrefix to compute default opam-name
...
As suggested by Cyril Cohen in https://github.com/NixOS/nixpkgs/pull/134362#discussion_r698379405 .
2021-09-20 11:10:23 +02:00
Markus S. Wamser
b06ffb4b45
doc/rust: add missing fetchfromGitHub to derivation example
2021-09-19 16:41:11 +00:00
D Anzorge
d6c2bb73fb
doc/python: fix typo in example
2021-09-17 00:47:45 +02:00
Karl Hallsby
a75b1fa5a9
octavePackages: add documentation
2021-09-12 00:03:29 -05:00
Emery Hemingway
35de51aa26
Nim: Add documentation and GitHub metadata
2021-09-05 11:20:02 +02:00
Akshat
98a3230afa
remove a mention of #node.section.md
...
node.section.md has been removed so this commit removes the reference of it inside javascript.section.md
2021-09-03 21:45:20 +09:00
happysalada
6c10f151a1
docs: update beam.section
2021-08-31 12:00:47 +09:00
Sheena Artrip
91106928cf
doc/beam: fix syntax error in nix sample
2021-08-26 09:46:38 +09:00
Martin Weinelt
304ed7c421
doc/python: explain bulk package set updates
2021-08-25 12:33:10 -07:00
Bill Ewanick
a2b179a3dc
Update doc/languages-frameworks/javascript.section.md
...
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
2021-08-25 09:02:06 +09:00
Bill Ewanick
dabd16e7f2
Adding dependency override example
2021-08-25 09:02:06 +09:00
Bill Ewanick
e89b36e4cb
Adding tips/searching section
2021-08-25 09:02:06 +09:00
Bill Ewanick
1b76da0cad
Minor corrections
2021-08-25 09:02:06 +09:00
Sandro
b2573f352e
Merge pull request #134578 from smancill/phase-hooks-use-strings
...
treewide: ensure pre/post phase hooks are strings
2021-08-21 14:49:30 +02:00
happysalada
71b36882e4
docs: move node section to javascript section
2021-08-21 16:21:59 +09:00