···18 steps:
19 # Use a GitHub App to create the PR so that CI gets triggered
20 # The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs
21- - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
22 id: app-token
23 with:
24 app-id: ${{ vars.BACKPORT_APP_ID }}
···18 steps:
19 # Use a GitHub App to create the PR so that CI gets triggered
20 # The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs
21+ - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
22 id: app-token
23 with:
24 app-id: ${{ vars.BACKPORT_APP_ID }}
+2-2
.github/workflows/codeowners-v2.yml
···62 - name: Build codeowners validator
63 run: nix-build base/ci -A codeownersValidator
6465- - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
66 id: app-token
67 with:
68 app-id: ${{ vars.OWNER_RO_APP_ID }}
···94 # This is intentional, because we need to request the review of owners as declared in the base branch.
95 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9697- - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
98 id: app-token
99 with:
100 app-id: ${{ vars.OWNER_APP_ID }}
···62 - name: Build codeowners validator
63 run: nix-build base/ci -A codeownersValidator
6465+ - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
66 id: app-token
67 with:
68 app-id: ${{ vars.OWNER_RO_APP_ID }}
···94 # This is intentional, because we need to request the review of owners as declared in the base branch.
95 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9697+ - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
98 id: app-token
99 with:
100 app-id: ${{ vars.OWNER_APP_ID }}
+16-6
lib/generators.nix
···70 split
71 toJSON
72 typeOf
073 ;
7475 ## -- HELPER FUNCTIONS & DEFAULTS --
···548549 # Inputs
550551- Options
552- : Empty set, there may be configuration options in the future
00553554 Value
555 : The value to be converted to Plist
556 */
557- toPlist = {}: v: let
00558 expr = ind: x:
559 if x == null then "" else
560 if isBool x then bool ind x else
···568569 literal = ind: x: ind + x;
57000571 bool = ind: x: literal ind (if x then "<true/>" else "<false/>");
572 int = ind: x: literal ind "<integer>${toString x}</integer>";
573- str = ind: x: literal ind "<string>${x}</string>";
574- key = ind: x: literal ind "<key>${x}</key>";
575 float = ind: x: literal ind "<real>${toString x}</real>";
576577 indent = ind: expr "\t${ind}";
···597 (expr "\t${ind}" value)
598 ]) x));
599600- in ''<?xml version="1.0" encoding="UTF-8"?>
000601<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
602<plist version="1.0">
603${expr "" v}
···70 split
71 toJSON
72 typeOf
73+ escapeXML
74 ;
7576 ## -- HELPER FUNCTIONS & DEFAULTS --
···549550 # Inputs
551552+ Structured function argument
553+554+ : escape (optional, default: `false`)
555+ : If this option is true, XML special characters are escaped in string values and keys
556557 Value
558 : The value to be converted to Plist
559 */
560+ toPlist = {
561+ escape ? false
562+ }: v: let
563 expr = ind: x:
564 if x == null then "" else
565 if isBool x then bool ind x else
···573574 literal = ind: x: ind + x;
575576+ maybeEscapeXML = if escape then escapeXML else x: x;
577+578 bool = ind: x: literal ind (if x then "<true/>" else "<false/>");
579 int = ind: x: literal ind "<integer>${toString x}</integer>";
580+ str = ind: x: literal ind "<string>${maybeEscapeXML x}</string>";
581+ key = ind: x: literal ind "<key>${maybeEscapeXML x}</key>";
582 float = ind: x: literal ind "<real>${toString x}</real>";
583584 indent = ind: expr "\t${ind}";
···604 (expr "\t${ind}" value)
605 ]) x));
606607+ in
608+ # TODO: As discussed in #356502, deprecated functionality should be removed sometime after 25.11.
609+ lib.warnIf (!escape && lib.oldestSupportedReleaseIsAtLeast 2505) "Using `lib.generators.toPlist` without `escape = true` is deprecated"
610+ ''<?xml version="1.0" encoding="UTF-8"?>
611<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
612<plist version="1.0">
613${expr "" v}
···27 <real>0.133700</real>
28 <key>int</key>
29 <integer>42</integer>
30+ <key>keys are not <escaped></key>
31+ <string>and < neither are string values</string>
32 <key>list</key>
33 <array>
34 <integer>3</integer>
+1
nixos/doc/manual/release-notes/rl-2505.section.md
···241242- Cinnamon has been updated to 6.4, please check the [upstream announcement](https://www.linuxmint.com/rel_xia_whatsnew.php) for more details.
243 - Following [changes in Mint 22](https://github.com/linuxmint/mintupgrade/commit/f239cde908288b8c250f938e7311c7ffbc16bd59) we are no longer overriding Qt application styles. You can still restore the previous default with `qt.style = "gtk2"` and `qt.platformTheme = "gtk2"`.
0244245- Xfce has been updated to 4.20, please check the [upstream feature tour](https://www.xfce.org/about/tour420) for more details.
246 - Wayland session is still [experimental](https://wiki.xfce.org/releng/wayland_roadmap) and requires opt-in using `enableWaylandSession` option.
···241242- Cinnamon has been updated to 6.4, please check the [upstream announcement](https://www.linuxmint.com/rel_xia_whatsnew.php) for more details.
243 - Following [changes in Mint 22](https://github.com/linuxmint/mintupgrade/commit/f239cde908288b8c250f938e7311c7ffbc16bd59) we are no longer overriding Qt application styles. You can still restore the previous default with `qt.style = "gtk2"` and `qt.platformTheme = "gtk2"`.
244+ - Following [changes in Mint 20](https://github.com/linuxmint/mintupgrade-legacy/commit/ce15d946ed9a8cb8444abd25088edd824bfb18f6) we are replacing xplayer with celluloid since xplayer is no longer maintained.
245246- Xfce has been updated to 4.20, please check the [upstream feature tour](https://www.xfce.org/about/tour420) for more details.
247 - Wayland session is still [experimental](https://wiki.xfce.org/releng/wayland_roadmap) and requires opt-in using `enableWaylandSession` option.
···78buildGoModule rec {
9 pname = "syft";
10- version = "1.18.0";
1112 src = fetchFromGitHub {
13 owner = "anchore";
14 repo = "syft";
15 rev = "refs/tags/v${version}";
16- hash = "sha256-cxBZs4H557Sc1k3jftbxjv1DcPM9GZb/2QGtuuA/D2I=";
17 # populate values that require us to use git. By doing this in postFetch we
18 # can delete .git afterwards and maintain better reproducibility of the src.
19 leaveDotGit = true;
···28 # hash mismatch with darwin
29 proxyVendor = true;
3031- vendorHash = "sha256-hilxZidIIwrqd6motWDlicCPepU4gyZvqk/Fzry98UE=";
3233 nativeBuildInputs = [ installShellFiles ];
34
···78buildGoModule rec {
9 pname = "syft";
10+ version = "1.18.1";
1112 src = fetchFromGitHub {
13 owner = "anchore";
14 repo = "syft";
15 rev = "refs/tags/v${version}";
16+ hash = "sha256-ot4qdCxF9Kg657IFzUIxGsmRCDag1a4Ipq1qj2RPW0E=";
17 # populate values that require us to use git. By doing this in postFetch we
18 # can delete .git afterwards and maintain better reproducibility of the src.
19 leaveDotGit = true;
···28 # hash mismatch with darwin
29 proxyVendor = true;
3031+ vendorHash = "sha256-3GvOWu+h1d5qUxUd7yxE/YReeuXteVV/4ZrnMgGRZi0=";
3233 nativeBuildInputs = [ installShellFiles ];
34
+17-9
pkgs/by-name/ti/tiledb/package.nix
···48 ./FindMagic_EP.cmake.patch
49 ];
5051- postPatch = ''
52- # copy pre-fetched external project to directory where it is expected to be
53- mkdir -p build/externals/src
54- cp -a ${ep-file-windows} build/externals/src/ep_magic
55- chmod -R u+w build/externals/src/ep_magic
05657- # add openssl on path
58- sed -i '49i list(APPEND OPENSSL_PATHS "${openssl.dev}" "${openssl.out}")' \
59- cmake/Modules/FindOpenSSL_EP.cmake
60- '';
00000006162 # upstream will hopefully fix this in some newer release
63 env.CXXFLAGS = "-include random";
···48 ./FindMagic_EP.cmake.patch
49 ];
5051+ postPatch =
52+ ''
53+ # copy pre-fetched external project to directory where it is expected to be
54+ mkdir -p build/externals/src
55+ cp -a ${ep-file-windows} build/externals/src/ep_magic
56+ chmod -R u+w build/externals/src/ep_magic
5758+ # add openssl on path
59+ sed -i '49i list(APPEND OPENSSL_PATHS "${openssl.dev}" "${openssl.out}")' \
60+ cmake/Modules/FindOpenSSL_EP.cmake
61+ ''
62+ # libcxx (as of llvm-19) does not yet support `stop_token` and `jthread`
63+ # without the -fexperimental-library flag. Tiledb adds its own
64+ # implementations in the std namespace which conflict with libcxx. This
65+ # test can be re-enabled once libcxx supports stop_token and jthread.
66+ + lib.optionalString (stdenv.cc.libcxx != null) ''
67+ truncate -s0 tiledb/stdx/test/CMakeLists.txt
68+ '';
6970 # upstream will hopefully fix this in some newer release
71 env.CXXFLAGS = "-include random";
+7
pkgs/by-name/xp/xplayer/package.nix
···86 patchPythonScript $out/lib/xplayer/plugins/dbus/dbusservice.py
87 '';
88000000089 meta = with lib; {
90 description = "Generic media player from Linux Mint";
91 license = with licenses; [
···86 patchPythonScript $out/lib/xplayer/plugins/dbus/dbusservice.py
87 '';
8889+ env = lib.optionalAttrs stdenv.cc.isGNU {
90+ NIX_CFLAGS_COMPILE = toString [
91+ "-Wno-error=incompatible-pointer-types"
92+ "-Wno-error=return-mismatch"
93+ ];
94+ };
95+96 meta = with lib; {
97 description = "Generic media player from Linux Mint";
98 license = with licenses; [
+1-51
pkgs/by-name/ze/zenoh/package.nix
···31 "zenoh-ext-examples"
32 ];
3334- checkFlags = [
35- # thread 'test_liveliness_query_clique' panicked at zenoh/tests/liveliness.rs:103:43:
36- # called `Result::unwrap()` on an `Err` value: Can not create a new TCP listener bound to tcp/localhost:47448...
37- "--skip test_liveliness_query_clique"
38- # thread 'test_liveliness_subscriber_double_client_history_middle' panicked at zenoh/tests/liveliness.rs:845:43:
39- # called `Result::unwrap()` on an `Err` value: Can not create a new TCP listener bound to tcp/localhost:47456...
40- "--skip test_liveliness_subscriber_double_client_history_middle"
41- # thread 'zenoh_matching_status_remote' panicked at zenoh/tests/matching.rs:155:5:
42- # assertion failed: received_status.ok().flatten().map(|s|
43- # s.matching_subscribers()).eq(&Some(true))
44- "--skip zenoh_matching_status_remote"
45- # thread 'qos_pubsub' panicked at zenoh/tests/qos.rs:50:18:
46- # called `Result::unwrap()` on an `Err` value: Elapsed(())
47- "--skip qos_pubsub"
48- # never ending tests
49- "--skip router_linkstate"
50- "--skip three_node_combination"
51- "--skip three_node_combination_multicast"
52- # Error: Timeout at zenoh/tests/routing.rs:453.
53- "--skip gossip"
54- # thread 'zenoh_session_multicast' panicked at zenoh/tests/session.rs:85:49:
55- # called `Result::unwrap()` on an `Err` value: Can not create a new UDP link bound to udp/224.0.0.1:17448...
56- "--skip zenoh_session_multicast"
57- # thread 'tests::transport_multicast_compression_udp_only' panicked at io/zenoh-transport/tests/multicast_compression.rs:170:86:
58- # called `Result::unwrap()` on an `Err` value: Can not create a new UDP link bound to udp/224.24.220.245:21000...
59- "--skip tests::transport_multicast_compression_udp_only"
60- # thread 'tests::transport_multicast_udp_only' panicked at io/zenoh-transport/tests/multicast_transport.rs:167:86:
61- # called `Result::unwrap()` on an `Err` value: Can not create a new UDP link bound to udp/224.52.216.110:20000...
62- "--skip tests::transport_multicast_udp_only"
63- # thread 'openclose_tcp_only_connect_with_interface_restriction' panicked at io/zenoh-transport/tests/unicast_openclose.rs:764:63:
64- # index out of bounds: the len is 0 but the index is 0
65- "--skip openclose_tcp_only_connect_with_interface_restriction"
66- # thread 'openclose_udp_only_listen_with_interface_restriction' panicked at io/zenoh-transport/tests/unicast_openclose.rs:820:72:
67- # index out of bounds: the len is 0 but the index is 0
68- "--skip openclose_tcp_only_listen_with_interface_restriction"
69- # thread 'openclose_tcp_only_listen_with_interface_restriction' panicked at io/zenoh-transport/tests/unicast_openclose.rs:783:72:
70- # index out of bounds: the len is 0 but the index is 0
71- "--skip openclose_udp_only_connect_with_interface_restriction"
72- # thread 'openclose_udp_only_connect_with_interface_restriction' panicked at io/zenoh-transport/tests/unicast_openclose.rs:802:63:
73- # index out of bounds: the len is 0 but the index is 0
74- "--skip openclose_udp_only_listen_with_interface_restriction"
75-76- # These tests require a network interface and fail in the sandbox
77- "--skip openclose_quic_only_listen_with_interface_restriction"
78- "--skip openclose_quic_only_connect_with_interface_restriction"
79- "--skip openclose_tls_only_connect_with_interface_restriction"
80- "--skip openclose_tls_only_listen_with_interface_restriction"
81-82- # This test fails on Hydra
83- "--skip authenticator_quic"
84- ];
8586 passthru.tests.version = testers.testVersion {
87 package = zenoh;