Christopher Allan Webber <cweb...@dustycloud.org> skribis: > 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?
There was some consensus that ‘guix environment --container’ could have an option to create /usr/bin/env: https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00527.html ‘--expose’ already allows this, so essentially we’d provide a shorter option and take ‘env’ from the current ‘coreutils’ package—similar to how /bin/sh links to the current ‘bash’ already. How does that sound? Ludo’.