Dr Perceptron
946f5dd980
flex: backwards-compatible executable alias `lex`
2 years ago
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.
3 years ago
Sandro Jäckel
792680167b
flex: delete unreferenced file
3 years ago
Felix Buehler
345d71ffd0
pkgs/development: rename name to pname&version
3 years ago
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.
3 years ago
Andrew Childs
9ad03b1ed9
flex: fix cross compilation
3 years ago
Ben Siraphob
c522fec274
pkgs/development/tools: stdenv.lib -> lib
3 years ago
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
4 years ago
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
4 years ago
volth
08f68313a4
treewide: remove redundant rec
5 years ago
volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
5 years ago
Markus Kowalewski
f9a1aef084
flex: add license
6 years ago
Jan Malakhovski
65b4ff488b
flex_2_5_35: make tests run, but disable
6 years ago
Jan Malakhovski
d3b15144a7
flex, flex_2_6_1: fix tests
6 years ago
John Ericson
25348b27c5
flex: Clean up to use less bash
6 years ago
John Ericson
1833a04aed
flex: Don't use crossAttrs
6 years ago
Will Dietz
cafe25224f
flex: review feedback
...
* top-level attributes, not crossAttrs
* use depsBuildBuild
7 years ago
Will Dietz
67be78f129
flex: patch around attempt to regen manpage, fix cross
7 years ago
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)
7 years ago
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)
7 years ago
Vladimír Čunát
3562c2cfa7
flex: add notes about the glibc-2.26 patch
7 years ago
Vladimír Čunát
6535f0bca6
flex: fix with glibc-2.26
...
It caused segfaults, e.g. when building doxygen.
7 years ago
John Ericson
252b36a28d
misc pkgs: Recategorize some dependencies
7 years ago
Vladimír Čunát
25c762f2bc
flex-2.5.35: switch source URL
7 years ago
Franz Pletz
5e08c4a2cd
flex: 2.6.3 -> 2.6.4
7 years ago
volth
d50437ba3e
flex_2_5_35: fix 404
7 years ago
Vladimír Čunát
cf1d3677d3
flex: bring back 2.6.1 as an option
...
Some breakages after flex update aren't so easy to fix,
and I can't really afford to spend much time on it ATM.
8 years ago
Vladimír Čunát
6bded45883
flex: 2.6.1 -> 2.6.3
...
This resolves some warnings and errors introduced in 2.6.x.
8 years ago
Graham Christensen
feec685636
flex: 2.6.0 -> 2.6.1
8 years ago
Tuomas Tynkkynen
21f17d69f6
treewide: Add lots of meta.platforms
...
Build-tested on x86_64 Linux & Mac.
8 years ago
Adam Boseley
e3068d7309
flex: disable tests when cross compiling
...
When cross compiling we can't run the test executables
on the build machine
9 years ago
William A. Kennington III
22bf2d0bf3
flex: 2.5.39 -> 2.6.0
9 years ago
Rok Garbas
9e99a66c24
cygwin: make flex building on cygwin
9 years ago
Evgeny Egorochkin
08cb717c98
add meta.branch
10 years ago
John Wiegley
bc08fa99f1
Fix flex for building on darwin systems
10 years ago
Peter Simons
f741be954c
Offer consistently named attributes for the two available flex versions.
10 years ago
Aristid Breitkreuz
5d12cbf1c2
add back old version of flex for grub2
10 years ago
Peter Simons
44e8fe67d0
flex: update from 2.5.35 to 2.5.39
10 years ago
Eelco Dolstra
320498d529
flex: Clean up expression
11 years ago
Peter Simons
6451264e63
Drop obsolete versions of flex: we only used the latest one, 2.5.35.
11 years ago
Eelco Dolstra
ab3eeabfed
Rename buildNativeInputs -> nativeBuildInputs
...
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
12 years ago
Michael Raskin
ca92853163
Make cross-buildable
...
svn path=/nixpkgs/trunk/; revision=30238
13 years ago
Michael Raskin
78070477bf
Given that this version is the dependency of OpenSSH, fix cross-build.
...
svn path=/nixpkgs/trunk/; revision=30226
13 years ago
Marc Weber
f3e7f0fdf0
reverting my patch series adding -j -l support for make
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=22336
14 years ago
Marc Weber
2dafd54743
opt-out some failing phases
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=22285
14 years ago
Michael Raskin
a3ea4c135b
Newer flex.
...
svn path=/nixpkgs/trunk/; revision=11213
17 years ago
Ludovic Courtès
3e7da32582
Flex 2.5.34.
...
svn path=/nixpkgs/trunk/; revision=10713
17 years ago
Yury G. Kudryashov
a7703662a4
Merged with trunk
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=10145
17 years ago
Michael Raskin
4290be9a99
Various fixes to lessen reliance on nix.cs.uu.nl for tarballs; version bumps for unavailabel tarballs; ATI driver builds now
...
svn path=/nixpkgs/trunk/; revision=9952
17 years ago
Eelco Dolstra
607b0d3e80
* Rewrite all the SourceForge URLs to mirror://sourceforge/.
...
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/ ^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done
svn path=/nixpkgs/trunk/; revision=9198
17 years ago