From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35864: ~/.local/bin is missing in default PATH on Guix System Date: Fri, 24 May 2019 12:36:16 +0200 Message-ID: <20190524103616.mwsfdafbivornmet@pelzflorian.localdomain> References: <20190523122715.2oncjxqvpkl2ylbw@pelzflorian.localdomain> <87ef4pgsql.fsf@elephly.net> <20190523153138.6kspxwfzeisntll5@pelzflorian.localdomain> <87lfyxvuip.fsf@nckx> <20190523223614.rl2hqtdknhidmccx@pelzflorian.localdomain> <20190524052324.ab5tp2xslv3g3cal@pelzflorian.localdomain> <87sgt4fkbd.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU7h3-0008As-NJ for bug-guix@gnu.org; Fri, 24 May 2019 06:44:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hU7ZO-000574-I8 for bug-guix@gnu.org; Fri, 24 May 2019 06:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hU7ZN-00056V-QS for bug-guix@gnu.org; Fri, 24 May 2019 06:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hU7ZN-00012e-KS for bug-guix@gnu.org; Fri, 24 May 2019 06:37:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87sgt4fkbd.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 35864@debbugs.gnu.org On Fri, May 24, 2019 at 08:17:10AM +0200, Ricardo Wurmus wrote: > > pelzflorian (Florian Pelz) writes: > > > Currently for a simple GTK application of mine, on other distros I run > > it by > > > > dont-hang > > > > but on Guix I have to run it with: > > > > LD_LIBRARY_PATH=/gnu/store/b9p5rhhci7w1zgvv4j0fm2izk86cgnyd-gtk+-3.24.7/lib:/gnu/store/z7myqdqz5i4ahw57l5hagdkmzwz5g2wv-pango-1.42.4/lib:/gnu/store/5yaa39a8rvq8xdv8h37n29sxfmnlcv12-atk-2.32.0/lib:/gnu/store/4d8rc6vjkhsk1b20rigz0nzl7zffn4b5-cairo-1.16.0/lib:/gnu/store/h7wv1qgpascffzi5xlpagnc0hpiv2523-gdk-pixbuf+svg-2.38.1/lib:/gnu/store/0q9pq9flr76rh4bv2524niknknnl2kvq-glib-2.56.3/lib:$LD_LIBRARY_PATH PATH=$HOME/.local/bin:$PATH dont-hang > > > > Adding ~/.local/bin to the path would remove the small part on the > > right. Patching ninja could probably remove the need for > > LD_LIBRARY_PATH. > > Specifying the RUNPATH during compilation would allow you to get rid of > LD_LIBRARY_PATH. What build system are you using? > Yes. I am using Meson. I would like instructions like mine to work because they work on other distros. Regards, Florian