Age | Commit message (Collapse) | Author | Files | Lines |
|
The python-updates branch was formerly called python-unstable, but the
new branch name was never mentioned in the docs. This commit changes the
branch name in the docs to python-updates.
|
|
|
|
We get a dependency list with pub2nix now. We can no longer easily distinguish between development dependency dependencies and regular dependency dependencies, but we weren't doing this anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The mkBinaryCache section now follows the convention of using one
line per sentence, as well as using admonitions for notes and
examples.
The example syntax was updated to define a fully-working nix package.
|
|
The following changes are made:
- Document how `wrapType2` and `wrapType1` are the same thing.
- Expand on how `wrapType2` works and additional arguments it uses.
- Document `extract` and show how it's used in combination with
`wrapType2`.
- Provide full working examples using the new admonition syntax.
|
|
Golang docs: remove "-s" and "-w" from the ldflags example
|
|
Fixes some mistakes regarding the references to cargoHash in the codes referenced.
Fixes a typo for cargoSha256.
States that cargoHash should be preferred.
|
|
doc: diagram explaining what it means for a dependency to be propagated
|
|
|
|
|
|
doc: clarify stdenv phase flag attributes
|
|
maintainers: Add new script to check URLs in `doc/manpage-urls.json`
|
|
|
|
incremental builds: add derivation override functions
|
|
|
|
|
|
|
|
this implements the documentation team's style guide new material
|
|
Build arbitrary Julia package environments in Nixpkgs
|
|
Extended genericBuild description
|
|
The go linker `-s` and `-w` flags respectively are for:
- Omit the symbol table and debug information.
- Omit the DWARF symbol table.
Those actions should be delegated to the fixup build phase instead.
See: https://discourse.nixos.org/t/why-do-so-many-go-packages-use-s-w-in-their-ldflags-it-breaks-dontfixup-dontstrip/36843
|
|
|
|
Co-authored-by: Philipp Schuster <phip1611@gmail.com>
|
|
nixos/doc: Add chapter “necessary system state”
|
|
and add the generating script to `maintainers/scripts/doc`
|
|
example
|
|
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
|
Co-authored-by: Markus Partheymueller <markus.partheymueller@cyberus-technology.de>
|
|
|
|
Without this, it's impossible to override the lockFile as the default
overrideAttrs is applied after the composition in buildNimPackage has
read the lock file and generated the nim flags from it.
|
|
doc: Rename to Nixpkgs reference manual and restate purpose
|
|
This is not mentioned elsewhere, and can be confusing.
|
|
For the time being, we're moving towards https://nix.dev/ containing
all tutorials and guides. The Nixpkgs manual is reinforced to be a
_reference_ manual. While it's not just reference for now, that's what
the docs team is working towards.
This commits rewrites the Nixpkgs manual introduction to reflect that
and point to some more useful links. The contribution docs are updated
similarly so it's not missed.
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GitHub supported special markdown syntax for emphasising blocks for some
time. This was however a beta feature, and still is, so it's subject to
changes.
Recently such a change happened: The syntax is different now.
See https://github.com/orgs/community/discussions/16925 for more
information
|
|
|
|
We keep running into situations where we can't get the right
combination of rustc flags through build systems into rustc.
RUSTFLAGS is the only variable supported across build systems, but if
RUSTFLAGS is set, Cargo will ignore all other ways of specifying rustc
flags, including the target-specific ones, which we need to make
dynamic musl builds work. (This is why pkgsCross.musl64.crosvm is
currently broken — it works if you unset separateDebugInfo, which
causes RUSTFLAGS not to be set.)
So, we need to do the same thing we do for C and C++ compilers, and
add a compiler wrapper so we can inject the flags we need, regardless
of the build system.
Currently the wrapper only supports a single mechanism for injecting
flags — the NIX_RUSTFLAGS environment variable. As time goes on,
we'll probably want to add additional features, like target-specific
environment variables.
|
|
|
|
This fixes the working directory for the suggested flake, as originally
suggested by @MaxDaten in:
https://github.com/NixOS/nixpkgs/issues/229542#issuecomment-1674886874
… and then amended by @Enzime in:
https://github.com/NixOS/nixpkgs/pull/248554#issuecomment-1676825733
|