Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 7, 2024
2 parents 127a31c + b463726 commit b3a0f2d
Show file tree
Hide file tree
Showing 36 changed files with 600 additions and 448 deletions.
10 changes: 5 additions & 5 deletions ci/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt
/nixos/tests/postgresql.nix @NixOS/postgres

# Hardened profile & related modules
/nixos/modules/profiles/hardened.nix @joachifm
/nixos/modules/security/lock-kernel-modules.nix @joachifm
/nixos/modules/security/misc.nix @joachifm
/nixos/tests/hardened.nix @joachifm
/pkgs/os-specific/linux/kernel/hardened/config.nix @joachifm
/nixos/modules/profiles/hardened.nix @joachifm
/nixos/modules/security/lock-kernel-modules.nix @joachifm
/nixos/modules/security/misc.nix @joachifm
/nixos/tests/hardened.nix @joachifm
/pkgs/os-specific/linux/kernel/hardened/ @fabianhjr @joachifm

# Home Automation
/nixos/modules/services/home-automation/home-assistant.nix @mweinelt
Expand Down
2 changes: 2 additions & 0 deletions nixos/modules/services/matrix/conduit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ in
description = "Conduit Matrix Server";
documentation = [ "https://gitlab.com/famedly/conduit/" ];
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
environment = lib.mkMerge ([
{ CONDUIT_CONFIG = configFile; }
cfg.extraEnvironment
Expand Down
1 change: 1 addition & 0 deletions nixos/tests/kernel-generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ let
linux_5_15_hardened
linux_6_1_hardened
linux_6_6_hardened
linux_6_11_hardened
linux_rt_5_4
linux_rt_5_10
linux_rt_5_15
Expand Down
122 changes: 0 additions & 122 deletions pkgs/applications/audio/cantata/default.nix

This file was deleted.

3 changes: 3 additions & 0 deletions pkgs/applications/office/activitywatch/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
rustPlatform,
Expand Down Expand Up @@ -83,6 +84,7 @@ rec {
homepage = "https://github.com/ActivityWatch/aw-watcher-window";
maintainers = with maintainers; [ huantian ];
license = licenses.mpl20;
badPlatforms = lib.platforms.darwin; # requires pyobjc-framework
};
};

Expand Down Expand Up @@ -140,6 +142,7 @@ rec {
homepage = "https://github.com/ActivityWatch/aw-qt";
maintainers = with maintainers; [ huantian ];
license = licenses.mpl20;
badPlatforms = lib.platforms.darwin; # requires pyobjc-framework
};
};

Expand Down
18 changes: 16 additions & 2 deletions pkgs/applications/office/mmex/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{ lib
, stdenv
, fetchFromGitHub
, appstream
, cmake
, fetchpatch
, gettext
, git
, makeWrapper
Expand All @@ -17,16 +19,24 @@

stdenv.mkDerivation rec {
pname = "money-manager-ex";
version = "1.6.3";
version = "1.8.0";

src = fetchFromGitHub {
owner = "moneymanagerex";
repo = "moneymanagerex";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-TQgJ2Q4Z7+OtwuwkfPBgm2BmMKML9nmyFLSkmKJ1RE4=";
hash = "sha256-jV1jW0aFx95JpwzywEVajstnMKVcEtBdvyL7y6OLl+k=";
};

patches = [
(fetchpatch { # https://github.com/moneymanagerex/moneymanagerex/pull/6716
name = "workaround-appstream-1.0.3.patch";
url = "https://github.com/moneymanagerex/moneymanagerex/commit/bb98eab92d95b7315d27f4e59ae59b50587106d8.patch";
hash = "sha256-98OyFO2nnGBRTIirxZ3jX1NPvsw5kVT8nsCSSmyfabo=";
})
];

postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) ''
substituteInPlace src/platfdep_mac.mm \
--replace "appearance.name == NSAppearanceNameDarkAqua" "NO"
Expand All @@ -36,12 +46,14 @@ stdenv.mkDerivation rec {
'';

nativeBuildInputs = [
appstream # for appstreamcli
cmake
gettext
git
makeWrapper
pkg-config
wrapGAppsHook3
wxGTK32
] ++ lib.optionals stdenv.hostPlatform.isLinux [
lsb-release
];
Expand All @@ -55,6 +67,8 @@ stdenv.mkDerivation rec {
darwin.libobjc
];

strictDeps = true;

env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-deprecated-copy"
"-Wno-old-style-cast"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ setupMpiCheck() {
MPICH)
# Fix to make mpich run in a sandbox
export HYDRA_IFACE=lo
# Disable sysfs cpu topology directory discovery.
export HWLOC_XMLFILE="@topology@"
;;
MVAPICH)
# Disable CPU pinning
Expand Down
Loading

0 comments on commit b3a0f2d

Please sign in to comment.