From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id lrhXBFUDvGHdWgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 04:26:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uHEEO1QDvGGHMAAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 03:26:12 +0000 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 72A2E33AE4 for ; Fri, 17 Dec 2021 04:26:12 +0100 (CET) Received: from localhost ([::1]:35376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my3so-0003Ik-Lh for larch@yhetil.org; Thu, 16 Dec 2021 22:26:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my3nQ-0001O4-8D for help-guix@gnu.org; Thu, 16 Dec 2021 22:20:37 -0500 Received: from mx1.riseup.net ([198.252.153.129]:41340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my3nH-0001wo-76 for help-guix@gnu.org; Thu, 16 Dec 2021 22:20:34 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4JFZ4750NSzF43k for ; Thu, 16 Dec 2021 19:20:23 -0800 (PST) X-Riseup-User-ID: 4C7E0C61287EEEF46DDBA56E444453A7F501EAB3BB0D94E1B3BAC68151146C8A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4JFZ473H3Fz5vjh for ; Thu, 16 Dec 2021 19:20:23 -0800 (PST) To: help-guix@gnu.org From: Jim Newsome Subject: Reference a store path of an input? Message-ID: Date: Thu, 16 Dec 2021 21:20:22 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=jim@sporksmith.net; helo=mx1.riseup.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 16 Dec 2021 22:25:48 -0500 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639711572; 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; bh=e11n+zGEI80rMi3P7gH3kXpZzFThPw+fSsxzNBdCXY8=; b=A0b7qbj5tZrP09O1QpFE5YXPUfD3XRAKVGrHrX0P4LRXrBGv2uzxGA5bvMU8Yh8OfSmEHU teH9zq3yzHso3p6sXNKfWyOdUjkc9WJfDmg6xEhlOdk8SEQJZ3XP25D556PssIKvdND5qE VYA90IEnqy/+uIsm/bbQ+vjXSxrtkjzzS5dokqUfuhqiCvWqXAn2jV1/v5/zg8ehKhktRM 0Id59bmWOOzVtvHP/Rs2xkip4U0X2nRhrrB9Vb3mahhOGPwCNRpqeV3leL0lSEFoGF7OdT eNgqwozyl5akm7AdxY87pFhR4lzQ85o3ylG/DCZa9lAWzgLjnO4XY/0fPr90IQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639711572; a=rsa-sha256; cv=none; b=lT74WAciKlNpg5WhTgIkNGXt7QwIbebq/hxPbRF2PyBWx8WfSsmOFKBnw2johF3guza+Gj mkHoSYbqQteZoEbpSx6zw8SyLQULLcoSxaF4dyXUWImk2q8eBlb4gcdWYzWqUjbWGJvg/g tTTyXIh9RlLnKLhSvn1IacsS/EUjD1qdY6x/zrOy5NIc8+i+AUpbMXs98xfUNUWRCtP9fg 1khGaZZyRLU6l0JI+BuyehnEtaADrE/QoaeJJ1i4h7QRxvFhIoHm/7KTvKrNufNXx3ssbQ QvjV+RFO5QZ2NEMmG0w1Drnd+L652dh+Pq2tdN9aRPUl1fsietfwWROdTdQ2Cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: -2.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: 72A2E33AE4 X-Spam-Score: -2.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: OlAQeXvii+7R I'm just getting started experimenting with guix and guile, so I'm likely missing something obvious. I'm trying to write a package definition for some software that builds with cmake and uses glib. The software searches some paths explicitly to find the glib headers etc; it should be fixed to use pkg-config instead, but I'd like to figure out how to work around it both as a learning exercise and so that I can work around it before I can get a fix merged. I'd like to add some explicit flags to the cmake invocation so that it knows where to find glib. What do I substitute in for "get-store-path" below? Pointers to how I might have found the appropriate helper or approach on my own also appreciated. ``` (define-public oniontrace (package (name "oniontrace") (build-system cmake-build-system) (inputs `(("glib", glib))) (arguments '(#:configure-flags (list (string-append "-DCMAKE_EXTRA_INCLUDES=" (get-store-path "glib") "/include")))) ... ```