From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AMw7LwHg+mVwIQEAe85BDQ:P1 (envelope-from ) for ; Wed, 20 Mar 2024 14:09:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AMw7LwHg+mVwIQEAe85BDQ (envelope-from ) for ; Wed, 20 Mar 2024 14:09:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=outlook.com header.s=selector1 header.b="F/XkmLXH"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1710940161; a=rsa-sha256; cv=fail; b=sjfvCf+q2pDeKylrRjH79AWfKs90GfPedvcTf6/OspxaihGNDK7ni94ouybUXk7jpT2FQf zwFzTvv8fKlzOKnScstYLSMY+VAeN2fSnkgRzxMOszQO12G4t93P9pfOJQgjeKuMePlwCh Rpy/zb0sEo2gNVRNGqXELgG7PUsmUEvOyKKyS0kh+YSeHJOJpO76tPXI0N2q+aNR3ayShf ZBr9HH8o3o2PGitB64uvmjD9j01hp2E7nwv1v5m24M2W/hW1qGO/KiCfaZG1e1b57Ig/MZ g9PBvhVlsLbZOSrVpj/hMu91/Y6pI4y0XlMXBZ3pKpLrjblMTD6P8ShHb1ORdA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=outlook.com header.s=selector1 header.b="F/XkmLXH"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710940161; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fKqrrt/nyMv2zKnBfJcJqTUruzMkWlT+wKWBKr/4J6w=; b=mXJ3OW/XDQM4FtXLT9BQijex5/qGgppT/z5R/ALDEaEGEUOZC/5d+w8xnIeeSj7iX5jxdu ynuqnN8T/u6eERcGasoM6mI4xalATdB63Ec8oufpV05ZAKMjBUwZWPdizTI8K9IZeeO5lL w8F1htAdGWb1k15Q1mtRQpHdeR3jwm3/tIs9yWD6fz6LxuPM+9QngSDRI1ASVgcjWHWwvP pIrzTmNP8wWkK5HO2k4SZBOhJp8i9PtePhWfmoxjI/K9BD3KYw1BnUMw6DR/oiNaAhNMhr Si7p/FKvti2rQmW1jz/eThQZmq6iTPhmjr5lIimSglPuHAkTS+DcUixq/g6Lzg== 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 94F2170948 for ; Wed, 20 Mar 2024 14:09:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmvgn-0004sW-Lf; Wed, 20 Mar 2024 09:09:05 -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 1rmvgm-0004sE-08 for help-guix@gnu.org; Wed, 20 Mar 2024 09:09:04 -0400 Received: from mail-sy4aus01olkn20801.outbound.protection.outlook.com ([2a01:111:f403:2819::801] helo=AUS01-SY4-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmvgi-0006vA-Bx for help-guix@gnu.org; Wed, 20 Mar 2024 09:09:03 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dYVcsHCqXLyG7aHVkQxTjqa281NoXQVo9Sf9fCteW/EMT40rks0Gm0eZIo2oUd5/FeHBQ5IHbJNMYpBymIL4eCf2Q9e7C6LiGifbqtYlcqHfXUZycnVZdnXtErDkrUkvP+lIx45ct6wN3nouPCklEU8b20tHTCac2JTqE/SOvmkXJdLsqaAFULZ2d55HDny18JSEZy8oulXZ4cGMIFvCBI3t0xe8ZP/bLosfQ/16UAcPposJwF/3RRslJlqZ327YvXokiamBgpU8BNzSBCi82ZhuXrcVjFAcmerEYkXhKPEWAEenYMk5VpneBBKzlwYFwto8RbMUStyoj7TG+o3qCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IKeWroeiuAp/MFMc9KptWF4hlKNi2HD1qCey7DaNXqI=; b=SlXsuKreHxK2LpVxW8CxfPPHoxll3EU3XlvR5N7nQNuzWS/EqVoYN75HkMoHRfQCdzKWF4soSpcDjpoHCArtoYctV7whrXFcCqsXUUGWgNc2zpNyCACA3v3Vt5MHA7Yok9cHasvq84JBQXQWf2+XMs9xJbwysfwGL2REc24wH5+36GNOW5cA1T21o2fmj8458UXcuAYQrzsLLvdmEwB4reyHGDH+4M009ggSxjWiicqp0MyHvETbVejrhM6hjtKvFqhlU8qQcfS3QAD06QgLLQL9P5b77nwBMMUxFeMr4xihIyQDuq9QBOukzQgThrFYIJszwo6uZEmlV080b2Gk7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IKeWroeiuAp/MFMc9KptWF4hlKNi2HD1qCey7DaNXqI=; b=F/XkmLXHHFq57qX0fasQbdaqUGnvRq93WHD+lnuednAC6dfV5pS/slQM6Tcnkrlj4OShICthaAq0aa3hBqzktXvIlSSyU9inUV+QjSNmT9tUwTI0sIycxUGVppWuGXBmuzwTDYLXxDv0MVnFbCu+/6kFRLv4H34u5V3zbJYyUfnuJHrcgERO8VScoKiPqy14xOAKmCq/Vy4pTg4Iiy87SKmLp0uKYl3lzEvOHNyBZFM/aclGFPKMRqROztA7uHHYHReknI8unEqniosRDo27JaS4vWFjifnP2jF3YgnG9adiUhjFoFI6MfolVRk1Fjjx9oTnlCs58pM+pZd7ZFmhuw== Received: from ME3P282MB3920.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:1b4::12) by SYYP282MB1264.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:72::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.35; Wed, 20 Mar 2024 13:03:50 +0000 Received: from ME3P282MB3920.AUSP282.PROD.OUTLOOK.COM ([fe80::9885:597:44e8:f9e7]) by ME3P282MB3920.AUSP282.PROD.OUTLOOK.COM ([fe80::9885:597:44e8:f9e7%4]) with mapi id 15.20.7386.031; Wed, 20 Mar 2024 13:03:50 +0000 Message-ID: Date: Wed, 20 Mar 2024 21:03:41 +0800 User-Agent: Betterbird (Linux) Content-Language: en-US To: help-guix@gnu.org From: rczb Subject: Cargo build process failed with `failed to get `ahash` as a dependency` X-TMN: [w2BiGfNDoa9wDWH6P0RScx8PyLWA4ilchvRXbGxgQjUzHYcaVtssuw==] X-ClientProxiedBy: SI2PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:194::15) To ME3P282MB3920.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:1b4::12) X-Microsoft-Original-Message-ID: <452ccacc-637d-4873-80b1-4d5ce1885485@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: ME3P282MB3920:EE_|SYYP282MB1264:EE_ X-MS-Office365-Filtering-Correlation-Id: 1413881b-9d8e-465f-5e78-08dc48de2f43 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WkGFDBQk3d36lrYaciJX++YKxlEgnW8DV4Jl9tJoW7nlnnS93fqS60c1Skjy0CS8ti1VaeMyPxB4la5I5SfWVevMdiVF58+Ztza6sY2wTGJ63MFnV3PyGHuMF36rC9EU5dQHtqxR+CdwhckU2xO9RHoWKyBiO9WTgicCrHFyZXHfuahFV/oyRPquKvjf2fvkN1wWwODTTNQXZ6FqGoxizOdSXkqpHxyHXysyMopjrukQ3hBEo0BVK/mibwt1qrGsdNkU93lElX5owWfMl5Pr2DvWjEi3NQ3b8cfH8h+22mMrNcaXhHTT7xRqAn21H1dEToXyygXYIXNpzZD8Vdr/BPu8flCRqF1RediRFN89KKnXTX7aHTG5WsCrG3YwL5+QVfzMaqvW10OWvjU8PexyW7ZFTsvjG4Jyk5B9invqM+C+taH85E1OdQh0cu8/K94C45n68Fvu/TcZWnarLHtOKmlE9+uokE3PcEy37CVQBA7YE+EICLTHzVT/R+545rMPr4GPsUKaszTPh4aiFf6nncEAd7grGkNA3GBpUBzWnd3oNVjun5IAQKYwPN3k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hJMEVVYk9ZeVdGMk03N0M3aDM0Si9I?= =?utf-8?B?Ym1TdTZIL0xxeUxRRDYrNE9yK2pMYnlRcStrSXhZN3lCSENheUFER3pJTHF0?= =?utf-8?Q?cr90J7YCX2cDEu5njMz4?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1413881b-9d8e-465f-5e78-08dc48de2f43 X-MS-Exchange-CrossTenant-AuthSource: ME3P282MB3920.AUSP282.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2024 13:03:50.7316 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYYP282MB1264 Received-SPF: pass client-ip=2a01:111:f403:2819::801; envelope-from=rc-zb@outlook.com; helo=AUS01-SY4-obe.outbound.protection.outlook.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.21 X-Spam-Score: -4.21 X-Migadu-Queue-Id: 94F2170948 X-TUID: JC4RHj59GijX I tried to pack Helix with Guix, and imitated the script in Nixpkgs . The build process failed with errors: ``` starting phase `build' warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions error: failed to get `ahash` as a dependency of package `helix-core v0.6.0 (/tmp/guix-build-helix-23.10.drv-0/helix-core)` Caused by:  failed to load source for dependency `ahash` Caused by:  Unable to update registry `crates-io` Caused by:  failed to update replaced source registry `crates-io` Caused by:  found a virtual manifest at `/tmp/guix-build-helix-23.10.drv-0/book/guix-vendor/helix-23.10-source.tar.xz/Cargo.toml` instead of a package manifest error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "cargo" arguments: ("build" "--release") exit-status: 101 term-signal: #f stop-signal: #f> phase`build' failed after0.1 seconds command "cargo" "build" "--release" failed with status 101 builder for `/gnu/store/xajyrjcr51k6vhlxzl2n5x13sdx1f74i-helix-23.10.drv' failed with exit code 1 build of /gnu/store/xajyrjcr51k6vhlxzl2n5x13sdx1f74i-helix-23.10.drv failed View build log at '/var/log/guix/drvs/xa/jyrjcr51k6vhlxzl2n5x13sdx1f74i-helix-23.10.drv.gz'. guix build: error: build of `/gnu/store/xajyrjcr51k6vhlxzl2n5x13sdx1f74i-helix-23.10.drv' failed ``` According to the official guide , the flags `|--path helix-term --locked|` are needed for Cargo. But I couldn't find how this can be done, 'cause `cargo-build-system` lacks the `build-flags` parameter. Build Script ``` (define-module (gnu packages helix)  #:use-module (gnu packages version-control)  #:use-module (guix gexp)  #:use-module (guix packages)  #:use-module (guix download)  #:use-module (guix build-system cargo)  #:use-module (guix licenses)) (define-public helix  (package   (name "helix")   (version "23.10")   (source (origin            (method url-fetch)            (uri (string-append "https://github.com/helix-editor/helix/releases/download/"                                version                                "/helix-"                                version                                "-source.tar.xz"))            (sha256 (base32 "1s2k458wr3612jp4k4rmf338si2f3qbgvgcny74mp8di031clysf"))))   (build-system cargo-build-system)   (native-inputs (list git))   (arguments (list #:phases                    #~(modify-phases %standard-phases                        (add-after 'install 'organize                          (lambda* (#:key outputs #:allow-other-keys)                            (let* ((working-dir (assoc-ref outputs "out"))                                   (runtime-dir (string-append working-dir "/runtime"))                                   (sources-dir (string-append runtime-dir "/grammars/sources"))                                   (contrib-dir (string-append working-dir "/contrib"))                                   (lib-dir (string-append working-dir "/lib"))                                   (entry-dir (string-append working-dir "/share/applications"))                                   (fonts-dir (string-append working-dir "/share/icons/hicolor/256x256/apps")))                              (delete-file-recursively sources-dir)                              (mkdir-p lib-dir)                              (copy-recursively runtime-dir lib-dir)                              (mkdir-p entry-dir)                              (copy-recursively (string-append contrib-dir "/Helix.desktop") entry-dir)                              (mkdir-p fonts-dir)                              (copy-recursively (string-append contrib-dir "/helix.png") fonts-dir))))                        (add-before 'validate-runpath 'wrap                          (lambda* (#:key outputs #:allow-other-keys)                            (let* ((working-dir (assoc-ref outputs "out"))                                   (excutable (string-append working-dir "/bin/hx"))                                   (lib-runtime-dir (string-append working-dir "/lib/runtime")))                              (wrap-program excutable                                '("HELIX_RUNTIME" ":" = lib-runtime-dir))))))))   (synopsis "A post-modern modal text editor")   (description "A Kakoune / Neovim inspired editor, written in Rust.")   (home-page "https://helix-editor.com/")   (license mpl2.0)   (supported-systems (list "x86_64-linux" "aarch64-linux")))) helix ```