···55 "ghcr.io/devcontainers/features/nix:1": {66 // fails in the devcontainer sandbox, enable sandbox via config instead77 "multiUser": false,88- "packages": "nixpkgs.nixd,nixpkgs.nixfmt-rfc-style",88+ "packages": "nixpkgs.nixd,nixpkgs.nixfmt",99 "useAttributePath": true,1010 "extraNixConfig": "experimental-features = nix-command flakes,sandbox = true"1111 }
+2
doc/release-notes/rl-2511.section.md
···6464 of the [4.3 release](https://github.com/netbox-community/netbox/releases/tag/v4.2.0),6565 make the required changes to your database, if needed, then upgrade by setting `services.netbox.package = pkgs.netbox_4_3;` in your configuration.66666767+- `privatebin` has been updated to `2.0.0`. This release changes configuration defaults including switching the template and removing legacy features. See the [v2.0.0 changelog entry](https://github.com/PrivateBin/PrivateBin/releases/tag/2.0.0) for details on how to upgrade.6868+6769- `go-mockery` has been updated to v3. For migration instructions see the [upstream documentation](https://vektra.github.io/mockery/latest/v3/). If v2 is still required `go-mockery_v2` has been added but will be removed on or before 2029-12-31 in-line with it's [upstream support lifecycle](https://vektra.github.io/mockery/68706971- [private-gpt](https://github.com/zylon-ai/private-gpt) service has been removed by lack of maintenance upstream.
···11+/**22+ Renders documentation for modular services.33+ For inclusion into documentation.nixos.extraModules.44+*/55+{ lib, pkgs, ... }:66+let77+ /**88+ Causes a modular service's docs to be rendered.99+ This is an intermediate solution until we have "native" service docs in some nicer form.1010+ */1111+ fakeSubmodule =1212+ module:1313+ lib.mkOption {1414+ type = lib.types.submoduleWith {1515+ modules = [ module ];1616+ };1717+ description = "This is a [modular service](https://nixos.org/manual/nixos/unstable/#modular-services), which can be imported into a NixOS configuration using the [`system.services`](https://search.nixos.org/options?channel=unstable&show=system.services&query=modular+service) option.";1818+ };1919+2020+ modularServicesModule = {2121+ _file = "${__curPos.file}:${toString __curPos.line}";2222+ options = {2323+ "<imports = [ pkgs.ghostunnel.services.default ]>" = fakeSubmodule pkgs.ghostunnel.services.default;2424+ };2525+ };2626+in2727+{2828+ documentation.nixos.extraModules = [2929+ modularServicesModule3030+ ];3131+}
···101101 machine.fail(check_count("SELECT * FROM sth;", 4))102102 machine.succeed(check_count("SELECT xpath('/test/text()', doc) FROM xmltest;", 1))103103104104+ with subtest("killing postgres process should trigger an automatic restart"):105105+ machine.succeed("systemctl kill -s KILL postgresql")106106+107107+ machine.wait_until_succeeds("systemctl is-active postgresql.service")108108+ machine.wait_until_succeeds("systemctl is-active postgresql.target")109109+104110 with subtest("Backup service works"):105111 machine.succeed(106112 "systemctl start ${backupService}.service",
···7788buildNpmPackage rec {99 pname = "asf-ui";1010- version = "b984a9de784afb9d11364b3541961888cab8e025";1010+ version = "cd42a0272ce9449b38d0654374867a409681a779";11111212 src = fetchFromGitHub {1313 owner = "JustArchiNET";···1515 # updated by the update script1616 # this is always the commit that should be used with asf-ui from the latest asf version1717 rev = version;1818- hash = "sha256-qipcDwn6Jte8MRUIgmYSuMzs4sewItlzFIeupYKkg+A=";1818+ hash = "sha256-dQVfgQM1b+UON+UO+sybCbn8OsriJp/tahzInVNwoqw=";1919 };20202121- npmDepsHash = "sha256-UhakvqDoWxt/nudEqUZcp8Bk0sIdYSXCYHv8YbsrWDU=";2121+ npmDepsHash = "sha256-x2jBtpP3sVJNIFzlKvUhtqWX7H8OM4bnBcE70NQwCRA=";22222323 installPhase = ''2424 runHook preInstall
···66 writeShellApplication,77 curl,88 common-updater-scripts,99+ xmlstarlet,910}:10111112stdenvNoCC.mkDerivation (finalAttrs: {1213 pname = "arc-browser";1313- version = "1.101.0-64746";1414+ version = "1.106.0-66192";14151516 src = fetchurl {1617 url = "https://releases.arc.net/release/Arc-${finalAttrs.version}.dmg";1717- hash = "sha256-u391hQB+Fqw21cu9GQglOkPHie+8uK8FTxSLWLAH0eA=";1818+ hash = "sha256-AlM0wJ/2okrxw2ZpMPodlSVQaMMkBPf5iIN4bnMTaME=";1819 };19202021 nativeBuildInputs = [ undmg ];···3837 runtimeInputs = [3938 curl4039 common-updater-scripts4040+ xmlstarlet4141 ];4242 text = ''4343- redirect_url="$(curl -s -L -f "https://releases.arc.net/release/Arc-latest.dmg" -o /dev/null -w '%{url_effective}')"4444- # The url scheme is: https://releases.arc.net/release/Arc-1.23.4-56789.dmg4545- # We strip everything before 'Arc-' and after '.dmg'4646- version="''${redirect_url##*/Arc-}"4747- version="''${version%.dmg}"4848- update-source-version arc-browser "$version" --file=./pkgs/by-name/ar/arc-browser/package.nix4343+ latest_version_string="$(curl -s "https://releases.arc.net/updates.xml" | xmlstarlet sel -N sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" -t -v "//item[1]/sparkle:shortVersionString" -n)"4444+ version_part="''${latest_version_string%% (*}"4545+ build_part="''${latest_version_string##*\(}"4646+ build_part="''${build_part%\)*}"4747+ version="''${version_part}-''${build_part}"4848+4949+ update-source-version arc-browser "$version"4950 '';5051 });5152···5552 description = "Arc from The Browser Company";5653 homepage = "https://arc.net/";5754 license = lib.licenses.unfree;5858- maintainers = with lib.maintainers; [ donteatoreo ];5555+ maintainers = with lib.maintainers; [ ];5656+ knownVulnerabilities = [ "unmaintained" ];5957 platforms = [6058 "aarch64-darwin"6159 "x86_64-darwin"
+3-3
pkgs/by-name/at/atuin/package.nix
···10101111rustPlatform.buildRustPackage (finalAttrs: {1212 pname = "atuin";1313- version = "18.7.1";1313+ version = "18.8.0";14141515 src = fetchFromGitHub {1616 owner = "atuinsh";1717 repo = "atuin";1818 tag = "v${finalAttrs.version}";1919- hash = "sha256-KHATm505ysJAIGCd2UvkMEIFhp7huPYW5ly+jq1HLdc=";1919+ hash = "sha256-FJEXIxdeg6ExXvrQ3dtugMK5xw+NwWyB+ld9rj7okoU=";2020 };21212222- cargoHash = "sha256-ZzMNU3FqD4bD96gEXaTphuM7MqRBBSYZTxIJSNtw+EI=";2222+ cargoHash = "sha256-xJPSMu22Bq9Panrafsd5vUSnEQYuJB19OEZaAq8z0mw=";23232424 # atuin's default features include 'check-updates', which do not make sense2525 # for distribution builds. List all other default features.
···11111212stdenvNoCC.mkDerivation (finalAttrs: {1313 pname = "container";1414- version = "0.2.0";1414+ version = "0.3.0";15151616 src = fetchurl {1717 url = "https://github.com/apple/container/releases/download/${finalAttrs.version}/container-${finalAttrs.version}-installer-signed.pkg";1818- hash = "sha256-aJEIy6IknBDvM7IOhnl/C4xnr7KJVggJJjmajqoHdsU=";1818+ hash = "sha256-D3oAhATmZhGA6mehw6UEAY5Xwu8jjvTNqNcPKBUWxuY=";1919 };20202121 nativeBuildInputs = [···5454 };55555656 meta = {5757- description = "Creating and running Linux containers using lightweight virtual machines on a Mac";5757+ description = "Create and run Linux containers using lightweight virtual machines on a Mac";5858 homepage = "https://github.com/apple/container";5959 changelog = "https://github.com/apple/container/releases/tag/${finalAttrs.version}";6060 license = lib.licenses.asl20;
···2233buildDotnetGlobalTool {44 pname = "dotnet-ef";55- version = "9.0.6";55+ version = "9.0.7";6677- nugetHash = "sha256-dHOGvqdIfYhuAz7JwQoG/4uJNE9wpfI/dnL4zj3lD6A=";77+ nugetHash = "sha256-6iutZww6gfHlAipNmNSwSsU8dzp02WEVVHmPWLefB/c=";8899 meta = {1010 description = "Tools to help with design-time development tasks";
···11+diff --git a/src/audio.c b/src/audio.c22+index d1b9762..cb544dd 10064433+44+This package assumes that there will always be an audio device while testing.55+If there is not an audio device, it segfaults. So in the Nix sandbox, it66+unconditionally segfaults without this patch. This patch allows the tests77+to flow through the normal error handling logic.88+99+--- a/src/audio.c1010++++ b/src/audio.c1111+@@ -637,7 +637,6 @@ int start_portaudio(int device, int *nominal_sample_rate, double *real_sample_ra1212+ if(testing) {1313+ *nominal_sample_rate = PA_SAMPLE_RATE;1414+ *real_sample_rate = PA_SAMPLE_RATE;1515+- goto end;1616+ }1717+ #endif1818+
···1717buildPythonPackage rec {1818 pname = "setuptools-git-versioning";1919 version = "2.1.0";2020- format = "pyproject";2020+ pyproject = true;21212222 src = fetchFromGitHub {2323 owner = "dolfinus";···2525 tag = "v${version}";2626 hash = "sha256-Slf6tq83LajdTnr98SuCiFIdm/6auzftnARLAOBgyng=";2727 };2828+2929+ postPatch = ''3030+ # Because the .git dir is missing, it falls back to using version 0.0.13131+ # Instead we use the version specified in the derivation3232+ substituteInPlace setup.py --replace-fail \3333+ 'version=version_from_git(root=here, dev_template="{tag}.post{ccount}")' \3434+ "version='${version}'"3535+ '';28362937 build-system = [3038 setuptools
···2626 isAttrs2727 isString2828 mapAttrs2929- filterAttrs3029 ;31303231 inherit (lib.lists)···575576 let576577 outputs = attrs.outputs or [ "out" ];577578 hasOutput = out: builtins.elem out outputs;579579+ maintainersPosition = builtins.unsafeGetAttrPos "maintainers" (attrs.meta or { });580580+ teamsPosition = builtins.unsafeGetAttrPos "teams" (attrs.meta or { });578581 in579582 {580583 # `name` derivation attribute includes cross-compilation cruft,···605604 )606605 ]607606 ++ optional (hasOutput "man") "man";608608- }609609- // (filterAttrs (_: v: v != null) {607607+610608 # CI scripts look at these to determine pings. Note that we should filter nulls out of this,611609 # or nix-env complains: https://github.com/NixOS/nix/blob/2.18.8/src/nix-env/nix-env.cc#L963612612- maintainersPosition = builtins.unsafeGetAttrPos "maintainers" (attrs.meta or { });613613- teamsPosition = builtins.unsafeGetAttrPos "teams" (attrs.meta or { });614614- })615615- // attrs.meta or { }616616- # Fill `meta.position` to identify the source location of the package.617617- // optionalAttrs (pos != null) {618618- position = pos.file + ":" + toString pos.line;610610+ ${if maintainersPosition == null then null else "maintainersPosition"} = maintainersPosition;611611+ ${if teamsPosition == null then null else "teamsPosition"} = teamsPosition;619612 }613613+ // attrs.meta or { }620614 // {615615+ # Fill `meta.position` to identify the source location of the package.616616+ ${if pos == null then null else "position"} = pos.file + ":" + toString pos.line;617617+621618 # Maintainers should be inclusive of teams.622619 # Note that there may be external consumers of this API (repology, for instance) -623620 # if you add a new maintainer or team attribute please ensure that this expectation is still met.624621 maintainers =625622 attrs.meta.maintainers or [ ] ++ concatMap (team: team.members or [ ]) attrs.meta.teams or [ ];626626- }627627- // {623623+628624 # Expose the result of the checks for everyone to see.629625 unfree = hasUnfreeLicense attrs;630626 broken = isMarkedBroken attrs;