From 9683e40bf13b972984b33e364646225713fac11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Tue, 21 Jul 2020 08:13:31 +0200 Subject: [PATCH] softmaker-office, freeoffice: change version to edition.version This makes the versioning compatible with Repology and other distributions: https://repology.org/project/freeoffice/versions --- pkgs/applications/office/softmaker/generic.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/softmaker/generic.nix b/pkgs/applications/office/softmaker/generic.nix index 82ac2b58f68..c7803fa3d1d 100644 --- a/pkgs/applications/office/softmaker/generic.nix +++ b/pkgs/applications/office/softmaker/generic.nix @@ -17,8 +17,11 @@ let inherit makeDesktopItem pname suiteName; }; shortEdition = builtins.substring 2 2 edition; -in stdenv.mkDerivation rec { - inherit pname version edition shortEdition src; +in stdenv.mkDerivation { + inherit pname src; + + version = "${edition}.${version}"; + nativeBuildInputs = [ autoPatchelfHook makeWrapper