kconfig-frontends: patch+wrap python shebang to fix kconfig-diff

This commit is contained in:
Will Dietz 2018-09-07 19:31:33 -05:00
parent 320a587b7e
commit 3c42848ec7

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, bison, flex, gperf, ncurses }:
{ stdenv, fetchurl, pkgconfig, bison, flex, gperf, ncurses, pythonPackages }:
stdenv.mkDerivation rec {
basename = "kconfig-frontends";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ bison flex gperf ncurses ];
buildInputs = [ bison flex gperf ncurses pythonPackages.python pythonPackages.wrapPython ];
hardeningDisable = [ "format" ];
@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
"--enable-frontends=conf,mconf,nconf"
];
postInstall = ''
wrapPythonPrograms
'';
meta = with stdenv.lib; {
description = "Out of Linux tree packaging of the kconfig infrastructure";
longDescription = ''