libdisplay-info: adequate patch phase

This commit is contained in:
PedroHLC ☭
2023-02-17 19:57:52 +01:00
committed by Sandro Jäckel
parent 958dbd6c08
commit db6118df65
@@ -25,10 +25,8 @@ stdenv.mkDerivation rec {
buildInputs = [ hwdata ];
prePatch = ''
substituteInPlace meson.build \
--replace "find_program('tool/gen-search-table.py')" "find_program('python3')" \
--replace "gen_search_table," "gen_search_table, '$src/tool/gen-search-table.py',"
postPatch = ''
patchShebangs tool/gen-search-table.py
'';
meta = with lib; {