kconfig-frontends: patch+wrap python shebang to fix kconfig-diff
This commit is contained in:
parent
320a587b7e
commit
3c42848ec7
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, bison, flex, gperf, ncurses }:
|
{ stdenv, fetchurl, pkgconfig, bison, flex, gperf, ncurses, pythonPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
basename = "kconfig-frontends";
|
basename = "kconfig-frontends";
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ bison flex gperf ncurses ];
|
buildInputs = [ bison flex gperf ncurses pythonPackages.python pythonPackages.wrapPython ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-frontends=conf,mconf,nconf"
|
"--enable-frontends=conf,mconf,nconf"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapPythonPrograms
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Out of Linux tree packaging of the kconfig infrastructure";
|
description = "Out of Linux tree packaging of the kconfig infrastructure";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue