qt-6: fix meta.position
This commit is contained in:
parent
ed4db9c6c7
commit
5df10e9029
1 changed files with 6 additions and 3 deletions
|
@ -31,12 +31,15 @@ stdenv.mkDerivation (args // {
|
||||||
outputs = args.outputs or [ "out" "dev" ];
|
outputs = args.outputs or [ "out" "dev" ];
|
||||||
|
|
||||||
dontWrapQtApps = args.dontWrapQtApps or true;
|
dontWrapQtApps = args.dontWrapQtApps or true;
|
||||||
|
}) // {
|
||||||
meta = with lib; {
|
meta = with lib; let
|
||||||
|
pos = builtins.unsafeGetAttrPos "pname" args;
|
||||||
|
in {
|
||||||
homepage = "https://www.qt.io/";
|
homepage = "https://www.qt.io/";
|
||||||
description = "A cross-platform application framework for C++";
|
description = "A cross-platform application framework for C++";
|
||||||
license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
|
license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
|
||||||
maintainers = with maintainers; [ milahu nickcao ];
|
maintainers = with maintainers; [ milahu nickcao ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
position = "${pos.file}:${toString pos.line}";
|
||||||
} // (args.meta or { });
|
} // (args.meta or { });
|
||||||
})
|
}
|
||||||
|
|
Loading…
Reference in a new issue