Merge pull request #216827 from PedroHLC/libdisplay-info-patch-fix

This commit is contained in:
Sandro 2023-02-17 23:24:46 +01:00 committed by GitHub
commit d79f5d4516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {