Merge pull request #292833 from SuperSandro2000/qt6-meta-position

qt-6: fix meta.position
This commit is contained in:
Atemu 2024-03-03 03:47:47 +00:00 committed by GitHub
commit 268690ff59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,12 +31,15 @@ stdenv.mkDerivation (args // {
outputs = args.outputs or [ "out" "dev" ];
dontWrapQtApps = args.dontWrapQtApps or true;
meta = with lib; {
}) // {
meta = with lib; let
pos = builtins.unsafeGetAttrPos "pname" args;
in {
homepage = "https://www.qt.io/";
description = "A cross-platform application framework for C++";
license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
maintainers = with maintainers; [ milahu nickcao ];
platforms = platforms.unix;
position = "${pos.file}:${toString pos.line}";
} // (args.meta or { });
})
}