diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/kconfig-frontends/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/misc/kconfig-frontends/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/kconfig-frontends/default.nix b/nixpkgs/pkgs/development/tools/misc/kconfig-frontends/default.nix index 3b355b6218a5..ae757f0d80d6 100644 --- a/nixpkgs/pkgs/development/tools/misc/kconfig-frontends/default.nix +++ b/nixpkgs/pkgs/development/tools/misc/kconfig-frontends/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }: +{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, python3, bash }: stdenv.mkDerivation rec { basename = "kconfig-frontends"; @@ -10,17 +10,15 @@ stdenv.mkDerivation rec { url = "http://ymorin.is-a-geek.org/download/${basename}/${name}.tar.xz"; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ bison flex gperf ncurses pythonPackages.python pythonPackages.wrapPython ]; + nativeBuildInputs = [ bison flex gperf pkg-config ]; + buildInputs = [ bash ncurses python3 ]; + + strictDeps = true; configureFlags = [ "--enable-frontends=conf,mconf,nconf" ]; - postInstall = '' - wrapPythonPrograms - ''; - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security"; meta = with lib; { |