Commit Graph

85 Commits

Author SHA1 Message Date
Stefan Frijters
e86ec915a5 autoconf269: use sri hash 2026-08-11 23:35:13 +02:00
Stefan Frijters
4645c07687 autoconf269: enable strictDeps 2026-08-11 23:35:06 +02:00
Stefan Frijters
4869f0e3d6 autoconf: enable structuredAttrs, use finalAttrs 2026-08-02 22:59:54 +02:00
Stefan Frijters
aa9c93970f autoconf269: enable structuredAttrs, use finalAttrs 2026-08-02 22:59:53 +02:00
Martin Weinelt
217fc8afdc autoconf: 2.72 -> 2.73 (#504506) 2026-04-06 17:07:31 +00:00
Sergei Trofimovich
20c50d1e8a autoconf271, autoreconfHook271: drop unused
`autoconf` (`2.72` version) and `autoreconfHook` using (`autoconf-2.72`)
have no major compatibility problems with `2.71`. Let's drop now unused
`2.71` version.
2026-03-29 22:29:48 +01: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
Weijia Wang
62136fcdeb autoconf264: drop 2025-07-21 17:54:24 +02:00
Weijia Wang
ada36c8217 autoconf213: drop 2025-07-21 17:53:54 +02: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
Sergei Trofimovich
63973dee0a autoconf271, autoreconfHook271: hold back a version
Some package will require significant rework to support autoconf-2.72.
Example are `firebird` and `python3Packages.awslambdaric`. Let's leave
them on previous version until it's sorted upstream.
2024-01-13 21:35:09 +00:00
Sergei Trofimovich
9b42f641b8 autoconf264: fix depends for strictDeps = true
Without the change `config.strictDepsByDefault = true` fails build as:

    checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.
2022-06-21 21:31:34 +01: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
42091a7b8b autoconf213: move 'm4' and 'perl' to nativeBuildInputs (strictDeps = true)
Without the change `strictDeps = true` build fails as:

    $ nix build --impure --expr 'with import ./. {}; autoconf213.overrideAttrs (oa: { strictDeps = true;})'
    Error: Autoconf requires GNU m4 1.1 or later
2022-05-07 07:10:05 +01:00
c0bw3b
f50fac7935 autoconf213: remove xz from inputs
It's a remnant of old times when `lzma` was used to unpack the sources.
But it's unused now.
2022-02-11 11:35:21 +01:00
Luo Chen
584a8b3514 autoconf213: fix nativeBuildInputs
Typo: nativebuildInputs -> nativeBuildInputs
 (#156656)
2022-02-10 19:04:20 +01:00
Vladimír Čunát
add40e9d32 Merge #144998: autoconf: pull upstream fix (into staging) 2021-11-15 20:33:13 +01:00
Sandro
22a4fcfd4e Merge pull request #145239 from Stunkymonkey/development-pname-version-1 2021-11-13 23:59:13 +01:00
Felix Buehler
388a3a14d8 autoconf: rename name to pname&version 2021-11-10 14:05:09 +01:00
Felix Buehler
66e4f4b3ee pkgs/development: followup fmt 2021-11-10 14:03:48 +01:00
Felix Buehler
345d71ffd0 pkgs/development: rename name to pname&version 2021-11-10 14:03:21 +01: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
Vladimír Čunát
82bccc2d62 Merge branch 'nixpkgs-unstable' into PR #111431
I'm not really sure about the conflicts in:
	pkgs/development/python-modules/psutil/default.nix

Hydra nixpkgs: ?compare=1666054
2021-04-28 17:13:34 +02:00
Sandro Jäckel
3453b89f4b lzma: deprecate alias 2021-04-04 19:49:52 +02:00
Andreas Rammhold
b9cc20e0fd autoconf: use autoconf 2.71 by default 2021-01-31 12:10:18 +01:00
Andreas Rammhold
10efa49863 autoconf271: init at 2.71
This is a newer version of autoconf that fixes a bunch of issues that occured
since the last autoconf release and they also fixed one issue with clang that I
ran into while trying out Nix on aarch64-darwin [1].

[1] http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=de36ccf6637974f4faba3747813d38ee46e77d69
2021-01-31 12:10:17 +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
Alyssa Ross
c434c60b39 autoconf270: init at 2.70
Fixes: https://github.com/NixOS/nixpkgs/pull/106642
 ("autoconf: 2.69 -> 2.70")
2020-12-17 12:52:44 +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
John Ericson
252b36a28d misc pkgs: Recategorize some dependencies 2017-09-05 11:37:10 -04:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Emery Hemingway
ae59f6426a autoconf: peg version 2.64 2016-04-27 11:51:20 +02: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
Vladimír Čunát
89354b4b1a autoconf-2.13: add versioned executable
Needed by mozilla hg builds.
2014-10-25 21:40:23 +02: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
Evgeny Egorochkin
c67f562d5e add branch info 2014-02-18 04:13:45 +02:00