about summary refs log tree commit diff
path: root/pkgs/stdenv/adapters.nix
Commit message (Collapse)AuthorAge
* Fix cross compiling regression due to gcc->cc renaming.Ambroz Bizjak2015-02-05
|
* rename gcc-wrapper to cc-wrapper.Eric Seidel2015-01-14
| | | | also makes cc-wrapper compatible with clang in the darwin fork.
* Restore accidentally-dropped stdenv adapterShea Levy2014-12-26
|
* Change occurrences of gcc to the more general ccJohn Wiegley2014-12-26
| | | | | This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
* Merge remote-tracking branch 'origin/glibc-2.20' into stagingEelco Dolstra2014-11-16
|\
| * Remove obsolete useKlibc stdenv adapterEelco Dolstra2014-10-29
| |
| * Remove obsolete useDietLibC stdenv adapterEelco Dolstra2014-10-29
| |
* | useGoldLinker: Don't set dontStripEelco Dolstra2014-11-12
| | | | | | | | Probably caused by a bad cut&paste...
* | gcc-wrapper: Wrap ld.goldEelco Dolstra2014-10-10
| | | | | | | | This ensures that gcc's ‘-fuse-ld=gold’ flag works.
* | Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenvEelco Dolstra2014-10-09
|\| | | | | | | | | Conflicts: pkgs/tools/security/gnupg/default.nix
| * stdenv-linux: Turn allowedRequisites back onEelco Dolstra2014-10-06
| |
* | fix even more clang buildsJoel Taylor2014-09-09
|/
* Typo/commentEelco Dolstra2014-04-22
|
* Move generation of coverage reports from nixos/lib/testing to releaseToolsEelco Dolstra2014-03-03
| | | | Also, turn some stdenv adapters into setup hooks.
* Turn the coverage analysis stdenv adapters into setup hooksEelco Dolstra2014-02-05
| | | | | | | Stdenv adapters are kinda weird and un-idiomatic (especially when they don't actually change stdenv). It's more idiomatic to say buildInputs = [ makeCoverageAnalysisReport ];
* addCoverageInstrumentation: Set NIX_CFLAGS_COMPILE as an attributeEelco Dolstra2014-02-05
| | | | This allows it to show up in nix-shell.
* Apply makeOverridable to stdenvEelco Dolstra2014-02-05
| | | | | | This removes the need for hacks like stdenv.regenerate. It also ensures that overrideGCC is now stackable (so ‘stdenv = useGoldLinker clangStdenv’ works).
* Add a stdenv adapter ‘useGoldLinker’ to force use of GoldEelco Dolstra2014-02-05
|
* More renamesEelco Dolstra2012-12-28
|
* More random cleanupEelco Dolstra2012-12-28
|
* Random cleanup: use "or" in adapters.nixEelco Dolstra2012-12-28
|
* Rename buildNativeInputs -> nativeBuildInputsEelco Dolstra2012-12-28
| | | | | Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
* Rename hostDrv -> crossDrv, buildDrv -> nativeDrvEelco Dolstra2012-12-28
| | | | | | This is for consistency with terminology in stdenv (and the terms "hostDrv" and "buildDrv" are not very intuitive, even if they're consistent with GNU terminology).
* Add a stdenv adapter ‘keepDebugInfo’ to make a debug buildEelco Dolstra2012-10-31
| | | | | | | | | This adapter causes the resulting binaries to have debug info and no optimisations. Example use (in all-packages.nix): foo = callPackage ./foo.nix { stdenv = keepDebugInfo stdenv; };
* * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointlessEelco Dolstra2012-01-18
| | | | | | function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
* * Streamline the stdenv bootstrap and resulting closure by removingEelco Dolstra2011-12-14
| | | | | | | | | | | some redundant builds (e.g., GMP was built three times). * Updated GMP to 5.0.2. * Updated PPL to 0.11.2. * Remove ad hoc flags to build GCC's dependencies statically. Instead, use the ‘makeStaticLibraries’ stdenv adapter. * Build GMP with C++ support by default. svn path=/nixpkgs/branches/stdenv-updates/; revision=30891
* validateLicenses: Warn about derivations lacking licensing information.Ludovic Courtès2011-11-20
| | | | svn path=/nixpkgs/trunk/; revision=30496
* stdenv adapters: Use `toString' instead of `exprToString'.Ludovic Courtès2011-11-20
| | | | svn path=/nixpkgs/trunk/; revision=30494
* Bootstrap clang with itselfShea Levy2011-10-19
| | | | svn path=/nixpkgs/trunk/; revision=29901
* * Typo.Eelco Dolstra2011-07-01
| | | | svn path=/nixpkgs/trunk/; revision=27569
* * makeStaticBinaries: handle the case where configureFlags isEelco Dolstra2011-01-20
| | | | | | an array. svn path=/nixpkgs/trunk/; revision=25641
* Making the addCoverageInformation stdenv adapter better in the sense that itLluís Batlle i Rossell2010-11-30
| | | | | | | | | | does not override NIX_CFLAGS_COMPILE anymore in the mkDerivation parameter attributes. This way, apacheHttpd can be built properly with coverage information. An indication of this problem came from the nixos tests.subversion failure. svn path=/nixpkgs/branches/stdenv-updates/; revision=24938
* Updating from trunkLluís Batlle i Rossell2010-08-07
|\ | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=23027
| * TyposYury G. Kudryashov2010-08-06
| | | | | | | | svn path=/nixpkgs/trunk/; revision=23011
* | Making gcc cross-buildable, at least for glibc.Lluís Batlle i Rossell2010-03-06
|/ | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=20454
* Fixing the cross build stdenv adapter so it tolerates buildInputs with ↵Lluís Batlle i Rossell2010-03-04
| | | | | | 'null' elements. svn path=/nixpkgs/trunk/; revision=20381
* Adding a new special attribute for mkDerivation: crossAttrs. It sits next toLluís Batlle i Rossell2010-02-27
| | | | | | | | | "meta" and "passthru", and these attributes will be appended to the usual mkDerivation attributes only if the package is cross built. This allows putting some of the cross-building logic in the mkDerivation nix parameters, and not only in the final builder script, as it was until now. svn path=/nixpkgs/trunk/; revision=20272
* * Fix splashutils.Eelco Dolstra2010-01-26
| | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=19662
* * libjpeg updated to version 8.Eelco Dolstra2010-01-21
| | | | | | | * libpng updated to 1.4.0. * For libjpegStatic, use a stdenv adapter to build a static library. svn path=/nixpkgs/branches/stdenv-updates/; revision=19605
* Merging from trunk.Lluís Batlle i Rossell2010-01-14
|\ | | | | | | | | | | | | | | | | I fixed conflicts regarding the renaming 'kernel' -> 'linux' in all-packages. Also a small conflict in all-packages about making openssl overridable. And I some linux 2.6.31-zen kernel files also marked in conflict. svn path=/nixpkgs/branches/stdenv-updates/; revision=19438
| * * Linux 2.6.32 generates weirdly named gcno files.Eelco Dolstra2010-01-04
| | | | | | | | svn path=/nixpkgs/trunk/; revision=19206
* | Finishing the update from trunk, having resolved the eclipse related directoryLluís Batlle i Rossell2009-11-26
|\| | | | | | | | | | | | | | | | | | | | | | | renaming. I think directory renaming breaks the usual merges... because it leaves the 'to be removed' directory in the working directory still. A manual 'rm' of the 'to be removed' directory fixed the commit. svn merge ^/nixpkgs/trunk svn path=/nixpkgs/branches/stdenv-updates/; revision=18661
| * * Add an adapter which abort an install if the installed package dependsNicolas Pierron2009-11-22
| | | | | | | | | | | | | | | | | | | | | | on a derivation with a meta.license attribute which does not satisfy the license predicate. With this adapter you can abort any install which depends on software which are not free by default. You can try it with MPlayer, because MPlayer depends of win32codecs flagged as "unfree". svn path=/nixpkgs/trunk/; revision=18530
| * * Add a script to retrieve licenses of the current derivation and of allNicolas Pierron2009-11-21
| | | | | | | | | | | | | | | | | | its dependencies. To make it works, you need to change the default stdenv as documented in the error message. ./maintainers/scripts/dep-licenses.sh <attribute name> svn path=/nixpkgs/trunk/; revision=18508
* | I should learn to concatenate lists.Lluís Batlle i Rossell2009-11-23
| | | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=18579
* | Making, in cross-builds, every buildInput a propagatedBuildInput. We needLluís Batlle i Rossell2009-11-23
| | | | | | | | | | | | | | | | | | | | this because 'ld' wants to know the path of every library involved in a dynamic linking. I imagine that ld does not need that in native builds because it can call the loader for it to resolve the library rpaths, but this is not the case for cross-building. svn path=/nixpkgs/branches/stdenv-updates/; revision=18577
* | On native builds:Lluís Batlle i Rossell2009-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | - Disabling guile test, because one fails. I commented on that in the source. On cross builds: - Adding stripping - Updating the glibc-2.11 expression to match the parameters of glibc-2.9, which I was updating more. - Renaming from selfNativeBuildInput to selfBuildNativeInput, so this matches better the pattern buildNativeInputs. svn path=/nixpkgs/branches/stdenv-updates/; revision=18550
* | Big fixes in the cross build:Lluís Batlle i Rossell2009-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Before this changes, cflags and ldflags for the native and the cross compiler got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are independant now, but enough, I think. - Fixed the generic stdenv expression, which did a big mess on buildInputs and buildNativeInputs. Now it distinguishes when there is a stdenvCross or not. Maybe we should have a single stdenv and forget about the stdenvCross adapter - this could end in a stdenv a bit complex, but simpler than the generic stdenv + adapter. - Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH now works for both the cross and the native compilers, but I think this should work well for most cases I can think of. - I tried to fix the guile expression to cross-biuld; guile is built, but not its manual, so the derivation still fails. Guile requires patching to cross-build, as far as I understnad. - Made the glibcCross build to be done through the usage of a gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it directly. - Trying to make physfs (a neverball dependency) cross build. - Updated the gcc expression to support building a cross compiler without getting derivation variables mixed with those of the stdenvCross. svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
* | Adding a new mkDerivation flag for the cross stdenv, selfNativeBuildInput =Lluís Batlle i Rossell2009-11-20
| | | | | | | | | | | | | | | | | | | | | | | | true/false, which tells whether the derivation needs itself as buildNativeInput. For example, in order to build cross ncurses, we need the a native build ncurses. (As libtool does not work in stdenv, I have not tested this change, to check whether finally ncurses cross-build) svn path=/nixpkgs/branches/stdenv-updates/; revision=18489
* | Allowing in the cross stdenv adapter the calls to mkDerivation without name.Lluís Batlle i Rossell2009-11-20
| | | | | | | | | | | | | | I don't know why there are such calls, but there are. svn path=/nixpkgs/branches/stdenv-updates/; revision=18482