env-fill want-module.cue
env-fill want-module-experiment.cue

rm cue.mod
exec cue mod init foo.com/bar@v1
cmp cue.mod/module.cue want-module-experiment.cue
! exists cue.mod/usr
! exists cue.mod/pkg

-- want-module.cue --
module: "foo.com/bar@v1"
language: {
	version: "$CUE_LANGUAGE_VERSION"
}
-- want-module-experiment.cue --
module: "foo.com/bar@v1"
language: {
	version: "$CUE_LANGUAGE_VERSION"
}
