From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: #!/usr/bin/env in containers, or something Date: Fri, 21 Oct 2016 14:16:31 -0500 Message-ID: <878tth1pio.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxfJ3-0002nV-LY for guix-devel@gnu.org; Fri, 21 Oct 2016 15:16:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxfJ0-0004yh-H4 for guix-devel@gnu.org; Fri, 21 Oct 2016 15:16:41 -0400 Received: from dustycloud.org ([50.116.34.160]:38968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxfJ0-0004yY-Cy for guix-devel@gnu.org; Fri, 21 Oct 2016 15:16:38 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 67C3B266D7 for ; Fri, 21 Oct 2016 15:16:32 -0400 (EDT) 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 I'm currently looking at building a version of coreboot. Unfortunately, the mortal enemy of every GuixSD user, #!/usr/bin/env, lurks around every corner. Wingo made an interesting suggestion on IRC today: maybe we could have some "guix environment --container" CLI mapping /usr/bin/env. I know we want "purity" and it's annoying that /usr/bin/env even exists, but there are times where you're trying to do some development on some upstream package, and it's not possible if you can't get /usr/bin/env into your development environment. Sinc we can make containers --pure, I think it would be okay to have /usr/bin/env in this circumstance. What do people think? - Chris