mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
flex: 2.6.1 -> 2.6.3
This resolves some warnings and errors introduced in 2.6.x.
This commit is contained in:
parent
ee3fb421b8
commit
6bded45883
2 changed files with 4 additions and 7 deletions
|
@ -1,11 +1,12 @@
|
|||
{ stdenv, fetchurl, bison, m4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "flex-2.6.1";
|
||||
name = "flex-${version}";
|
||||
version = "2.6.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/westes/flex/releases/download/v2.6.1/flex-2.6.1.tar.gz";
|
||||
sha256 = "0fy14c35yz2m1n1m4f02by3501fn0cca37zn7jp8lpp4b3kgjhrw";
|
||||
url = "https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz";
|
||||
sha256 = "1an2cn2z85mkpgqcinh1fhhcd7993qm2lil1yxic8iz76ci79ck8";
|
||||
};
|
||||
|
||||
buildInputs = [ bison ];
|
||||
|
|
|
@ -13,10 +13,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ flex ];
|
||||
|
||||
# Temporary work-around for problems after flex security update:
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835542
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=("PREFIX=$out")
|
||||
makeFlagsArray+=("DESTDIR=$out")
|
||||
|
|
Loading…
Reference in a new issue