kf57: add meta.branch to fix monitor
This commit is contained in:
parent
699508227f
commit
fe8072ee7f
@ -19,6 +19,7 @@ with stdenv.lib; with autonix;
|
|||||||
let
|
let
|
||||||
|
|
||||||
mkDerivation = drv:
|
mkDerivation = drv:
|
||||||
|
let inherit (parseDrvName drv.version) version; in
|
||||||
stdenv.mkDerivation
|
stdenv.mkDerivation
|
||||||
(drv // {
|
(drv // {
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
@ -40,6 +41,8 @@ let
|
|||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
||||||
homepage = "http://www.kde.org";
|
homepage = "http://www.kde.org";
|
||||||
|
inherit version;
|
||||||
|
branch = intersperse "." (take 2 (splitString "." version));
|
||||||
} // (drv.meta or {});
|
} // (drv.meta or {});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -108,11 +111,15 @@ let
|
|||||||
[
|
[
|
||||||
./extra-cmake-modules/0001-extra-cmake-modules-paths.patch
|
./extra-cmake-modules/0001-extra-cmake-modules-paths.patch
|
||||||
];
|
];
|
||||||
meta = {
|
meta =
|
||||||
|
let inherit (parseDrvName super.extra-cmake-modules.name) version; in
|
||||||
|
{
|
||||||
license = with stdenv.lib.licenses; [ bsd2 ];
|
license = with stdenv.lib.licenses; [ bsd2 ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
||||||
homepage = "http://www.kde.org";
|
homepage = "http://www.kde.org";
|
||||||
|
inherit version;
|
||||||
|
branch = intersperse "." (take 2 (splitString "." version));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user