Merge pull request #292833 from SuperSandro2000/qt6-meta-position
qt-6: fix meta.position
This commit is contained in:
commit
268690ff59
1 changed files with 6 additions and 3 deletions
|
@ -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 { });
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue