qt-6: fix meta.position

This commit is contained in:
Sandro Jäckel 2024-03-02 18:35:16 +01:00
parent ed4db9c6c7
commit 5df10e9029
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

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 { });
})
}