about summary refs log tree commit diff
path: root/doc/stdenv.xml
Commit message (Collapse)AuthorAge
* Merge branch 'master' into staging-nextVladimír Čunát2019-02-01
|\ | | | | | | | | | | | | Comments on conflicts: - llvm: d6f401e1 vs. 469ecc70 - docs for 6 and 7 say the default is to build all targets, so we should be fine - some pypi hashes: they were equivalent, just base16 vs. base32
| * nixpkgs/manual: address review commentsMatthew Bauer2019-01-27
| | | | | | | | Mostly taken from requested changes exactly as recommended.
| * nixpkgs/manual: document default setup hooksMatthew Bauer2019-01-26
| | | | | | | | Fixes #34857.
| * doc: don't overwrite makeFlagsArray in the exampleDaiderd Jordan2019-01-06
| | | | | | | | | | Arrays like these should be appended to instead of overwritten in almost every case to avoid loosing the existing flags.
* | stdenv: make checkInputs nativeFrederik Rietdijk2019-01-13
| | | | | | | | | | | | | | | | We can't run the checkPhase when build != host, so we may as well make the checkInputs native. This signicantly improves the situation of Python packages when enabling strictDeps.
* | stdenv: prune libtool files by default (#51767)Orivej Desh (NixOS)2019-01-11
|\ \ | |/ |/| See the motivation in fd97db43bcb05e37f6bb77f363f1e1e239d9de53 (#41819).
| * doc/stdenv: document dontPruneLibtoolFilesPiotr Bogdan2018-12-09
| |
* | treewide: remove paxutils from stdenvJörg Thalheim2018-12-22
| | | | | | | | | | | | | | More then one year ago we removed grsecurity kernels from nixpkgs: https://github.com/NixOS/nixpkgs/pull/25277 This removes now also paxutils from stdenv.
* | Merge remote-tracking branch 'upstream/master' into stagingJan Tojnar2018-12-16
|\ \ | |/ |/|
| * doc/breakpointHook: correct typosworldofpeace2018-12-13
| |
| * Update doc/stdenv.xmlDmitry Kalinkin2018-12-13
| | | | | | Co-Authored-By: guibou <guillaum.bouchard@gmail.com>
| * Fix english in stdenv.xmlGuillaume Bouchard2018-12-13
| |
* | ghc: don’t add libiconv automaticallyMatthew Bauer2018-12-05
|/ | | | ghc needs it to fail to correctly detect it for later.
* Merge pull request #50977 from jtojnar/parallel-update.nixJan Tojnar2018-12-02
|\ | | | | update.nix: Run update scripts in parallel
| * update.nix: Run update scripts in parallelJan Tojnar2018-12-01
| | | | | | | | | | | | | | | | | | | | | | To make updating large attribute sets faster, the update scripts are now run in parallel. Please note the following changes in semantics: - The string passed to updateScript needs to be a path to an executable file. - The updateScript can also be a list: the tail elements will then be passed to the head as command line arguments.
* | Merge pull request #50802 from aszlig/autopatchelf-improvementsJörg Thalheim2018-11-27
|\ \ | | | | | | autoPatchelfHook: Fixes/improvements for Android SDK emulator
| * | doc/stdenv: Document autoPatchelfHook changesaszlig2018-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First of all, this makes the existing documentation a bit more clear on what autoPatchelfHook is all about, because after discussing with @svanderburg - who wrote a similar implementation - the rationale about autoPatchelfHook wasn't very clear in the documentation. I also added the recent changes around being able to use autoPatchelf manually and the new --no-recurse flag. Signed-off-by: aszlig <aszlig@nix.build>
* | | 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.