| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: format all inactive Nix files•••After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
| Silvan Mosberger | 2024-12-10 | 1 | -8/+31 |
| * | stdenv/common-path.nix: move to stdenv/generic/•••Do this since it is part of the generic stdenv/`mkDerivation`
infrastructure, rather than being a bootstrapping strategy.
| John Ericson | 2022-07-29 | 1 | -1/+1 |
| * | stdenv/{native,nix}: add lib to cc-wrapper args | Taeer Bar-Yam | 2021-04-21 | 1 | -0/+1 |
| * | stdenv: implement crossOverlays•••crossOverlays only apply to the packages being built, not the build
packages. It is useful when you don’t care what is used to build your
packages, just what is being built. The idea relies heavily on the
cross compiling infrastructure. Using this implies that we need to
create a cross stdenv.
| Matthew Bauer | 2018-12-04 | 1 | -2/+2 |
| * | cc-wrapper: Use stdenvNoCC to build•••cc-wrapper may wrap a cc-compiler, but it doesn't need one to build
itself. (c.f. expand-response-params is a separate derivation.) This
helps avoid cycles on the cross stuff, in addition to removing a
useless dependency edge.
I could have been super careful with overrides in the stdenv to avoid
the mass rebuild, but I don't think it's worth it.
| John Ericson | 2017-09-26 | 1 | -8/+5 |
| * | cc-wrapper: Remove unused params•••Ensured hashes unchanged and eval succeeds in tarball job
| John Ericson | 2017-08-21 | 1 | -6/+2 |
| * | top-level: {build,host,target}Platform are defined in the stdenv instead•••See #27069 for a discussion of this
| John Ericson | 2017-07-07 | 1 | -3/+4 |
| * | cc-wrapper: Learn about target prefixes•••This is first step towards getting rid of gcc-wrapper-cross
| John Ericson | 2017-06-22 | 1 | -0/+1 |
| * | cc-wrapper: Remove `stdenv.is*` for `targetPlatform.is*`•••Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
| John Ericson | 2017-06-22 | 1 | -0/+1 |
| * | stdenv: define is* predicates with hostPlatform.is*•••This is a saner default until stdenv's are removed altogether
| John Ericson | 2017-05-22 | 1 | -2/+2 |
| * | top-level: Lay the groundwork for `{build,host,target}Platform`•••The long term goal is a big replace:
{ inherit system platform; } => buildPlatform
crossSystem => hostPlatform
stdenv.cross => targetPlatform
And additionally making sure each is defined even when not cross compiling.
This commit refactors the bootstrapping code along that vision, but leaves
the old identifiers with their null semantics in place so packages can be
modernized incrementally.
| John Ericson | 2017-01-24 | 1 | -2/+2 |
| * | top-level: Normalize stdenv booting•••Introduce new abstraction, `stdenv/booter.nix` for composing bootstraping
stages, and use it everywhere for consistency. See that file for more doc.
Stdenvs besides Linux and Darwin are completely refactored to utilize this.
Those two, due to their size and complexity, are minimally edited for
easier reviewing.
No hashes should be changed.
| John Ericson | 2017-01-13 | 1 | -31/+45 |
| * | top-level: Modernize stdenv.overrides giving it self and super•••Document breaking change in 17.03 release notes
| John Ericson | 2017-01-13 | 1 | -1/+1 |
| * | cc-wrapper: add option to skip flags for native optimizations | Nikolay Amiantov | 2016-03-24 | 1 | -0/+1 |
| * | stdenv: don't overwrite $NIX_ENFORCE_PURITY setting•••Close #13583.
| Tim Cuthbertson | 2016-03-13 | 1 | -1/+1 |
| * | Fix "nix" stdenv (close #13554)•••Broken by changes introduced in d96893647de5c519c458c1254f043f2d67d9b29c
| Danny Wilson | 2016-02-28 | 1 | -2/+1 |
| * | add is{GNU,Clang} attrs to cc-wrapper.•••These will be more pleasant to use than the existing
(cc.cc.isClang or false)
nonsense we currently do.
| Eric Seidel | 2015-05-11 | 1 | -0/+1 |
| * | rename gcc-wrapper to cc-wrapper.•••also makes cc-wrapper compatible with clang in the darwin fork.
| Eric Seidel | 2015-01-14 | 1 | -4/+4 |
| * | Remove dead code | Eelco Dolstra | 2014-11-04 | 1 | -16/+1 |
| * | Prevent an unnecessary evaluation of lib | Eelco Dolstra | 2014-08-09 | 1 | -3/+3 |
| * | Doh | Eelco Dolstra | 2014-07-28 | 1 | -1/+1 |
| * | Export SDKROOT | Eelco Dolstra | 2014-07-28 | 1 | -1/+1 |
| * | $xcodePath -> $SDKROOT•••SDKROOT is standard. In particular, this fixes the cmake build on
Mac OS X 10.9.
| Eelco Dolstra | 2014-07-24 | 1 | -3/+3 |
| * | stdenv-darwin: Shut up some warnings from SDK headers•••The Carbon headers spew out zillions of multichar / deprecations warnings,
which isn't very helpful. So turn them off.
| Eelco Dolstra | 2014-07-23 | 1 | -2/+1 |
| * | Set MACOSX_DEPLOYMENT_TARGET•••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.
| Eelco Dolstra | 2014-07-02 | 1 | -9/+7 |
| * | Darwin: Search for libraries in $sdk/usr/lib•••This required adding a new environment variable NIX_LDFLAGS_AFTER
that ensures that the -L.../usr/lib flag happens last.
| Eelco Dolstra | 2014-07-01 | 1 | -6/+4 |
| * | Darwin: Use xcrun to get the path to the SDK•••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.
| Eelco Dolstra | 2014-07-01 | 1 | -1/+8 |
| * | Change stdenv on darwin to not set NIX_ENFORCE_PURITY | John Wiegley | 2014-05-29 | 1 | -0/+1 |
| * | GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS!•••- Add solaris native ld support to GCC build wrapper
- Add solaris ld wrapper that fixes -L argument order
| Danny Wilson | 2013-02-28 | 1 | -0/+1 |
| * | Remove trailing whitespace | Eelco Dolstra | 2012-12-28 | 1 | -3/+3 |
| * | Add an option ‘stdenv.userHook’ to set a global stdenv setup hook•••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. :-)
| Eelco Dolstra | 2012-12-28 | 1 | -1/+3 |
| * | Darwin: Use GCC 4.6 in `stdenvNix'.•••svn path=/nixpkgs/trunk/; revision=33894
| Ludovic Courtès | 2012-04-23 | 1 | -1/+1 |
| * | * Call all the stdenvs "stdenv" (rather than e.g. "stdenv-linux")••• so that "nix-env -i stdenv" does the expected.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31742
| Eelco Dolstra | 2012-01-20 | 1 | -2/+0 |
| * | * Reuse packages in the Darwin stdenv to prevent unnecessary rebuilds.•••svn path=/nixpkgs/branches/stdenv-updates/; revision=31710
| Eelco Dolstra | 2012-01-19 | 1 | -2/+10 |
| * | * Prepend the "prehook" rather than sourcing it.•••* Don't call xargs with the -r flag in the Darwin bootstrap.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31703
| Eelco Dolstra | 2012-01-19 | 2 | -11/+15 |
| * | * Remove the NIX_STRIP_DEBUG flag. It was undocumented and confusing••• in its interaction with the ‘dontStrip’ attribute.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30848
| Eelco Dolstra | 2011-12-12 | 1 | -1/+0 |
| * | Updating from trunk.•••svn path=/nixpkgs/branches/stdenv-updates/; revision=18878
| Lluís Batlle i Rossell | 2009-12-10 | 1 | -1/+1 |
| |\ |
|
| | * | changes for x86_64-darwin support•••svn path=/nixpkgs/trunk/; revision=18667
| Rob Vermaas | 2009-11-27 | 1 | -1/+1 |
| * | | Trying to fix the stdenv used on i686-darwin, which stopped working after my•••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
| Lluís Batlle i Rossell | 2009-11-20 | 1 | -0/+1 |
| |/ |
|
| * | * xargsFlag empty on darwin•••svn path=/nixpkgs/trunk/; revision=15919
| Rob Vermaas | 2009-06-10 | 1 | -0/+1 |
| * | * Fix stdenvNative/stdenvNix.•••svn path=/nixpkgs/branches/stdenv-updates/; revision=13957
| Eelco Dolstra | 2009-02-02 | 1 | -2/+1 |
| * | * Folded the Cygwin, powerpc-darwin and FreeBSD stdenv into the "native"••• stdenv.
svn path=/nixpkgs/trunk/; revision=12147
| Eelco Dolstra | 2008-06-18 | 1 | -4/+2 |
| * | * curl: build with OpenSSL (https) support by default.•••* 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
| Eelco Dolstra | 2008-05-27 | 1 | -2/+3 |
| * | svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10814 | Eelco Dolstra | 2008-02-21 | 1 | -0/+1 |
| * | * gcc-wrapper: separately store the flags necessary to find GCC and••• 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
| Eelco Dolstra | 2006-10-24 | 1 | -1/+1 |
| * | * `drv + /path' is deprecated, so don't do that anymore.•••svn path=/nixpkgs/trunk/; revision=6754
| Eelco Dolstra | 2006-10-17 | 1 | -2/+2 |
| * | * Don't use the subpath operator (~) anymore, it's subsumed by normal••• concatenation (+).
svn path=/nixpkgs/trunk/; revision=6080
| Eelco Dolstra | 2006-08-09 | 1 | -2/+2 |
| * | * Pass along realCurl.•••svn path=/nixpkgs/trunk/; revision=5830
| Eelco Dolstra | 2006-07-20 | 1 | -2/+1 |
| * | * On Darwin, use Apple's gcc fork.•••svn path=/nixpkgs/trunk/; revision=5715
| Eelco Dolstra | 2006-07-14 | 1 | -2/+2 |
| * | * Doh!•••svn path=/nixpkgs/trunk/; revision=5708
| Eelco Dolstra | 2006-07-14 | 1 | -1/+1 |