From 3335d0bd89aa95e5ef25884a8892e918af65af02 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 16 May 2026 13:08:50 +0200 Subject: [PATCH] lasuite-meet: mark as linux only Failing Hydra build: https://hydra.nixos.org/build/328928972 Same motivation as for lasuite-docs in https://github.com/NixOS/nixpkgs/pull/520840#issuecomment-4466658295 --- pkgs/by-name/la/lasuite-meet/package.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/la/lasuite-meet/package.nix b/pkgs/by-name/la/lasuite-meet/package.nix index ee936d36244a..b152e3c53db3 100644 --- a/pkgs/by-name/la/lasuite-meet/package.nix +++ b/pkgs/by-name/la/lasuite-meet/package.nix @@ -4,7 +4,6 @@ fetchFromGitHub, nixosTests, python3, - stdenv, }: let version = "1.15.0"; @@ -21,7 +20,7 @@ let changelog = "https://github.com/suitenumerique/meet/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ soyouzpanda ]; - platforms = lib.platforms.all; + platforms = lib.platforms.linux; }; mail = callPackage ./mail.nix { inherit src version meta; }; @@ -48,16 +47,7 @@ python.pkgs.buildPythonApplication (finalAttrs: { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.10.9,<0.11.0" "uv_build" - '' - # Otherwise fails with: - # socket.gaierror: [Errno 8] nodename nor servname provided, or not known - + (lib.optionalString stdenv.hostPlatform.isDarwin '' - substituteInPlace impress/settings.py \ - --replace-fail \ - "gethostname()" \ - "gethostname() + '.local'" - ''); - __darwinAllowLocalNetworking = true; + ''; build-system = with python.pkgs; [ uv-build ];