misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0a0x8rgqif4kxy7hj70hck7jma6c8jy4428ybl8fz9qxgxh014ml";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXinerama libXrandr libXft yacc pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
|
||||
|
||||
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user