From a53c263a2c1dbdfe7e2c648e29c2b8ad41623f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 16 Jan 2025 10:03:09 +0100 Subject: [PATCH] qt6.qtdeclarative: nixfmt after 78e340633e27 --- .../qt-6/modules/qtdeclarative/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix b/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix index 00e56ee6eeb8..e45fce589365 100644 --- a/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix +++ b/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix @@ -32,14 +32,16 @@ qtModule { ./use-versioned-import-path.patch ]; - preConfigure = let - storePrefixLen = builtins.toString ((builtins.stringLength builtins.storeDir) + 1); - in '' - # "NIX:" is reserved for saved qmlc files in patch 0001, "QTDHASH:" takes the place - # of the old tag, which is otherwise the qt version, invalidating caches from other - # qtdeclarative store paths. - echo "QTDHASH:''${out:${storePrefixLen}:32}" > .tag - ''; + preConfigure = + let + storePrefixLen = builtins.toString ((builtins.stringLength builtins.storeDir) + 1); + in + '' + # "NIX:" is reserved for saved qmlc files in patch 0001, "QTDHASH:" takes the place + # of the old tag, which is otherwise the qt version, invalidating caches from other + # qtdeclarative store paths. + echo "QTDHASH:''${out:${storePrefixLen}:32}" > .tag + ''; cmakeFlags = [ @@ -52,5 +54,8 @@ qtModule { "-DQt6QmlTools_DIR=${pkgsBuildBuild.qt6.qtdeclarative}/lib/cmake/Qt6QmlTools" ]; - meta.maintainers = with lib.maintainers; [ nickcao outfoxxed ]; + meta.maintainers = with lib.maintainers; [ + nickcao + outfoxxed + ]; }