about summary refs log tree commit diff
path: root/doc/stdenv.xml
Commit message (Collapse)AuthorAge
* doc: add example usage for breakpointHook (#51005)Jörg Thalheim2018-11-26
|
* doc/cross-compilation: fixupMatthew Bauer2018-11-19
| | | | More cleanups and stuff. May need to be split up.
* doc/stdenv: more changesMatthew Bauer2018-11-19
| | | | Lots of reworking here. May need to be split up.
* doc/stdenv: document more setup hookMatthew Bauer2018-11-19
| | | | | | | | | | | | Here I document setup hooks provided by: - cmake - xcbuildHook - meson - ninja - unzip - wafHook - scons
* doc/stdenv: document prefixKeyMatthew Bauer2018-11-19
| | | | This seems like a useful thing to document
* doc: move checkInputs to check phase sectionMatthew Bauer2018-11-19
| | | | This makes more sense in context.
* doc: typo fixesMatthew Bauer2018-11-19
|
* Fix typo in nixpkgs manualAndrei Lapshin2018-11-19
|
* docs: fix minor grammar issues in the manualBenjamin Hipple2018-11-14
|
* Remove preferLocalBuild documentationEelco Dolstra2018-11-07
| | | | | | It's incorrect (preferLocalBuild does not prevent uploading to binary caches) and is not a stdenv attribute (it's already documented in the Nix manual).
* doc: apply `make format`Jörg Thalheim2018-10-26
|
* doc: extend breakpointHook documentationJörg Thalheim2018-10-26
|
* nixpkgs docs: add missing spaces between wordsRaphael Borun Das Gupta2018-10-26
|
* nixpkgs docs: remove spurious ">"Raphael Borun Das Gupta2018-10-26
|
* doc/breakpointHook: add documentationJörg Thalheim2018-10-25
|
* doc/stdenv: libaries -> libraries (#47011)John Children2018-09-20
| | | | This commit corrects a minor typo in the stdenv portion of the documentation for the nix language.
* nixpkgs docs: give linked things IDsGraham Christensen2018-09-01
|
* Merge pull request #42464 from LnL7/manual-installcheckDaiderd Jordan2018-08-31
|\ | | | | doc: add installCheckTarget and installCheckFlags to manual
| * doc: add installCheckTarget and installCheckFlags to manualDaiderd Jordan2018-06-23
| | | | | | | | Fixes #42393
* | stdenv/build-support: support .tbz and .txz tarballsJames Deikun2018-07-30
|/
* doc: Fixes squishedtogether definitions.Samuel Dionne-Riel2018-05-31
|
* doc: ran `make format`Samuel Dionne-Riel2018-05-31
| | | | With visual inspection that nothing got worse.
* Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-03
|\
| * nixpkgs docs: format =)Graham Christensen2018-05-01
| |
* | stdenv: steal `checkInputs` from buildPythonPackageJan Malakhovski2018-04-26
|/ | | | | | | | | | | Note that a bunch of non-python packages use this attribute already. Some of those are clearly unaware of the fact that this attribute does not exists in stdenv because they define it but don't to add it to their `bulidInputs` :) Also note that I use `buildInputs` here and only handle regular builds because python and haskell builders do it this way and I'm not sure how to properly handle the cross-compilation case.
* setup-hooks: Add autoPatchelfHookaszlig2018-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I originally wrote this for packaging proprietary games in Vuizvui[1] but I thought it would be generally useful as we have a fair amount of proprietary software lurking around in nixpkgs, which are a bit tedious to maintain, especially when the library dependencies change after an update. So this setup hook searches for all ELF executables and libraries in the resulting output paths after install phase and uses patchelf to set the RPATH and interpreter according to what dependencies are available inside the builder. For example consider something like this: stdenv.mkDerivation { ... nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ mesa zlib ]; ... } Whenever for example an executable requires mesa or zlib, the RPATH will automatically be set to the lib dir of the corresponding dependency. If the library dependency is required at runtime, an attribute called runtimeDependencies can be used to list dependencies that are added to all executables that are discovered unconditionally. Beside this, it also makes initial packaging of proprietary software easier, because one no longer has to manually figure out the dependencies in the first place. [1]: https://github.com/openlab-aux/vuizvui Signed-off-by: aszlig <aszlig@nix.build> Closes: #34506
* stdenv: Force `doCheck` and `doInstallCheck` to be false when we are cross ↵John Ericson2018-01-09
| | | | | | | | compiling I hope this will be a temporary measure. If there is consensus around issue #33599, then we can follow an explicit `dontCheck`, but default to not checking during cross builds when none is given.
* doc: More information in the setup hook section of the stdenv chapterJohn Ericson2017-12-30
|
* doc: Document `dontStripHost` and `dontStripTarget`John Ericson2017-12-30
|
* doc: Add "Specifying Dependencies" section to the stdenv chapterJohn Ericson2017-12-30
| | | | | | | | This accounts for all the new dependencies and propagation logic changes I'm about to add. Fixes #1915---with this change I think the distinction is finally clear enough.
* Merge remote-tracking branch 'upstream/staging' into binutils-wrapperJohn Ericson2017-12-13
|\
| * doc: document enableParallelBuilding being unsetOrivej Desh2017-12-07
| |
* | doc: Document Bintools WrapperJohn Ericson2017-12-13
|/ | | | Shrunk the CC Wrapper documentation so as not to be repetative.
* Typo in manual#stdenv - propagatedNativeBuildInputsBruno Bieth2017-11-13
|
* docs: add note about makeFlags quotingDaiderd Jordan2017-11-01
|
* doc: Document forthcomming NIX_DEBUG degredationsJohn Ericson2017-09-26
|
* doc: Describe CC Wrapper in more detailJohn Ericson2017-08-20
| | | | | | | The main motivation for this is to have something to google for LD=$CC. Eventually, this should probably be moved to another section, but we can deal with that later.
* cross stdenv adaptor: Support --host --build --target across the boardJohn Ericson2017-06-22
| | | | | | | | Packages get --host and --target by default, but can explicitly request any subset to be passed as needed. See docs for more info. rustc: Avoid hash breakage by using the old (ignored) dontSetConfigureCross when not cross building
* Merge pull request #26345 from vcunat/p/doc-override-phasesFrederik Rietdijk2017-06-19
|\ | | | | nixpkgs manual: advise against overriding whole phases
| * nixpkgs manual: advise against overriding whole phasesVladimír Čunát2017-06-03
| | | | | | | | | | | | I've seen that mistake at least a few times already, e.g. https://github.com/NixOS/nixpkgs/pull/26209#issuecomment-305925562 It might perhaps seem counter-intuitive if one doesn't know nixpkgs well.
* | doc: Fix some typosJan Tojnar2017-06-11
|/
* Merge #19328: mkWrapper fix and docsVladimír Čunát2017-02-05
|\
| * stdenv: document makeWrapperProfpatsch2016-10-08
| | | | | | | | | | Add function documentation to `makeWrapper`. Also add user documentation to the nixpkgs manual.
* | nixpkgs doc: Talk about nativeBuildInputs and propgatedNativeBuildInputsJohn Ericson2017-01-24
| | | | | | | | | | | | Do so in the stdenv section where the other two are discussed. This can be done without brining up cross-compilation by talking about build-time vs run-time.
* | doc: improve hardening docsFranz Pletz2017-01-20
| | | | | | | | Fixes #18887.
* | stdenv/stripHash: print to stdout, not to variableProfpatsch2016-10-11
|/ | | | | | | | | | `stripHash` documentation states that it prints out the stripped name to the stdout, but the function stored the value in `strippedName` instead. Basically all usages did something like `$(stripHash $foo | echo $strippedName)` which is just braindamaged. Fixed the implementation and all invocations.
* manual: switch an example from md5 to sha256.Michael Raskin2016-10-07
|
* nixpkgs doc: add installCheck phaseEric Sagnes2016-09-28
|
* Merge pull request #9607 from nckx/update-docDomen Kožar2016-08-31
|\ | | | | doc: specify that *Flags are string lists
| * doc: specify that *Flags are string listsTobias Geerinckx-Rice2015-09-02
| |