Sergei Trofimovich
6c74a8a08f
flex: use fetchuril instead of fetchpatch to avoid extra depends
...
Weekly `gcc` snapshots don't come with pre-generated `flex` lexers
and thus require `flex` dependency. Attempt to use them as is fails as:
error: anonymous function at pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'meta'
at pkgs/build-support/fetchpatch/default.nix:18:1:
17| in
18| fetchurl ({
| ^
19| postFetch = ''
(use '--show-trace' to show detailed location information)
This happens due to a circulare dependency between fetchpatch dependencies
and flex.
The change uses simpler `fetchurl` to ease use of `flex` in `gcc`.
This allows me to use existing `gcc` `.nix` files for weekly `gcc`
snapshots by only adding extra `flex` dependency.
2021-12-03 07:56:28 +00:00
Sebastián Mancilla
8f94a33b38
treewide: ensure pre/post phase hooks are strings
...
Some derivations use lib.optional or lib.optionals when setting pre/post
phase hooks. Ensure the proper lib.optionalString is used.
2021-08-20 19:08:42 -04:00
Andrew Childs
9ad03b1ed9
flex: fix cross compilation
2021-05-17 00:27:00 +09:00
Ben Siraphob
c522fec274
pkgs/development/tools: stdenv.lib -> lib
2021-01-23 20:30:03 +07:00
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
2019-08-15 13:41:18 +01:00
Vladimír Čunát
14aa936ec5
Merge branch 'staging-next' into staging
2018-08-17 20:53:27 +02:00
Vladimír Čunát
cbabebcc2e
Merge branch 'master' into staging-next
...
Hydra: ?compare=1473892
2018-08-17 13:45:21 +02:00
Markus Kowalewski
f9a1aef084
flex: add license
2018-08-16 21:51:07 +02:00
Jan Malakhovski
d3b15144a7
flex, flex_2_6_1: fix tests
2018-08-11 09:35:22 +00:00
John Ericson
25348b27c5
flex: Clean up to use less bash
2018-08-02 15:12:45 -04:00
Will Dietz
cafe25224f
flex: review feedback
...
* top-level attributes, not crossAttrs
* use depsBuildBuild
2018-01-22 18:44:42 -06:00
Will Dietz
67be78f129
flex: patch around attempt to regen manpage, fix cross
2018-01-22 16:51:31 -06:00
Ben Gamari
715fcb4266
flex: Don't disable static while cross-compiling flex
...
linux-pam appears to rely on this while cross-compiling.
(cherry picked from commit 4009dd163ac30cd25833bf7eb19b5e26e75c474f)
2018-01-22 16:51:30 -06:00
Ben Gamari
e6f9e82ee4
flex: Use native dependencies where applicable
...
Flex needs both a C compiler for the build environment, as well as a native m4.
(cherry picked from commit 81827c0084c1a69e41894a4d38b0c0b267eaff34)
2018-01-22 16:51:30 -06:00
Vladimír Čunát
3562c2cfa7
flex: add notes about the glibc-2.26 patch
2017-11-06 19:25:14 +01:00
Vladimír Čunát
6535f0bca6
flex: fix with glibc-2.26
...
It caused segfaults, e.g. when building doxygen.
2017-11-06 19:20:21 +01:00
John Ericson
252b36a28d
misc pkgs: Recategorize some dependencies
2017-09-05 11:37:10 -04:00
Franz Pletz
5e08c4a2cd
flex: 2.6.3 -> 2.6.4
2017-07-29 19:51:15 +02:00
Vladimír Čunát
6bded45883
flex: 2.6.1 -> 2.6.3
...
This resolves some warnings and errors introduced in 2.6.x.
2016-12-30 23:17:08 +01:00
Graham Christensen
feec685636
flex: 2.6.0 -> 2.6.1
2016-09-23 21:42:08 -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
Adam Boseley
e3068d7309
flex: disable tests when cross compiling
...
When cross compiling we can't run the test executables
on the build machine
2015-12-23 21:05:32 +10:00
William A. Kennington III
22bf2d0bf3
flex: 2.5.39 -> 2.6.0
2015-11-18 17:50:27 -08:00
Peter Simons
f741be954c
Offer consistently named attributes for the two available flex versions.
2014-04-11 10:06:18 +02:00
Peter Simons
44e8fe67d0
flex: update from 2.5.35 to 2.5.39
2014-04-09 12:41:10 +02:00
Eelco Dolstra
320498d529
flex: Clean up expression
2014-01-07 14:24:59 +01:00
Peter Simons
6451264e63
Drop obsolete versions of flex: we only used the latest one, 2.5.35.
2013-09-09 10:39:56 +02:00
Eelco Dolstra
85230c348a
* Some Bison/Flex refactoring.
...
* Added Bison 2.3.
svn path=/nixpkgs/trunk/; revision=6635
2006-10-02 15:14:17 +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
cf09d1933d
* Revert.
...
svn path=/nixpkgs/trunk/; revision=3266
2005-06-30 16:03:44 +00:00
Armijn Hemel
2bc1da9c9c
link $out/bin/lex to $out/bin/flex and $out/lib/libl.a to $out/lib/libfl.a.
...
This is needed to make iputils build.
svn path=/nixpkgs/trunk/; revision=3264
2005-06-30 15:16:53 +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
Rob Vermaas
d76ffdca83
* flex has moved
...
svn path=/nixpkgs/trunk/; revision=1233
2004-08-05 15:55:32 +00:00
Eelco Dolstra
8e4d58631e
* Fixed flex-new.
...
svn path=/nixpkgs/trunk/; revision=893
2004-04-01 14:24:30 +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
2fcc5fdb08
* "!isNull x" -> "x != null". Done automatically. Hope nothing
...
broke.
svn path=/nixpkgs/trunk/; revision=870
2004-03-29 10:25:25 +00:00
Eelco Dolstra
026ff9466a
* Rename .fix -> .nix.
...
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00