From mboxrd@z Thu Jan  1 00:00:00 1970
From: Nam Nguyen <namn@berkeley.edu>
Subject: bug#33153: guix environment icedtea
Date: Thu, 25 Oct 2018 10:25:01 -0700
Message-ID: <20181025172501.GA25851@antelope>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42008)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1gFjOY-0002Uj-7b
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:26:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1gFjOV-0002Y4-3g
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:26:06 -0400
Received: from debbugs.gnu.org ([208.118.235.43]:38528)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1gFjOU-0002XU-HF
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:26:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1gFjOU-0002DV-3Z
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:26:02 -0400
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.33153.B.15404883528501@debbugs.gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41845)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <namluunguyen@gmail.com>) id 1gFjOC-0002Cc-3A
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:25:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <namluunguyen@gmail.com>) id 1gFjO8-0002Ii-Nr
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:25:44 -0400
Received: from mail-pl1-f172.google.com ([209.85.214.172]:40994)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <namluunguyen@gmail.com>)
	id 1gFjO8-0002Df-A8
	for bug-guix@gnu.org; Thu, 25 Oct 2018 13:25:40 -0400
Received: by mail-pl1-f172.google.com with SMTP id p5-v6so4167429plq.8
	for <bug-guix@gnu.org>; Thu, 25 Oct 2018 10:25:34 -0700 (PDT)
Received: from antelope ([24.5.139.14]) by smtp.gmail.com with ESMTPSA id
	w10-v6sm10384214pfg.1.2018.10.25.10.25.30 for <bug-guix@gnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 25 Oct 2018 10:25:32 -0700 (PDT)
Content-Disposition: inline
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
	<mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-guix/>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
	<mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org>
To: 33153@debbugs.gnu.org

I want to use guix environment with icedtea@3.7:jdk.
--8<---------------cut here---------------start------------->8---
user@antelope ~$ guix environment icedtea@3.7:jdk
user@antelope ~ [env]$ java -version
java version "1.7.0_171"
OpenJDK Runtime Environment (IcedTea 2.6.13) (linux-gnu build 1.7.0_171-b02)
OpenJDK 64-Bit Server VM (build 24.171-b02, mixed mode)
--8<---------------cut here---------------end--------------->8---

When I installed to my user profile, I was able to get the desired
icedtea version.
--8<---------------cut here---------------start------------->8---
user@antelope ~$ guix package -i icedtea@3.7:jdk
user@antelope ~$ java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (IcedTea 3.7.0) (guix build 1.8.0_161-b12)
OpenJDK 64-Bit Server VM (build 25.161-b12, mixed mode)
--8<---------------cut here---------------end--------------->8---

Is guix environment installing an incorrect version of icedtea?