[Nix-dev] [PATCH] Add flex to sloccount to fix build.
David Brown
nix at davidb.org
Tue Jun 1 04:38:30 CEST 2010
Tool requires flex to build.
---
pkgs/development/tools/misc/sloccount/default.nix | 4 ++--
pkgs/top-level/all-packages.nix | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/development/tools/misc/sloccount/default.nix b/pkgs/development/tools/misc/sloccount/default.nix
index b25313f..42af330 100644
--- a/pkgs/development/tools/misc/sloccount/default.nix
+++ b/pkgs/development/tools/misc/sloccount/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, perl }:
+{ fetchurl, stdenv, perl, flex }:
stdenv.mkDerivation rec {
name = "sloccount-2.26";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0ayiwfjdh1946asah861ah9269s5xkc8p5fv1wnxs9znyaxs4zzs";
};
- buildInputs = [ perl ];
+ buildInputs = [ perl flex ];
patchPhase = ''
for file in *
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index bb1fe34..35d9577 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3389,7 +3389,7 @@ let
};
sloccount = import ../development/tools/misc/sloccount {
- inherit fetchurl stdenv perl;
+ inherit fetchurl stdenv perl flex;
};
sparse = import ../development/tools/analysis/sparse {
--
1.7.1
More information about the nix-dev
mailing list