From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4JoiIRrskWREcQAASxT56A (envelope-from ) for ; Tue, 20 Jun 2023 20:12:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qPtKIBrskWTh7AAAG6o9tA (envelope-from ) for ; Tue, 20 Jun 2023 20:12:42 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 296A42A132 for ; Tue, 20 Jun 2023 20:12:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBfpc-00069I-Fk; Tue, 20 Jun 2023 14:11:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBfpa-000698-Ox for guix-devel@gnu.org; Tue, 20 Jun 2023 14:11:54 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qBfpX-0001pu-QL for guix-devel@gnu.org; Tue, 20 Jun 2023 14:11:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=DsqvPSZffmh2h32 vk8zYe37fJ9w3Me4wsOwlf+WANq0=; h=to:subject:date:from; d=lease-up.com; b=CmalEi6gIqfoV3lfDc5zGs535Ec4k/N3Y5+1Pvo2zfLoTpPkwlNfuKs/rvpL6HUGQmvB JhmFhQZqnlQqlWe81R4m0XEFITTSo4GS3US7tdwo8tTLsziZAOgXZECjc0PMDOUpNPU8Gj kj46DfZiE226VQFvtYajkYdSAUnmmJyCM= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 463ca7b6 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Tue, 20 Jun 2023 18:11:44 +0000 (UTC) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-4f64fb05a8aso6834544e87.0 for ; Tue, 20 Jun 2023 11:11:43 -0700 (PDT) X-Gm-Message-State: AC+VfDxwQFWCrn9xYYoEqRL1PrzaZr7N7YEkfwWTklvPh51RNTe6p4GS 5bkgh5+RSM/6ixx+AotgvOSORviF8tGPcHPfVls= X-Google-Smtp-Source: ACHHUZ4rugjqzeMB1V5JHSnUyW+EYXjZOpzS88OuZnjzhMs6AVRTXRpm+UdAp3FejQ3yJ444EMeOlpEYDP6Yn/xnoWc= X-Received: by 2002:ac2:4992:0:b0:4f6:392:6917 with SMTP id f18-20020ac24992000000b004f603926917mr9374405lfl.34.1687284701943; Tue, 20 Jun 2023 11:11:41 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 20 Jun 2023 11:11:05 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Using (recursive #t) in (origin git-reference) To: Guix Devel Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687284762; a=rsa-sha256; cv=none; b=HqFVzs0A2+NlJRDnbX+zS2COobvzyzufQCu/ZezDaebQMgDwteo3IQiyA0cspM+IcTga0x GsdgAt43KcCfsNadH/pdF016gl2wOYYGLv1V7JncjnY6cxfEc/ZHPykgiJyQmjAVE0Lmd6 CS57OOgO5aRfygTIGmnTzdCIoqQHzQnUOgICyC8qVqNX8Zz7z+eUZtWfn9x2iCXuixtV5R VF8jQpVYPitxZ/697WEicifE0cAeVkD0YyWsnPubGqWf/pCA62qCwwpq2Ardliiz8ofUuf /XGPSHNT85gRm4tTsRp0tNZIfPquxI2TO0NNfvzXVkfHSzoqAp23mSkfDOuNEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=CmalEi6g; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687284762; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iC7Fi6C7NwsuJ1RCryPtHjvFBWVLxt3u37XZV86KsiY=; b=FZL5u7g5ZSM+67zR9RoAr4BWtGUDrtuVGn0GQsgP1GzshtNN7hyXL1AU2U15aUtF8JYcex mv2A4QYIiH2sx0Wpqr5HWgdCT+icG095RU5FMeOcg5MFTChCFM1efd+LKRPNHukYOV/I7q 7cX6rikdXkAVRaANkINzrZ01lz91YoU7+F3ZbeFpW+mT+fg1THA2HYvPmqDLpjHvMrD6hW OJMoAaJ6j27BDefehB7Iduq34P2WxkH8bhYUQNVDYwHe+uBdvCEn2A+bGwsahnP6DP5422 lmK/zqjVEorSMYcr/9Mm0QAzaqAEwOC8upInn17eKDcT0GcupPRjNgCiS7AX+Q== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=CmalEi6g; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.04 X-Spam-Score: -4.04 X-Migadu-Queue-Id: 296A42A132 X-TUID: sfZLQAo2wcqD Hi, Is there a trick to fetching Git submodules with (recursive? #t)? It does not seem to work with the package definition below. The code uses Ekaitz's proposed Zig build system. [1] Thank you! Kind regards Felix [1] https://issues.guix.gnu.org/60889 * * * gnu: Add river. * gnu/packages/zig.scm (river): New variable. 1 file changed, 45 insertions(+), 2 deletions(-) gnu/packages/zig-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++-- modified gnu/packages/zig-xyz.scm @@ -21,10 +22,52 @@ (define-module (gnu packages zig-xyz) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) + #:use-module (guix build-system zig) #:use-module (guix gexp) #:use-module (gnu packages) - #:use-module (gnu packages zig) - #:use-module (gnu packages python)) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages man) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages wm) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xorg) + #:use-module (gnu packages zig)) + +(define-public river + (package + (name "river") + (version "0.2.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/riverwm/river") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kh5yh2a47vr2q9paivmm3d57rcbb3f2p6d4f4r4k6f7jf62391n")))) + (build-system zig-build-system) + (arguments + (list + #:zig-build-flags #~(list "-Dxwayland") ;experimental xwayland support + #:zig-release-type "safe")) + (native-inputs (list + libevdev + libxkbcommon + pkg-config + pixman + scdoc + wayland + wayland-protocols + wlroots)) + (home-page "https://github.com/riverwm/river") + (synopsis "Dynamic tiling Wayland compositor") + (description "River is a dynamic tiling Wayland compositor with flexible +runtime configuration. It can run nested in an X11/Wayland session or also +directly from a tty using KMS/DRM.") + (license license:gpl3))) (define-public zig-zls (package