summary refs log tree commit diff
path: root/pkgs/tools/misc/bc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-19 16:05:33 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-19 16:05:33 -0600
commit5767ea8955809e11fd28af774c54bef8d86b737f (patch)
tree14ade0bdfe23c549fc3bc28970b81dd62041f73f /pkgs/tools/misc/bc
parente343a85cfb67ebaabd507359128c908254ee329a (diff)
downloadnixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.tar
nixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.tar.gz
nixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.tar.bz2
nixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.tar.lz
nixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.tar.xz
nixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.tar.zst
nixpkgs-5767ea8955809e11fd28af774c54bef8d86b737f.zip
bc: flex is also a runtime dep
This is one of the rare times when flex is not just needed at build
time. When cross compiling, we will need 2 versions of flex - one for
the local system and one for the cross system.
Diffstat (limited to 'pkgs/tools/misc/bc')
-rw-r--r--pkgs/tools/misc/bc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/bc/default.nix b/pkgs/tools/misc/bc/default.nix
index ea8cefd14d3..922d34e2d36 100644
--- a/pkgs/tools/misc/bc/default.nix
+++ b/pkgs/tools/misc/bc/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     # Libraries for build
     buildPackages.readline buildPackages.ncurses
   ];
-  buildInputs = [ readline ];
+  buildInputs = [ readline flex ];
 
   doCheck = true; # not cross