Commit Graph

52 Commits

Author SHA1 Message Date
Stefan Frijters
4869f0e3d6 autoconf: enable structuredAttrs, use finalAttrs 2026-08-02 22:59:54 +02:00
Sergei Trofimovich
607db486b1 autoconf: 2.72 -> 2.73
Changes: https://mail.gnu.org/archive/html/autotools-announce/2026-03/msg00000.html
2026-03-28 21:42:26 +00:00
Ben Siraphob
9beafa4d27 Revert "stdenv: add uutils-coreutils stdenv" 2025-05-14 15:32:32 -04:00
Sandro Jäckel
ba74a62a7c autoconf: patch to work with uutils-coreutils 2025-05-14 18:07:45 +02:00
Silvan Mosberger
4f0dadbf38 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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Sergei Trofimovich
62abc91b9f autoconf: 2.71 -> 2.72
Changes: https://lists.gnu.org/archive/html/info-gnu/2023-12/msg00002.html
2024-01-13 21:35:09 +00:00
Artturin
f002ffed9a treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
Dmitry Bogatov
d954878d80 autoconf: build offline html documentation (#172103)
* autoconf: build offline html documentation

* Update pkgs/development/tools/misc/autoconf/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

* Update pkgs/development/tools/misc/autoconf/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Co-authored-by: Dmitry Bogatov <git#v1@kaction.cc>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-05-09 15:13:21 +02:00
Sergei Trofimovich
70f8d78dcc autoconf: pull upstream fix for autoreconf race
Before this change `xfce.garcon` did not always compile successfully:

    $ c=1; while nix build --rebuild -f. xfce.garcon --cores 1; do (( c+=1 )); echo again with $c; done
    ...
    again with 4
    garcon-gtk/Makefile.am: installing './depcomp'
    .../am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
    .../am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'

This happens due to an autoconf bug when m4 is called within 1 second:
    Upstream report and fix: https://savannah.gnu.org/support/index.php?110521

The change allows `xfce.garcon` to rebuild 60 times in a row without failures.
2021-11-09 18:02:06 +00:00
Felix Bühler
547cd904d6 autoconf: use pname & version instead of name (#127059)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-17 01:17:31 +02:00
Andreas Rammhold
b9cc20e0fd autoconf: use autoconf 2.71 by default 2021-01-31 12:10:18 +01:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Alyssa Ross
3f42dfe7d9 autoconf: 2.69 -> 2.70 2020-12-17 12:52:51 +00:00
Matthew Bauer
d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Ben Gamari
d625f181bd autoconf: Enable cross-compilation 2018-02-13 09:44:28 -06: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
Ludovic Courtès
41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Peter Simons
2d326e5032 Merge remote-tracking branch 'origin/master' into staging.
Conflicts:
	pkgs/desktops/e18/enlightenment.nix
2014-08-04 16:51:47 +02:00
Eelco Dolstra
8a10d8bbc3 autoconf: Disable tests
These take waaaay too long.
2014-07-29 17:03:48 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Bjørn Forsman
28ac782583 Some description fixes
There are many more packages to fix, this is just a start.

Rules:
 * Don't repeat the package name (not always that easy...)
 * Start with capital letter
 * Don't end with full stop
 * Don't start with "The ..." or "A ..."

I've also added descriptions to some packages and rewritten others.
2013-10-05 19:36:23 +02:00
Ludovic Courtès
c04a322018 autoconf: update to 2.69 2012-07-07 11:27:29 +02:00
Eelco Dolstra
5abed12234 * i386-sunos -> i686-solaris.
svn path=/nixpkgs/trunk/; revision=30507
2011-11-21 14:11:04 +00:00
Ludovic Courtès
e314e1f2de GNU Autoconf: Disable tests on Solaris.
svn path=/nixpkgs/trunk/; revision=25671
2011-01-22 22:20:52 +00:00
Ludovic Courtès
d6c74382d9 GNU Autoconf 2.68.
svn path=/nixpkgs/trunk/; revision=24104
2010-10-05 22:08:58 +00:00
Ludovic Courtès
c8b7ed425b GNU Autoconf 2.67.
svn path=/nixpkgs/trunk/; revision=23260
2010-08-19 16:58:08 +00:00
Rob Vermaas
78ba3b5d01 autoconf: use stdenv.system in stead of builtins.currentSystem for doCheck
svn path=/nixpkgs/trunk/; revision=22506
2010-07-07 11:42:04 +00:00
Rob Vermaas
e230d213fa Reverted autoconf to 2.65 because it has some regressions regarding AC_CHECK_SIZEOF.
This break almost all stratego based packages. No final patch available, see 
http://lists.gnu.org/archive/html/autoconf/2010-07/msg00004.html for more info.


svn path=/nixpkgs/trunk/; revision=22504
2010-07-07 09:59:33 +00:00
Ludovic Courtès
9df792c440 GNU Autoconf 2.66.
svn path=/nixpkgs/trunk/; revision=22459
2010-07-04 21:10:44 +00:00
Ludovic Courtès
0d041d909b GNU Autoconf 2.65.
svn path=/nixpkgs/trunk/; revision=18511
2009-11-21 23:18:23 +00:00
Ludovic Courtès
7dd05fc776 Autoconf: Don't run the test suite on Cygwin.
svn path=/nixpkgs/trunk/; revision=16521
2009-07-30 15:26:30 +00:00
Ludovic Courtès
4456c7496a Autoconf: Patch sloppy test case.
svn path=/nixpkgs/trunk/; revision=16511
2009-07-29 19:39:15 +00:00
Ludovic Courtès
8f6228ee5b Autoconf: Disable the test suite on {Cyg,Dar}win.
svn path=/nixpkgs/trunk/; revision=16499
2009-07-29 08:38:26 +00:00
Ludovic Courtès
60027c8198 GNU Autoconf 2.64.
svn path=/nixpkgs/trunk/; revision=16494
2009-07-28 19:43:40 +00:00
Ludovic Courtès
a8876e7130 GNU Autoconf 2.63.
svn path=/nixpkgs/trunk/; revision=12840
2008-09-11 12:45:20 +00:00
Eelco Dolstra
b35469a42e * Nitpick.
svn path=/nixpkgs/trunk/; revision=12747
2008-08-27 15:21:10 +00:00
Eelco Dolstra
0846ca2e5b * Don't fixup "#! /bin/sh" in Autoconf/Automake/Libtool, otherwise they
will use the "fixed" path in generated files.

svn path=/nixpkgs/trunk/; revision=12485
2008-08-04 14:37:51 +00:00
Ludovic Courtès
117865a28f Switch to GNU Autoconf 2.62.
svn path=/nixpkgs/trunk/; revision=12230
2008-07-01 08:31:48 +00:00
Martin Bravenboer
163ce4533e updated autoconf to 2.61
svn path=/nixpkgs/trunk/; revision=8013
2007-02-22 14:16:19 +00:00
Eelco Dolstra
d97fa85adf * Some VLC-related updates.
* Variability :-)  Provide both Autoconf 2.59 and 2.60 (the former
  being the default for now).

svn path=/nixpkgs/trunk/; revision=5539
2006-06-29 12:41:25 +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
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
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Eelco Dolstra
fc2318ca63 * Autoconf updated to 2.59.
svn path=/nixpkgs/trunk/; revision=2350
2005-03-09 17:37:37 +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
817d1b27ef * Provide a wrapper around `aclocal' (in Automake) that automatically
adds all directories specified in `ACLOCAL_PATH' to the `aclocal'
  command line as `-I' flags.  Also, it provides a setup hook that
  adds the `.../share/aclocal' directory of every build input to
  `ACLOCAL_PATH'.

* Upgraded Libtool.

* Graphviz requires the X Athena widgets, which in turn requires the X
  miscellaneous utilities library; added those.  However it doesn't
  work yet since libXt is broken.
  

svn path=/nixpkgs/trunk/; revision=888
2004-03-31 22:47:06 +00:00