Skip to content

Commit 0a95fd2

Browse files
committed
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts: pkgs/development/libraries/libunwind/default.nix
2 parents d45e853 + d94ae68 commit 0a95fd2

File tree

120 files changed

+2971
-1776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2971
-1776
lines changed

nixos/modules/services/networking/knot.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ let
4444
++ [ (sec_list_fa "id" nix_def "template") ]
4545
++ [ (sec_list_fa "domain" nix_def "zone") ]
4646
++ [ (sec_plain nix_def "include") ]
47+
++ [ (sec_plain nix_def "clear") ]
4748
);
4849

4950
# A plain section contains directly attributes (we don't really check that ATM).

nixos/tests/ceph-multi-node.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ let
185185
monA.succeed(
186186
"ceph osd pool create multi-node-test 32 32",
187187
"ceph osd pool ls | grep 'multi-node-test'",
188+
189+
# We need to enable an application on the pool, otherwise it will
190+
# stay unhealthy in state POOL_APP_NOT_ENABLED.
191+
# Creating a CephFS would do this automatically, but we haven't done that here.
192+
# See: https://docs.ceph.com/en/reef/rados/operations/pools/#associating-a-pool-with-an-application
193+
# We use the custom application name "nixos-test" for this.
194+
"ceph osd pool application enable multi-node-test nixos-test",
195+
188196
"ceph osd pool rename multi-node-test multi-node-other-test",
189197
"ceph osd pool ls | grep 'multi-node-other-test'",
190198
)

nixos/tests/ceph-single-node-bluestore.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ let
145145
monA.succeed(
146146
"ceph osd pool create single-node-test 32 32",
147147
"ceph osd pool ls | grep 'single-node-test'",
148+
149+
# We need to enable an application on the pool, otherwise it will
150+
# stay unhealthy in state POOL_APP_NOT_ENABLED.
151+
# Creating a CephFS would do this automatically, but we haven't done that here.
152+
# See: https://docs.ceph.com/en/reef/rados/operations/pools/#associating-a-pool-with-an-application
153+
# We use the custom application name "nixos-test" for this.
154+
"ceph osd pool application enable single-node-test nixos-test",
155+
148156
"ceph osd pool rename single-node-test single-node-other-test",
149157
"ceph osd pool ls | grep 'single-node-other-test'",
150158
)

nixos/tests/ceph-single-node.nix

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ let
145145
monA.succeed(
146146
"ceph osd pool create single-node-test 32 32",
147147
"ceph osd pool ls | grep 'single-node-test'",
148+
149+
# We need to enable an application on the pool, otherwise it will
150+
# stay unhealthy in state POOL_APP_NOT_ENABLED.
151+
# Creating a CephFS would do this automatically, but we haven't done that here.
152+
# See: https://docs.ceph.com/en/reef/rados/operations/pools/#associating-a-pool-with-an-application
153+
# We use the custom application name "nixos-test" for this.
154+
"ceph osd pool application enable single-node-test nixos-test",
155+
148156
"ceph osd pool rename single-node-test single-node-other-test",
149157
"ceph osd pool ls | grep 'single-node-other-test'",
150158
)
@@ -182,19 +190,16 @@ let
182190
monA.wait_until_succeeds("ceph -s | grep 'mgr: ${cfg.monA.name}(active,'")
183191
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
184192
185-
# This test has been commented out due to the upstream issue with pyo3
186-
# that has broken this dashboard
187-
# Reference: https://www.spinics.net/lists/ceph-users/msg77812.html
188193
# Enable the dashboard and recheck health
189-
# monA.succeed(
190-
# "ceph mgr module enable dashboard",
191-
# "ceph config set mgr mgr/dashboard/ssl false",
192-
# # default is 8080 but it's better to be explicit
193-
# "ceph config set mgr mgr/dashboard/server_port 8080",
194-
# )
195-
# monA.wait_for_open_port(8080)
196-
# monA.wait_until_succeeds("curl -q --fail http://localhost:8080")
197-
# monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
194+
monA.succeed(
195+
"ceph mgr module enable dashboard",
196+
"ceph config set mgr mgr/dashboard/ssl false",
197+
# default is 8080 but it's better to be explicit
198+
"ceph config set mgr mgr/dashboard/server_port 8080",
199+
)
200+
monA.wait_for_open_port(8080)
201+
monA.wait_until_succeeds("curl -q --fail http://localhost:8080")
202+
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
198203
'';
199204
in {
200205
name = "basic-single-node-ceph-cluster";

pkgs/applications/audio/ledfx/default.nix

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,34 @@
55

66
python3.pkgs.buildPythonPackage rec {
77
pname = "ledfx";
8-
version = "2.0.86";
8+
version = "2.0.89";
99
pyproject= true;
1010

1111
src = fetchPypi {
1212
inherit pname version;
13-
hash = "sha256-miOGMsrvK3A3SYnd+i/lqB+9GOHtO4F3RW8NkxDgFqU=";
13+
hash = "sha256-PBOj6u0TukT6wRKMQML4+XNQQZvsGyRzXBk9YsISst4=";
1414
};
1515

16-
postPatch = ''
17-
substituteInPlace setup.py \
18-
--replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \
19-
--replace "sentry-sdk==1.38.0" "sentry-sdk" \
20-
--replace "~=" ">="
21-
'';
16+
pythonRelaxDeps = true;
17+
18+
pythonRemoveDeps = [
19+
# not packaged
20+
"rpi-ws281x"
21+
];
2222

2323
nativeBuildInputs = with python3.pkgs; [
24-
setuptools
24+
cython
25+
poetry-core
26+
pythonRelaxDepsHook
2527
];
2628

2729
propagatedBuildInputs = with python3.pkgs; [
2830
aiohttp
2931
aiohttp-cors
3032
aubio
3133
certifi
32-
cython
3334
flux-led
35+
python-dotenv
3436
icmplib
3537
mss
3638
multidict
@@ -52,6 +54,7 @@ python3.pkgs.buildPythonPackage rec {
5254
sentry-sdk
5355
setuptools
5456
sounddevice
57+
stupidartnet
5558
uvloop
5659
voluptuous
5760
zeroconf

pkgs/applications/audio/sunvox/default.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ let
1313
in
1414
stdenv.mkDerivation rec {
1515
pname = "SunVox";
16-
version = "2.1c";
16+
version = "2.1.1c";
1717

1818
src = fetchurl {
19-
url = "https://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip";
20-
sha256 = "sha256-yPVcbtlAVbO9uMsFlfZ51T408hA1VPJAI+R+Jdjcyjw=";
19+
urls = [
20+
"https://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip"
21+
# Upstream removes downloads of older versions, please save bumped versions to archive.org
22+
"https://web.archive.org/web/20231204012052/https://www.warmplace.ru/soft/sunvox/sunvox-2.1.1c.zip"
23+
];
24+
sha256 = "sha256-LfBQ/f2X75bcqLp39c2tdaSlDm+E73GUvB68XFqiicw=";
2125
};
2226

2327
nativeBuildInputs = [ unzip ];

0 commit comments

Comments
 (0)