···240240 </listitem>
241241 <listitem>
242242 <para>
243243+ The <literal>services.fwupd</literal> module now allows
244244+ arbitrary daemon settings to be configured in a structured
245245+ manner
246246+ (<link linkend="opt-services.fwupd.daemonSettings"><literal>services.fwupd.daemonSettings</literal></link>).
247247+ </para>
248248+ </listitem>
249249+ <listitem>
250250+ <para>
243251 The <literal>unifi-poller</literal> package and corresponding
244252 NixOS module have been renamed to <literal>unpoller</literal>
245253 to match upstream.
+2
nixos/doc/manual/release-notes/rl-2305.section.md
···70707171- Resilio sync secret keys can now be provided using a secrets file at runtime, preventing these secrets from ending up in the Nix store.
72727373+- The `services.fwupd` module now allows arbitrary daemon settings to be configured in a structured manner ([`services.fwupd.daemonSettings`](#opt-services.fwupd.daemonSettings)).
7474+7375- The `unifi-poller` package and corresponding NixOS module have been renamed to `unpoller` to match upstream.
···67676868 configureScript = "python ./configure";
69697070- # disable stackprotector on aarch64-darwin for now
7171- # https://github.com/NixOS/nixpkgs/issues/158730
7272- # see https://github.com/NixOS/nixpkgs/issues/127608 for a similar issue
7373- hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
7474-7570 enableParallelBuilding = true;
7671 doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
7772
+47
pkgs/development/libraries/toml11/default.nix
···11+{ lib
22+, stdenv
33+, fetchFromGitHub
44+, cmake
55+}:
66+77+stdenv.mkDerivation (finalAttrs: {
88+ pname = "toml11";
99+ version = "3.7.1";
1010+1111+ src = fetchFromGitHub {
1212+ owner = "ToruNiina";
1313+ repo = "toml11";
1414+ rev = "v${finalAttrs.version}";
1515+ hash = "sha256-HnhXBvIjo1JXhp+hUQvjs83t5IBVbNN6o3ZGhB4WESQ=";
1616+ };
1717+1818+ nativeBuildInputs = [
1919+ cmake
2020+ ];
2121+2222+ meta = with lib; {
2323+ homepage = "https://github.com/ToruNiina/toml11";
2424+ description = "TOML for Modern C++";
2525+ longDescription = ''
2626+ toml11 is a C++11 (or later) header-only toml parser/encoder depending
2727+ only on C++ standard library.
2828+2929+ - It is compatible to the latest version of TOML v1.0.0.
3030+ - It is one of the most TOML standard compliant libraries, tested with
3131+ the language agnostic test suite for TOML parsers by BurntSushi.
3232+ - It shows highly informative error messages.
3333+ - It has configurable container. You can use any random-access containers
3434+ and key-value maps as backend containers.
3535+ - It optionally preserves comments without any overhead.
3636+ - It has configurable serializer that supports comments, inline tables,
3737+ literal strings and multiline strings.
3838+ - It supports user-defined type conversion from/into toml values.
3939+ - It correctly handles UTF-8 sequences, with or without BOM, both on posix
4040+ and Windows.
4141+ '';
4242+ license = licenses.mit;
4343+ maintainers = with maintainers; [ AndersonTorres ];
4444+ platforms = platforms.unix;
4545+ };
4646+})
4747+# TODO [ AndersonTorres ]: tests
+27-9
pkgs/development/misc/resholve/default.nix
···11{ lib
22-, stdenv
22+, pkgs
33, pkgsBuildHost
44, ...
55}:
6677let
88- pkgs = import ../../../.. {
99- inherit (stdenv.hostPlatform) system;
1010- # Allow python27 with known security issues only for resholve,
1111- # see issue #201859 for the reasoning
1212- # In resholve case this should not be a security issue,
1313- # since it will only be used during build, not runtime
1414- config.permittedInsecurePackages = [ pkgsBuildHost.python27.name ];
88+ python27' = (pkgsBuildHost.python27.overrideAttrs (old:
99+ {
1010+ # Overriding `meta.knownVulnerabilities` here, see #201859 for why it exists
1111+ # In resholve case this should not be a security issue,
1212+ # since it will only be used during build, not runtime
1313+ meta = (old.meta or { }) // { knownVulnerabilities = [ ]; };
1414+ }
1515+ )).override {
1616+ self = python27';
1717+ pkgsBuildHost = pkgsBuildHost // { python27 = python27'; };
1818+ # strip down that python version as much as possible
1919+ openssl = null;
2020+ bzip2 = null;
2121+ readline = null;
2222+ ncurses = null;
2323+ gdbm = null;
2424+ sqlite = null;
2525+ libffi = null;
2626+ rebuildBytecode = false;
2727+ stripBytecode = true;
2828+ strip2to3 = true;
2929+ stripConfig = true;
3030+ stripIdlelib = true;
3131+ stripTests = true;
3232+ enableOptimizations = false;
1533 };
1616- callPackage = lib.callPackageWith pkgs;
3434+ callPackage = lib.callPackageWith (pkgs // { python27 = python27'; });
1735 source = callPackage ./source.nix { };
1836 deps = callPackage ./deps.nix { };
1937in