3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/doc
Silvan Mosberger 155ae682a5 buildGoModule/buildGoPackage: Introduce ldflags argument
Previously it was not possible to define multiple ldflags, since only
the last definition applies, and there's some quoting issues with
`buildFlagsArray`. With the new `ldflags` argument it's possible to do
this, e.g.

    ldflags = drv.ldflags or [] ++ [
      "-X main.Version=1.0"
    ]

can now properly append a flag without clearing all previous ldflags.
2021-06-05 09:54:36 +10:00
..
builders writeReferencesToFile: docs and tests 2021-05-15 17:04:25 +02:00
contributing doc/coding-conventions: Add documentation for fetchpatch optional arguments 2021-05-28 14:22:46 +02:00
doc-support
functions nixpkgs-manual: lib.attrsets.mapAttrsToList returns a list (#122179) 2021-05-08 13:55:11 +02:00
languages-frameworks buildGoModule/buildGoPackage: Introduce ldflags argument 2021-06-05 09:54:36 +10:00
old
stdenv Fix "platfrom" typos 2021-04-10 17:10:50 +02:00
using docs/using: shellSession -> ShellSession 2021-04-25 10:31:02 +02:00
.gitignore
default.nix
functions.xml
Makefile
manual.xml doc/using: convert to markdown 2021-04-23 12:02:07 +02:00
overrides.css
preface.chapter.md
README.md
release-notes.xml
shell.nix
style.css

Nixpkgs/doc

This directory houses the sources files for the Nixpkgs manual.

You can find the rendered documentation for Nixpkgs unstable on nixos.org.

Docs for Nixpkgs stable are also available.

If you want to contribute to the documentation, here's how to do it.

If you're only getting started with Nix, go to nixos.org/learn.