Vincent Laporte
cea532f629
manual: document deprecated `minimumOCamlVersion`
2 years ago
Zhong Jianxin
8c26b2d60f
fetchgit: Add document for sparseCheckout
2 years ago
Nicolas Benes
5c8d6d6cee
doc: fix broken link
...
The file was renamed/modified in 3f40ca4
but the documentation was not
updated. Closes #155049 .
2 years ago
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
2 years ago
Jonas Chevalier
1e910209ae
mkShell: make it buildable ( #153194 )
...
When I designed `mkShell`, I didn't have a good idea of what the output
should look like and so decided to make the build fail. In practice,
this causes quite a bit of confusion and complications because now the
shell cannot be part of a normal package set without failing the CI as
well.
This commit changes that build phase to record all the build inputs in a
file. That way it becomes possible to build it, makes sure that all the
build inputs get built as well, and also can be used as a GC root.
(by applying the same trick as #95536 ).
The documentation has also been improved to better describe what mkShell
does and how to use it.
2 years ago
zowoq
8a8c88de70
buildGoModule: use `proxyVendor` instead of `runVend`
2 years ago
zowoq
e67813b0c6
doc/go: remove platform from example
...
this should only be set if the package doesn't work with the default platforms
2 years ago
Erlend Hamberg
865219a09d
doc/beam: minor formatting/copy fixes ( #153396 )
2 years ago
Erlend Hamberg
3083dde52b
Beam/Elixir: Add section on using an overlay ( #153348 )
...
* Beam/Elixir: Add section on using an overlay
2 years ago
Nguyễn Gia Phong
b97ccaa18d
fetchFromSourcehut: allow recursive fetching
2 years ago
zowoq
9f0aab9827
doc/go: remove `runVend` from example
2 years ago
Naïm Favier
8583c5f48b
doc: remove reference to unix-man-urls.lua
3 years ago
Erik Arvstedt
af46a4d635
docs: improve section `Stable release branches`
...
- Explain branch naming scheme for stable release branches
- Split into subsections `Automatically backporting ...` and
`Manually backporting...`.
3 years ago
Yevhen Shymotiuk
08d3a002db
doc/python: remove 3.6 from the list of cpython versions
3 years ago
IvarWithoutBones
e0b652c3cb
buildDotnetModule: restore and build testProjectFile
3 years ago
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`
3 years ago
Andreas Stührk
192fcbd32a
docs: Fix markdown in Rust language section
3 years ago
Guillaume Girol
a15fbab8e9
doc: minimize mentions of nix-env -i without -A in nixpkgs manual
3 years ago
IvarWithoutBones
8e11dcca48
buildDotnetModule: add passthru.fetch-deps
3 years ago
Evgeny Zemtsov
06477cccf7
buildDotnetModule: support local project references
3 years ago
Evgeny Zemtsov
a6d02a5214
buildDotnetModule: support optional nupkg packing
3 years ago
Pasquale
6f0eae6d37
docs: added examples to trivial builders section
3 years ago
Doron Behar
ceffea674d
Small rephrase of wrapProgram documentation
...
Co-authored-by: Julian Stecklina <js@alien8.de>
3 years ago
Jonathan Ringer
3709e8aaf2
docs/python: Add CPython update schedule
3 years ago
Amon Stopinšek
5f2db22eae
doc: fix broken links
...
Links in documentation shouldn't point to dead ends.
3 years ago
Doron Behar
c42e6741b2
Rephrase documentation for both makeWrapper implementations
3 years ago
Doron Behar
32d566e1b9
wrapProgramBinary -> binaryWrapProgram
3 years ago
Doron Behar
01ec4349f2
docs: Make coding conventions use pname/version
...
Make it clear that we prefer using `pname` and `version` separated and
not the `name` attribute.
3 years ago
Yannick Markus
b8a221262b
doc: ruby-section: add workaround for platform-specific gems
3 years ago
Chris Wögi
5f8babdd25
doc beam section: Takle TODO ( #148624 )
3 years ago
Robert Hensing
ddda5f28e1
dockerTools: Keep fakechroot disabled by default
...
Avoid risk of breaking existing images by making it opt-in.
3 years ago
Robert Hensing
0e9bc9ffd1
dockerTools: Add fakechroot to fakeRootCommands
3 years ago
Pasquale
d2e237cbe1
concatText: documentation
3 years ago
Doron Behar
2b103ab8a1
Remove TODO in documentation
3 years ago
Martin Weinelt
6dd0b1b8fc
python311: init at 3.11.0a2
3 years ago
IvarWithoutBones
1b366cb92b
buildDotnetModule: support setting projectFile as an array && properly interpret disabledTests
3 years ago
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>
3 years ago
Jan Tojnar
64d7a3266b
doc: Fix xref in functions description
...
This was accidentally broken by 3c78ad2561
.
3 years ago
Bernardo Meurer
0e4f04b74c
writeShellApplication: buildInputs -> runtimeInputs
3 years ago
Bernardo Meurer
89979c9c5b
writeShellApplication: init
3 years ago
(cdep)illabout
1c67b0deef
dhall docs: replace two paths with more general versions
3 years ago
(cdep)illabout
048939c593
dhall docs: change code block formatting to use ShellSession instead of bash
3 years ago
(cdep)illabout
10c5a4cca5
dhallPackages.buildDhallUrl: change argument from dhall-hash to dhallHash
3 years ago
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.
3 years ago
Anders Kaseorg
e12f4db556
treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH, round 2
...
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted. (See #67234 , for
example.) Fix this throughout the tree.
Followup to #76804 . Fixes #144646 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
3 years ago
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!
3 years ago
Eli Flanagan
326cfefd68
Apply suggestions from code review
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
3 years ago
Eli Flanagan
b829fe48e3
add an example with buildRustPackage
3 years ago
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` :)
3 years ago
Dennis Gosnell
2e1d84e9fb
dhallPackages.buildDhallUrl: small formatting fixes
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
3 years ago