From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: store reference detection (was Re: JARs and reference scanning) Date: Thu, 27 Apr 2017 19:46:46 +0200 Message-ID: <59022E86.1020709@crazy-compilers.com> References: <87a876pwaq.fsf@gmail.com> <8760hr7mwl.fsf@gmail.com> <20170426.135333.1620868924745053745.post@thomasdanckaert.be> <87fugu6jzg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3nVH-0007Lw-2K for guix-devel@gnu.org; Thu, 27 Apr 2017 13:46:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3nVE-0000pT-0m for guix-devel@gnu.org; Thu, 27 Apr 2017 13:46:55 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:48608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3nVD-0000my-Qj for guix-devel@gnu.org; Thu, 27 Apr 2017 13:46:51 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3wDPX746KQz1qrtK for ; Thu, 27 Apr 2017 19:46:47 +0200 (CEST) Received: from localhost (dynscan01.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3wDPX73byBz3jR9X for ; Thu, 27 Apr 2017 19:46:47 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan01.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id gUGmBH9a6QWD for ; Thu, 27 Apr 2017 19:46:46 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-46-244-138-119.dynamic.mnet-online.de [46.244.138.119]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 27 Apr 2017 19:46:46 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6A33A602DD for ; Thu, 27 Apr 2017 19:55:32 +0200 (CEST) In-Reply-To: <87fugu6jzg.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Am 27.04.2017 um 15:46 schrieb Ludovic Courtès: > ‘propagated-inputs’ is one way to manually specify run-time references. > It works at the package level and not at the store level—that is, the > store item’s references are unaffected by what ‘propagated-inputs’ > contains. It’s usually enough for our purposes though. I'm not sure if 'propagated-inputs' are enough. For example "python-passlib" as propagated-input python-py-bcrypt, but the later does not show up as reference, requisite nor referrer: $ ./pre-inst-env guix build --fallback python-passlib […] /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 $ ./pre-inst-env guix gc -R /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 $ ./pre-inst-env guix gc --references /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 $ ./pre-inst-env guix gc --referrers /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 /gnu/store/n9h6wr1ydgz2a2az04jpswmnl756x48r-python-passlib-1.7.1 -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |