Commit Graph

100 Commits

Author SHA1 Message Date
Maximilian Bosch
8bc5104a6e
treewide: refactor .attrs.sh detection
When specifying the `builder` attribute in `stdenv.mkDerivation`, this
will be effectively transformed into

    builtins.derivation {
      builder = stdenv.shell;
      args = [ "-e" builder ];
    }

This also means that `default-builder.sh` is never sourced and as a
result it's not guaranteed that `$NIX_ATTRS_SH_FILE` is set to a correct
location[1].

Also, we need to source `.attrs.sh` to source `$stdenv`. So, the
following is done now:

* If `$NIX_ATTRS_SH_FILE` points to a correct location, then use it.
  Directly using `.attrs.sh` is problematic for `nix-shell(1)` usage
  (see previous commit for more context), so prefer the environment
  variable if possible.

* Otherwise, if `.attrs.sh` exists, then use it. See [1] for when this
  can happen.

* If neither applies, it can be assumed that `__structuredAttrs` is
  turned off and thus nothing needs to be done.

[1] It's possible that it doesn't exist at all - in case of Nix 2.3 or
    it can point to a wrong location on older Nix versions with a bug in
    `__structuredAttrs`.
2023-10-04 18:36:57 +02:00
Artturin
856f3a46b2 stdenv: drop remove unnecessary env var
and the associated obsolete functions

support for log nesting was removed in 2017 6669a3b477
2023-01-15 23:56:23 +02:00
Artturin
c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00
Sergei Trofimovich
3ca9a6d773 automake111x: fix depends for strictDeps = true
Without the change `config.strictDepsByDefault = true` fails build as:

    checking for perl... no
    configure: error: perl not found
2022-06-21 22:45:25 +01:00
Artturin
f002ffed9a treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
Sandro
cb292462cf
Merge pull request #139808 from trofi/update-automake 2021-11-26 22:56:44 +01:00
Sergei Trofimovich
4072681207 automake: 1.16.3 -> 1.16.5 2021-11-17 14:12:34 +00:00
Felix Buehler
345d71ffd0 pkgs/development: rename name to pname&version 2021-11-10 14:03:21 +01:00
Sandro Jäckel
25a3842f06
automake: switch to pname + version 2021-08-12 18:16:30 +02:00
Vladimír Čunát
d7b8d5e15a
Revert "automake: 1.16.3 -> 1.16.4"
This reverts commit 46306d2971.
2021-08-11 23:15:49 +02:00
R. RyanTM
46306d2971 automake: 1.16.3 -> 1.16.4 2021-07-29 10:49:24 +02:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
R. RyanTM
db70ecb5f8 automake: 1.16.2 -> 1.16.3 2020-11-25 10:10:57 -08:00
Alyssa Ross
57f3c834bc
automake115x: 1.15 -> 1.15.1 2020-07-03 03:36:42 +00:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next 2020-04-13 18:50:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Lancelot SIX
a44ac81f46 automake: 1.16.1 -> 1.16.2 2020-04-03 22:12:02 +02:00
David Terry
cd87f1ba23 automake-1.15: deterministic documentation generation
automake 1.15 uses a bundled version of help2man from 2012 that
does not support the SOURCE_DATE_EPOCH environment variable.

This means that the build date is included in the generated
documentation, breaking reproducibility.

This changes adds the SOURCE_DATE_EPOCH support from the current
help2man to the version bundled in automake 1.15.
2019-11-03 10:55:45 +01:00
Vladimír Čunát
1279016787
Re-Revert "Merge #58997 gettext: apply patch for CVE 2018-1875"
This reverts commit 742416addb.
Moved to staging.
2019-04-05 21:03:59 +02: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
cf84bc0374 automake116x: disable tests, also cleanup 2018-08-11 09:35:18 +00:00
Jan Malakhovski
9bab07e541 automake111x: disable tests, also cleanup 2018-08-11 09:35:18 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
b43c7bd934 automake111x: fix for perl5.26 ("Unescaped left brace in regex is illegal here") (#42649) 2018-06-27 16:27:58 +02:00
Tuomas Tynkkynen
cd1cb10515 automake: 1.16 -> 1.16.1 2018-03-22 09:48:21 +02:00
Lancelot SIX
e0c155e26b
automake: 1.15.1 -> 1.16
See http://lists.gnu.org/archive/html/info-gnu/2018-02/msg00008.html
for release announcement and changes.
2018-02-26 09:42:57 +01:00
Ben Gamari
2893657014 automake: Enable cross-compilation 2018-01-22 20:25:44 -05:00
John Ericson
046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Frederik Rietdijk
2a8cd14d5f Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-13 09:50:47 +02:00
Robin Gloster
1e2529498d
automake113x: remove 2017-08-12 21:49:11 +02:00
Robin Gloster
bfdd9d2e66
automake114x: remove 2017-08-12 20:21:39 +02:00
Robin Gloster
220c5377e8
automake112x: remove
unused
2017-08-12 19:12:09 +02:00
Robin Gloster
60730cb043
automake: 1.15 -> 1.15.1 2017-08-12 18:23:26 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Robin Gloster
423e67b299 automake110x: remove unused package 2016-08-24 21:07:59 +00: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
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
William A. Kennington III
5872185250 automake: Bump to 1.15 2015-04-07 13:32: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
Fedor Pakhomov
0738edc1fd added ddccontrol package 2015-02-20 00:49:31 +03:00
Ludovic Courtès
41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Vladimír Čunát
52404a868d Merge recent master into staging
Nixpkgs Hydra: ?compare=1157272

TODO: port e22889064f

Conflicts:
	nixos/tests/gnome3_10.nix (auto-solved)
	pkgs/applications/video/aegisub/default.nix
	pkgs/development/libraries/boost/1.55.nix
2014-11-05 15:00:44 +01:00
Evgeny Egorochkin
3580f6dab5 automake: add meta.branch 2014-11-03 12:58:08 +02:00
Eelco Dolstra
e3f7dbbac8 Cleanup: Use += to append to envHooks 2014-08-09 12:47:05 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Vladimír Čunát
65155c20d5 automake: update from 1.12.4 to 1.12.6 2014-03-21 10:34:20 +01:00
Vladimír Čunát
5888f27c56 automake-1.10: remove, probably vulnerable CVE-2012-3386
The only user was xorg ATM, which I would remove from anyway.
2014-01-30 13:49:22 +01:00
Nixpkgs Monitor
88953a5799 automake114x: update from 1.14 to 1.14.1 2014-01-13 17:05:44 +01:00
Shea Levy
7ab7be0cc3 Add automake 1.14
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-11-23 21:18:37 -05: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