about summary refs log tree commit diff
path: root/pkgs/stdenv/nix
Commit message (Collapse)AuthorAge
* rename gcc-wrapper to cc-wrapper.Eric Seidel2015-01-14
| | | | also makes cc-wrapper compatible with clang in the darwin fork.
* Remove dead codeEelco Dolstra2014-11-04
|
* Prevent an unnecessary evaluation of libEelco Dolstra2014-08-09
|
* DohEelco Dolstra2014-07-28
|
* Export SDKROOTEelco Dolstra2014-07-28
|
* $xcodePath -> $SDKROOTEelco Dolstra2014-07-24
| | | | | SDKROOT is standard. In particular, this fixes the cmake build on Mac OS X 10.9.
* stdenv-darwin: Shut up some warnings from SDK headersEelco Dolstra2014-07-23
| | | | | The Carbon headers spew out zillions of multichar / deprecations warnings, which isn't very helpful. So turn them off.
* Set MACOSX_DEPLOYMENT_TARGETEelco Dolstra2014-07-02
| | | | | | | | This variable sets the minimal Mac OS X version required for running binaries produced by the Darwin toolchain. Since it defaults to the version of the user's SDK, setting it explicitly should make our builds more deterministic. It's now set to 10.6 because that's what hydra.nixos.org runs.
* Darwin: Search for libraries in $sdk/usr/libEelco Dolstra2014-07-01
| | | | | This required adding a new environment variable NIX_LDFLAGS_AFTER that ensures that the -L.../usr/lib flag happens last.
* Darwin: Use xcrun to get the path to the SDKEelco Dolstra2014-07-01
| | | | | | | | | | Recent versions of Xcode don't install headers in /usr/include but in a directory like /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include So use that instead, falling back to /usr/include in case of an older version of Xcode.
* Change stdenv on darwin to not set NIX_ENFORCE_PURITYJohn Wiegley2014-05-29
|
* GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS!Danny Wilson2013-02-28
| | | | | - Add solaris native ld support to GCC build wrapper - Add solaris ld wrapper that fixes -L argument order
* Remove trailing whitespaceEelco Dolstra2012-12-28
|
* Add an option ‘stdenv.userHook’ to set a global stdenv setup hookEelco Dolstra2012-12-28
| | | | | | | | | | | | | | | This allows various applications. It allows users to set global optimisation flags, e.g. stdenv.userHook = ''NIX_CFLAGS_COMPILE+=" -funroll-loops"''; But the impetus is as an alternative to issue #229, allowing impure stdenv setup for people who want to use distcc: stdenv.userHook = "source /my/impure/setup-script.sh"; This is probably a bad idea, but at least now it's a bad idea in people's configuration and not in Nixpkgs. :-)
* Darwin: Use GCC 4.6 in `stdenvNix'.Ludovic Courtès2012-04-23
| | | | svn path=/nixpkgs/trunk/; revision=33894
* * Call all the stdenvs "stdenv" (rather than e.g. "stdenv-linux")Eelco Dolstra2012-01-20
| | | | | | so that "nix-env -i stdenv" does the expected. svn path=/nixpkgs/branches/stdenv-updates/; revision=31742
* * Reuse packages in the Darwin stdenv to prevent unnecessary rebuilds.Eelco Dolstra2012-01-19
| | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=31710
* * Prepend the "prehook" rather than sourcing it.Eelco Dolstra2012-01-19
| | | | | | * Don't call xargs with the -r flag in the Darwin bootstrap. svn path=/nixpkgs/branches/stdenv-updates/; revision=31703
* * Remove the NIX_STRIP_DEBUG flag. It was undocumented and confusingEelco Dolstra2011-12-12
| | | | | | in its interaction with the ‘dontStrip’ attribute. svn path=/nixpkgs/branches/stdenv-updates/; revision=30848
* Updating from trunk.Lluís Batlle i Rossell2009-12-10
|\ | | | | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=18878
| * changes for x86_64-darwin supportRob Vermaas2009-11-27
| | | | | | | | svn path=/nixpkgs/trunk/; revision=18667
* | Trying to fix the stdenv used on i686-darwin, which stopped working after myLluís Batlle i Rossell2009-11-20
|/ | | | | | | | statement of the gcc-wrapper coreutils dependency on r17867. I don't have i686-darwin to try this. svn path=/nixpkgs/branches/stdenv-updates/; revision=18490
* * xargsFlag empty on darwinRob Vermaas2009-06-10
| | | | svn path=/nixpkgs/trunk/; revision=15919
* * Fix stdenvNative/stdenvNix.Eelco Dolstra2009-02-02
| | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=13957
* * Folded the Cygwin, powerpc-darwin and FreeBSD stdenv into the "native"Eelco Dolstra2008-06-18
| | | | | | stdenv. svn path=/nixpkgs/trunk/; revision=12147
* * curl: build with OpenSSL (https) support by default.Eelco Dolstra2008-05-27
| | | | | | | | | | | | | | | | | | * Some fetchurl-related refactoring. The `realCurl' attribute is gone, `curl' is the real thing. To prevent an infinite recursion in `fetchurl' (because it depends on curl and building curl needs fetchurl), curl and its dependencies (openssl, zlib, perl) use `fetchurlBoot', which is the fetchurl used by the previous bootstrap phase (e.g. the statically linked version of curl for stdenv-linux). So as a result you can use https:// urls almost everywhere. There's also some hackery to prevent a different curl from being built in every stdenv-linux bootstrap phase (namely the stdenv.fetchurl attribute which allows fetchurl to be overriden everywhere). svn path=/nixpkgs/trunk/; revision=11905
* svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10814Eelco Dolstra2008-02-21
|
* * gcc-wrapper: separately store the flags necessary to find GCC andEelco Dolstra2006-10-24
| | | | | | | | | | | | | | | Glibc. This is useful when building GCC. * gcc-wrapper: the dynamic linker has a different name on x86_64 and powerpc. * gcc-wrapper: "glibc" -> "libc", because someday we might support different C libraries. * gcc: don't do a multilib build (e.g., 32-bit support on x86_64), don't need it. * gcc: merge in support for static builds. * gcc: various simplifications in the compiler/linker flags, hope they work. svn path=/nixpkgs/trunk/; revision=6823
* * `drv + /path' is deprecated, so don't do that anymore.Eelco Dolstra2006-10-17
| | | | svn path=/nixpkgs/trunk/; revision=6754
* * Don't use the subpath operator (~) anymore, it's subsumed by normalEelco Dolstra2006-08-09
| | | | | | concatenation (+). svn path=/nixpkgs/trunk/; revision=6080
* * Pass along realCurl.Eelco Dolstra2006-07-20
| | | | svn path=/nixpkgs/trunk/; revision=5830
* * On Darwin, use Apple's gcc fork.Eelco Dolstra2006-07-14
| | | | svn path=/nixpkgs/trunk/; revision=5715
* * Doh!Eelco Dolstra2006-07-14
| | | | svn path=/nixpkgs/trunk/; revision=5708
* * Better stdenv for Darwin: uses gcc, coreutils etc. built in Nix, butEelco Dolstra2006-07-14
| | | | | | external binutils (i.e., Apple's cctools in /usr/bin). svn path=/nixpkgs/trunk/; revision=5706
* * Reviving stdenvNix.Eelco Dolstra2006-07-14
| | | | svn path=/nixpkgs/trunk/; revision=5702
* * Remove redundant files, move path.nix around a bit.Eelco Dolstra2006-07-14
| | | | svn path=/nixpkgs/trunk/; revision=5701
* * Fix stdenv-nix.Eelco Dolstra2006-05-31
| | | | svn path=/nixpkgs/trunk/; revision=5358
* * It's not necessary to add gcc and binutils to the path here.Eelco Dolstra2004-09-18
| | | | svn path=/nixpkgs/trunk/; revision=1442
* * Finally we have a working stdenvLinux again.Eelco Dolstra2004-03-30
| | | | | | | On the downside, the build process of stdenvLinux builds gcc 9 times (3 x 3 bootstrap stages). That's a bit excessive. svn path=/nixpkgs/trunk/; revision=880
* * Remove trivial builders.Eelco Dolstra2004-03-29
| | | | | | | | | | | | * Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
* * The stdenv setup script now defines a generic builder that allowsEelco Dolstra2004-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | builders for typical Autoconf-style to be much shorten, e.g., . $stdenv/setup genericBuild The generic builder does lots of stuff automatically: - Unpacks source archives specified by $src or $srcs (it knows about gzip, bzip2, tar, zip, and unpacked source trees). - Determines the source tree. - Applies patches specified by $patches. - Fixes libtool not to search for libraries in /lib etc. - Runs `configure'. - Runs `make'. - Runs `make install'. - Strips debug information from static libraries. - Writes nested log information (in the format accepted by `log2xml'). There are also lots of hooks and variables to customise the generic builder. See `stdenv/generic/docs.txt'. * Adapted the base packages (i.e., the ones used by stdenv) to use the generic builder. * We now use `curl' instead of `wget' to download files in `fetchurl'. * Neither `curl' nor `wget' are part of stdenv. We shouldn't encourage people to download stuff in builders (impure!). * Updated some packages. * `buildinputs' is now `buildInputs' (but the old name also works). * `findInputs' in the setup script now prevents inputs from being processed multiple times (which could happen, e.g., if an input was a propagated input of several other inputs; this caused the size variables like $PATH to blow up exponentially in the worst case). * Patched GNU Make to write nested log information in the format accepted by `log2xml'. Also, prior to writing the build command, Make now writes a line `building X' to indicate what is being built. This is unfortunately often obscured by the gigantic tool invocations in many Makefiles. The actual build commands are marked `unimportant' so that they don't clutter pages generated by `log2html'. svn path=/nixpkgs/trunk/; revision=845
* * Finally got stdenv-nix-linux working again. Still not perfect,Eelco Dolstra2004-03-11
| | | | | | | | though. * libxml2: upgrade to latest. * octavefront/rna: keep debug info. svn path=/nixpkgs/trunk/; revision=830
* * stdenv-nix-linux should more-or-less work again now.Eelco Dolstra2004-03-09
| | | | svn path=/nixpkgs/trunk/; revision=826
* * Missing semicolon.Eelco Dolstra2004-01-30
| | | | svn path=/nixpkgs/trunk/; revision=729
* * Rename .fix -> .nix.Eelco Dolstra2003-11-18
| | | | svn path=/nixpkgs/trunk/; revision=511
* * Renamed pkgs-ng to pkgs.Eelco Dolstra2003-11-14
svn path=/nixpkgs/trunk/; revision=502