Commit Graph

143 Commits

Author SHA1 Message Date
Eric Seidel
68647a4de5 coreutils: don't use bare sed on darwin
it will be BSD sed instead of GNU sed
2015-03-21 09:14:35 -07:00
Eelco Dolstra
2ed5c2bd6b Set some meta.platforms
Also fix meta.platform -> meta.platforms in a few places.
2015-03-20 20:04:42 +01:00
Vladimír Čunát
e73933da9c coreutils: skip dd/sparse test (fixes #6306)
It's not done very nicely, as the main build log still prints as if the
test ran and succeeded, but I'm lazy to dig deeper into the framework.
2015-03-18 20:20:18 +01:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Eelco Dolstra
7456ae4f5c coreutils: Update to 8.23 2014-10-06 20:40:11 +02:00
Vladimír Čunát
030af0a803 fix .xz in stdenv bootstrap
Presumably needed due to the last staging merge.
There was some stdenv stage refactoring within, IIRC.
2014-08-30 15:48:17 +02:00
Vladimír Čunát
a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát
fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Eelco Dolstra
a0bbe58a19 coreutils: Disable parallel building 2014-02-14 19:17:23 +01:00
Vladimír Čunát
34a7256820 coreutils: fix build (race condition) 2013-12-27 20:53:53 +01:00
Peter Simons
9407832de4 Merge remote-tracking branch 'origin/master' into stdenv-updates.
Conflicts:
	pkgs/development/libraries/gettext/default.nix
2013-09-23 10:59:44 +02:00
Vladimír Čunát
961c2fe7c3 coreutils,gettext: don't change hash except for darwin
Also some style cleanup.
Note that defining an empty-string variable *does* change the hash.
I would like to change this behaviour one day
(clean up attrs when compiling the derivation).
2013-09-14 14:56:10 +02:00
Danie Roux
055e646bfc coreutils: Guard against compiler not supporting __builtin_stpncpy_chk
From https://lists.macosforge.org/pipermail/macports-dev/2011-July/015263.html:

5) Building with a compiler that doesn't support newer __builtins

If your port uses MacPorts compilers rather than the default compiler,
you may run into trouble with string functions.  You'll see errors at
link time about undefined __builtin_* functions.  If this happens, you
may want to compile with -D_FORTIFY_SOURCE=0 to tell the headers to
use unfortified versions which do not use compiler builtins.
2013-09-14 14:45:07 +02:00
Danie Roux
123ab78ee0 coreutils: Remove 8.19 reference 2013-09-14 14:45:07 +02:00
Danie Roux
c183c7b3ec coreutils: Make it build on OSX 10.0.8
Take patch from: https://lists.gnu.org/archive/html/bug-coreutils/2013-01/msg00119.html
2013-09-14 14:45:06 +02:00
Peter Simons
0d7118814b Merge branch 'origin/master' into stdenv. 2013-08-17 10:00:16 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Peter Simons
4914e63a89 Merge changes from branch 'master' into stdenv-updates.
Conflicts:
	pkgs/development/libraries/icu/default.nix
	pkgs/tools/misc/coreutils/default.nix
2013-04-19 11:48:11 +02:00
Lluís Batlle i Rossell
91a94932d9 coreutils: fixing cross-build
coreutils can't generate the man pages cross-building. I do a trick
to get them from a non-cross-built coreutils.
2013-04-10 15:56:14 +02:00
Eelco Dolstra
92656e5f52 coreutils: Update to 8.21
Now "df" finally hides bind mounts and rootfs!
2013-03-06 14:10:54 +01:00
Danny Wilson
15e865ac09 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
2013-02-28 20:04:02 +01:00
Danny Wilson
bcaea92a12 Attempt at getting GCC 4.7 compiled on Illumos...
No success yet :-(
2013-02-28 20:04:01 +01:00
Danny Wilson
cf42601f92 Coreutils update and Illumos compatibility fixes.
- GNU Coreutils 8.21
- Add is64Bit checks to stdenv for Solaris.
- Fix OpenSSL Illumos build.
2013-02-28 20:04:01 +01:00
Lluís Batlle i Rossell
472499ccd8 coreutils: I forgot a file in the prev commit 2013-01-02 20:04:08 +01:00
Lluís Batlle i Rossell
09d12cc9db coreutils: update to 8.20. They didn't build in i686 here.
Here is the error:
set-mode-acl.c: In function 'qset_acl':
set-mode-acl.c:72:6: error: #error Must have acl_delete_def_file (see POSIX 1003.1e draft 17).
2013-01-02 19:26:11 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5be0a9acd7 Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
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).
2012-12-28 19:08:19 +01:00
Eelco Dolstra
0ecd1f62c7 Revert "coreutils: Update to 8.20"
This reverts commit 1620307488.

8.20 doesn't build on x86_64-darwin.

http://hydra.nixos.org/build/3435174
2012-12-12 17:00:32 +01:00
Eelco Dolstra
1620307488 coreutils: Update to 8.20 2012-11-23 17:29:06 +01:00
Eelco Dolstra
db5c495d98 coreutils: Update to 8.19 2012-09-18 14:48:48 -04:00
Ludovic Courtès
77fdc7bb35 GNU Coreutils: Allow builds with newer versions of glibc. 2012-06-28 15:30:02 +02:00
Eelco Dolstra
d4d7931a62 * Cleanup: remove obsolete references to ‘xz’, which is in stdenv now.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31678
2012-01-18 20:53:01 +00:00
Eelco Dolstra
f7159c195a * coreutils 8.15.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31643
2012-01-18 20:09:26 +00:00
Peter Simons
61c4b72f0e coreutils: added missing xz build input
svn path=/nixpkgs/branches/stdenv-updates/; revision=30028
2011-10-26 09:58:19 +00:00
Ludovic Courtès
5d5b893223 GNU Coreutils 8.14.
svn path=/nixpkgs/branches/stdenv-updates/; revision=29848
2011-10-14 21:56:16 +00:00
Shea Levy
8715ac105b GNU Coreutils 8.13
svn path=/nixpkgs/branches/stdenv-updates/; revision=29191
2011-09-11 18:58:24 +00:00
Shea Levy
4d70ba6cc9 Merge from trunk up through r28790
svn path=/nixpkgs/branches/stdenv-updates/; revision=28792
2011-08-24 19:16:43 +00:00
Evgeny Egorochkin
ac951a6469 coreutils: add SELinux support
svn path=/nixpkgs/trunk/; revision=26543
2011-03-27 04:46:25 +00:00
Ludovic Courtès
99a303b0dc GNU Coreutils 8.10.
svn path=/nixpkgs/branches/stdenv-updates/; revision=26117
2011-02-25 15:28:22 +00:00
Ludovic Courtès
e7739d9407 GNU Coreutils 8.7.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25092
2010-12-12 23:35:22 +00:00
Ludovic Courtès
96da0397a9 GNU Coreutils 8.5.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23279
2010-08-20 15:26:31 +00:00
Peter Simons
70240d36ac Enable parallel building of gcc, glibc, gmp, mpfr, coreutils, perl, git, and qt4.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22400
2010-06-23 14:35:18 +00:00
Lluís Batlle i Rossell
85e1bc7d34 Fixing coreutils - I did not merge that well enough
svn path=/nixpkgs/branches/stdenv-updates/; revision=21976
2010-05-25 20:41:53 +00:00
Lluís Batlle i Rossell
fa1a414aee Merging from trunk - I had to resolve conflicts on coreutils; I hope I resolved that
well


svn path=/nixpkgs/branches/stdenv-updates/; revision=21975
2010-05-25 20:38:18 +00:00
Ludovic Courtès
0b2906ca28 Add cross Coreutils.
svn path=/nixpkgs/trunk/; revision=21935
2010-05-21 13:46:54 +00:00
Lluís Batlle i Rossell
19b9811012 Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
2010-04-04 18:10:42 +00:00
Lluís Batlle i Rossell
6f9a783232 Trying to get coreutils cross-built with uclibc.
This involved fixing some buildInputs/buildNativeInputs in acl/attr,
and adding a libiconv in some places.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20510
2010-03-09 18:05:38 +00:00
Ludovic Courtès
bf1ffcc595 coreutils: Disable tests on non-GNU platforms.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19521
2010-01-18 14:54:42 +00:00
Ludovic Courtès
951ec3ce51 GNU Coreutils 8.4.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19429
2010-01-14 10:09:39 +00:00
Ludovic Courtès
792eeca654 GNU Coreutils 8.3.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19314
2010-01-08 21:22:10 +00:00
Ludovic Courtès
ef0cd29eb0 GNU Coreutils 8.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18906
2009-12-11 20:05:54 +00:00
Lluís Batlle i Rossell
7cae967c7c Removing the coreutils-7.5, which were needed in armv5tel in contrast to
coreutils 7.6, which did not build well. The newer coreutils 8.1 work perfectly,
and we don't need to rely in older versions.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18836
2009-12-08 10:04:43 +00:00
Lluís Batlle i Rossell
6fadcfbd03 Building coreutils with gmp, only because it is possible to do so.
I don't know the advantage, though.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18770
2009-12-02 19:34:34 +00:00
Ludovic Courtès
3548887c27 GNU Coreutils: Comment on test failures.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18512
2009-11-22 00:22:42 +00:00
Lluís Batlle i Rossell
b27cf66ee2 argh. Bad commenting style and a commit too blind.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18496
2009-11-20 20:29:32 +00:00
Lluís Batlle i Rossell
7748e9e964 Disabling the coreutils tests
svn path=/nixpkgs/branches/stdenv-updates/; revision=18495
2009-11-20 20:28:43 +00:00
Lluís Batlle i Rossell
9effdda93b Updating the dependencies of the new coreutils: they need perl.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18494
2009-11-20 20:26:36 +00:00
Ludovic Courtès
40e564c87c GNU Coreutils 8.1.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18476
2009-11-19 22:46:45 +00:00
Lluís Batlle i Rossell
4b27d28701 Porting changes from stdenv-updates into this branch.
This comes from:
svn diff  ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff
patch -p0 < diff
and then adding into svn all files new from the patch.

trunk@18255 comes from the last time I updated stdenv-updates from trunk.


svn path=/nixpkgs/stdenv-updates2/; revision=18272
2009-11-08 00:32:12 +00:00
Ludovic Courtès
f48dfa1e25 GNU Coreutils 7.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14833
2009-04-02 12:33:03 +00:00
Ludovic Courtès
f0c728ba53 GNU Coreutils 7.1.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14196
2009-02-22 23:04:15 +00:00
Eelco Dolstra
88c502217b * coreutils 7.0 already has the backwards compatibility patch for old
Linux kernels.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13875
2009-01-27 10:51:54 +00:00
Ludovic Courtès
6927ec314e GNU Coreutils 7.0.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13829
2009-01-24 19:05:35 +00:00
Eelco Dolstra
387cbc1c92 * Enable the backwards compatibility patch (I guess it doesn't hurt on
new kernels).

svn path=/nixpkgs/branches/stdenv-updates/; revision=12989
2008-10-07 16:55:58 +00:00
Pjotr Prins
bdc54592c7 Adding (disabled) time compatibility patch for coreutils - this allows
the compilation of older Linux kernels against newer headers (not a recommended
practise!)


svn path=/nixpkgs/trunk/; revision=12944
2008-10-05 08:41:54 +00:00
Eelco Dolstra
cd60dc0ede * Various updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=12051
2008-06-12 09:49:40 +00:00
Eelco Dolstra
1d6f0ab989 * On Linux, build coreutils with ACL support.
svn path=/nixpkgs/branches/stdenv-updates/; revision=11848
2008-05-19 15:12:03 +00:00
Eelco Dolstra
a218b9b2e7 * Updated coreutils and findutils.
svn path=/nixpkgs/branches/stdenv-updates/; revision=11685
2008-04-22 13:12:45 +00:00
Eelco Dolstra
8cd1b893cf * coreutils-6.10, findutils-4.2.32.
* Added some meta attributes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10511
2008-02-06 13:18:50 +00:00
Michael Raskin
77a46300fa Added patch from Gentoo for glibc 2.6 compatibility. It just randomly renames an inner function, so glibc 2.5-safe.
svn path=/nixpkgs/trunk/; revision=9441
2007-10-11 03:41:29 +00:00
Eelco Dolstra
544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra
1e371a927e * coreutils updated to 6.9 (NIXPKGS-50).
svn path=/nixpkgs/trunk/; revision=8749
2007-05-24 13:48:47 +00:00
Armijn Hemel
7e41b751cb new versions of various very important tools to keep the buildfarm busy.
svn path=/nixpkgs/trunk/; revision=7485
2006-12-25 23:28:35 +00:00
Eelco Dolstra
f86c11815f * Use coreutils 6.4; the dietlibc patch has been merged.
svn path=/nixpkgs/trunk/; revision=6835
2006-10-24 22:49:08 +00:00
Eelco Dolstra
ce22859f8a * Bash on dietlibc.
* Pass -D_BSD_SOURCE=1 by default in the dietlibc stdenv.

svn path=/nixpkgs/trunk/; revision=6768
2006-10-18 16:16:07 +00:00
Eelco Dolstra
efc2b12da5 * A better patch.
svn path=/nixpkgs/trunk/; revision=6766
2006-10-18 15:26:48 +00:00
Eelco Dolstra
6ff020ad3a * Build coreutils on dietlibc.
svn path=/nixpkgs/trunk/; revision=6765
2006-10-18 15:16:53 +00:00
Eelco Dolstra
ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
0ec7b4988f add coreutils-6.3, not the default, wait until more stdenv packages need updating
svn path=/nixpkgs/trunk/; revision=6646
2006-10-02 21:43:27 +00:00
Armijn Hemel
f590067ee0 new autoconf, gettext and coreutils. Tested to build in work in NixOS.
svn path=/nixpkgs/trunk/; revision=5532
2006-06-28 21:35:37 +00:00
Armijn Hemel
42c5136265 new coreutils
svn path=/nixpkgs/trunk/; revision=5460
2006-06-17 11:58:14 +00:00
Armijn Hemel
f05a25f5f5 coreutils-5.94
svn path=/nixpkgs/trunk/; revision=4860
2006-02-19 13:51:40 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra
94fe7734fa * Glibc 2.3.6.
* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
2005-12-06 00:12:45 +00:00
Eelco Dolstra
454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Eelco Dolstra
1e323657e5 * Coreutils updated to 5.2.1.
svn path=/nixpkgs/trunk/; revision=1438
2004-09-18 17:07:42 +00:00
Eelco Dolstra
12ae5363ea * Remove trivial builders.
* 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
2004-03-29 17:23:01 +00:00
Eelco Dolstra
5941f66f0e * The stdenv setup script now defines a generic builder that allows
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
2004-03-19 16:53:04 +00:00
Eelco Dolstra
026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra
48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00