From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 13:44:20 2020 Received: (at submit) by debbugs.gnu.org; 3 Apr 2020 17:44:20 +0000 Received: from localhost ([127.0.0.1]:43160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKQMe-0004co-Bs for submit@debbugs.gnu.org; Fri, 03 Apr 2020 13:44:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:59858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKQMc-0004cb-Uo for submit@debbugs.gnu.org; Fri, 03 Apr 2020 13:44:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKQMb-0007Pe-IN for bug-guix@gnu.org; Fri, 03 Apr 2020 13:44:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKQMa-0007vS-C2 for bug-guix@gnu.org; Fri, 03 Apr 2020 13:44:17 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42717) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jKQMa-0007sj-4V for bug-guix@gnu.org; Fri, 03 Apr 2020 13:44:16 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BE50C5C0170; Fri, 3 Apr 2020 13:44:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 03 Apr 2020 13:44:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=VshSlnlzyRK9Y8sAu88JPdF j4CtWJO5uwAn20f7A1Pw=; b=J6CuVcWZsSy8yvRhQ8Sae2c/JrnpHgxgbM78ArN YoO0dXgWevSvpX/8v1PSZmsQKq0CBG+49tsHUCj1cP+t0AC2kBpZ6wix78qr/Y+D fFynOcO9eqnrL98ZUYhCGy3clc0ldAHip1wInSc10ZWhvlEHF6Loduagtxx/YWS7 N4Gg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VshSln lzyRK9Y8sAu88JPdFj4CtWJO5uwAn20f7A1Pw=; b=Mn0VUCHirfM16VKDfNzErF gjgBCIzCzJuIUccwcOW6Ujr0Zc4PFb/iYwsD1W1Kp1ePDHxzUIKc2GqUak8lJGK4 M4tCksqkznCDD3ubUVk9x3g9qTldXlMhKdCQcx2zElJAasTVjZgs4knEOv6gql28 lQ88BAg3rr0DOqYv5AzmcqISCfn86M54Nm4rPPzNhNCn3h01RBYSVspXJPSreRD0 LBjm0e0HdoqQn5EPTP7FtlnjtkK2k8mnW6DHXQUCye8BhG/vwHHDLNEGyL5eySYf v/HK5/Au5N6y430gfBeQCcjmaRNV7g9UXJOKw6iWBwb7/77AYn5mMwEjogB1wnYg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeigdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgsehtkeertd dttdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeeirdduvdegrd dufeekrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 776FC3280067 for ; Fri, 3 Apr 2020 13:44:14 -0400 (EDT) Date: Fri, 3 Apr 2020 13:44:12 -0400 From: Leo Famulari To: bug-guix@gnu.org Subject: cargo-build-system hides the package dependency graph Message-ID: <20200403174412.GA7784@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.28 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Some Guix commands like `guix graph` and `guix show` don't work as expected for packages using the cargo-build-system. The cargo-build-system uses only the source code of a package's dependencies when building. To achieve this, the build system does not refer to dependencies with the usual 'inputs', 'native-inputs', and 'propagated-inputs', but instead with the Scheme keywords #:cargo-inputs and #:cargo-development-inputs. [0] This means that it's not possible to work with the package dependency graph like with other packages. As a result, some Guix commands don't work as expected, such as `guix graph` and `guix show`. I wonder if `guix refresh --update` works? I'm not sure if this can be improved — there is a comment in ((guix build-system cargo) expand-crate-sources) that explains why we did it this way and acknowledges the problems. [0] For example: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/crates-io.scm?id=e7a353ed468a805af6ad6b06b0dc0909393ff8fa#n89