diff options
author | PedroHLC ☭ <root@pedrohlc.com> | 2023-02-17 14:11:55 -0300 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-02-17 19:57:52 +0100 |
commit | db6118df654ee75e60b12e23da6c31ca0ffebefc (patch) | |
tree | 999a8ed1c63d2e04b911d35a3b1486d3fdcb0a1e /pkgs/development/libraries/libdisplay-info | |
parent | 958dbd6c08c7e276451704409ebc7cb0d8bc94c7 (diff) |
libdisplay-info: adequate patch phase
Diffstat (limited to 'pkgs/development/libraries/libdisplay-info')
-rw-r--r-- | pkgs/development/libraries/libdisplay-info/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libdisplay-info/default.nix b/pkgs/development/libraries/libdisplay-info/default.nix index a83aa299b0bc8..fa499a0014649 100644 --- a/pkgs/development/libraries/libdisplay-info/default.nix +++ b/pkgs/development/libraries/libdisplay-info/default.nix @@ -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; { |