misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs

Only acts on one-line dependency lists.
This commit is contained in:
John Ericson
2017-09-21 15:49:53 -04:00
parent fd9c7eb2e8
commit 531e4b80c9
932 changed files with 2320 additions and 1149 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ stdenv.mkDerivation rec {
url = "https://github.com/chocolate-doom/chocolate-doom/archive/${name}.tar.gz";
sha256 = "0i57smxmbhxj0wgvxq845ba9zsn5nx5wmzkl71rdchyd4q5jmida";
};
buildInputs = [ autoreconfHook pkgconfig SDL SDL_mixer SDL_net ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ SDL SDL_mixer SDL_net ];
patchPhase = ''
sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
'';