mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
maia-icon-theme: fix build with cmake4 (#454529)
This commit is contained in:
commit
1e4f3334a3
1 changed files with 7 additions and 0 deletions
|
|
@ -39,6 +39,13 @@ stdenv.mkDerivation {
|
|||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
|
||||
substituteInPlace {icons,icons-dark}/CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache $theme
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue