From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: thesis: guixsd should provide /usr/bin/env Date: Mon, 16 Nov 2015 09:19:20 +0000 Message-ID: <874mgmti7b.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyFxG-00079B-Bb for guix-devel@gnu.org; Mon, 16 Nov 2015 04:20:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyFxC-000217-E2 for guix-devel@gnu.org; Mon, 16 Nov 2015 04:20:06 -0500 Received: from pb-sasl0.int.icgroup.com ([208.72.237.25]:57773 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyFxC-0001tc-8U for guix-devel@gnu.org; Mon, 16 Nov 2015 04:20:02 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id C9F82215AA for ; Mon, 16 Nov 2015 04:19:23 -0500 (EST) Received: from pb-sasl0.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id C30AF215A9 for ; Mon, 16 Nov 2015 04:19:23 -0500 (EST) Received: from rusty (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl0.pobox.com (Postfix) with ESMTPSA id 201A6215A7 for ; Mon, 16 Nov 2015 04:19:23 -0500 (EST) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hi! I think GuixSD should follow NixOS's lead and provide /usr/bin/env. The reason is to support scripts that can run either on GuixSD or on some other system. For example instead of: #!/bin/bash we can do #!/usr/bin/env bash So we just need /usr/bin/env in the root and nothing else. Alternately, I am not sure if this would work but we could make a form of "guix environment" which populates a profile that is mounted at /usr in a container. That would allow many more non-Guix tools to run. WDYT? Andy