diff --git a/numba/core/types/containers.py b/numba/core/types/containers.py
index 67baead13..87f4258c9 100644
--- a/numba/core/types/containers.py
+++ b/numba/core/types/containers.py
@@ -442,7 +442,7 @@ class List(MutableSequence, InitialValue):
                     use = siv
                     if siv is None:
                         use = oiv
-                    return List(dtype, reflected, use.initial_value)
+                    return List(dtype, reflected, use)
                 else:
                     return List(dtype, reflected)
 

list of list (nested build_list) fails on master
<!--

Thanks for opening an issue! To help the Numba team handle your information
efficiently, please first ensure that there is no other issue present that
already describes the issue you have
(search at https://github.com/numba/numba/issues?&q=is%3Aissue).

-->

## Reporting a bug

<!--

Before submitting a bug report please ensure that you can check off these boxes:

-->

- [x] I have tried using the latest ~released~ master version of Numba (most recent is
 visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
- [x] I have included below a minimal working reproducer (if you are unsure how
 to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

<!--

Please include details of the bug here, including, if applicable, what you
expected to happen!

-->
Seems related to the new list initial value feature. @stuartarchibald ?

```python
In [7]: numba.__version__
Out[7]: '0.51.0dev0+497.g4aceb2727'

In [8]: numba.njit(lambda: [[1, 2, 3, 4, 5], [1, 2, 3, 4, 6]])()
---------------------------------------------------------------------------
TypingError                               Traceback (most recent call last)
<ipython-input-8-7fdc3277fbc9> in <module>
----> 1 numba.njit(lambda: [[1, 2, 3, 4, 5], [1, 2, 3, 4, 6]])()

~/dev/numba/numba/core/dispatcher.py in _compile_for_args(self, *args, **kws)
    413                 e.patch_message(msg)
    414
--> 415             error_rewrite(e, 'typing')
    416         except errors.UnsupportedError as e:
    417             # Something unsupported is present in the user code, add help info

~/dev/numba/numba/core/dispatcher.py in error_rewrite(e, issue_type)
    356                 raise e
    357             else:
--> 358                 reraise(type(e), e, None)
    359
    360         argtypes = []

~/dev/numba/numba/core/utils.py in reraise(tp, value, tb)
     78         value = tp()
     79     if value.__traceback__ is not tb:
---> 80         raise value.with_traceback(tb)
     81     raise value
     82

TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Internal error at <numba.core.typeinfer.BuildListConstraint object at 0x7fd342d54f70>.
'list' object has no attribute 'initial_value'
During: typing of <class 'numba.core.types.containers.List'> at <ipython-input-8-7fdc3277fbc9> (1)
Enable logging at debug level for details.

File "<ipython-input-8-7fdc3277fbc9>", line 1:
numba.njit(lambda: [[1, 2, 3, 4, 5], [1, 2, 3, 4, 6]])()
^
```
diff --git a/numba/tests/test_lists.py b/numba/tests/test_lists.py
index 5c7672a63..0ae2bb366 100644
--- a/numba/tests/test_lists.py
+++ b/numba/tests/test_lists.py
@@ -1516,6 +1516,22 @@ class TestListInitialValues(MemoryLeakMixin, TestCase):
             larg = baz.signatures[0][0]
             self.assertEqual(larg.initial_value, iv)
 
+    def test_list_of_list_ctor(self):
+        # see issue 6082
+        @njit
+        def bar(x):
+            pass
+
+        @njit
+        def foo():
+            x = [[1, 2, 3, 4, 5], [1, 2, 3, 4, 6]]
+            bar(x)
+
+        foo()
+        larg = bar.signatures[0][0]
+        self.assertEqual(larg.initial_value, None)
+        self.assertEqual(larg.dtype.initial_value, None)
+
 
 class TestLiteralLists(MemoryLeakMixin, TestCase):
 

pip install -e .
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc g++
3.7
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
certifi @ file:///croot/certifi_1671487769961/work/certifi
exceptiongroup==1.2.2
importlib-metadata==6.7.0
iniconfig==2.0.0
llvmlite==0.33.0
-e git+https://github.com/numba/numba.git@4aceb2727b2e07916d480573e536c35687ac3f40#egg=numba
numpy==1.21.6
packaging==24.0
pluggy==1.2.0
pytest==7.4.4
tomli==2.0.1
typing_extensions==4.7.1
zipp==3.15.0

name: numba
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - argparse==1.4.0
      - exceptiongroup==1.2.2
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - llvmlite==0.33.0
      - numpy==1.21.6
      - packaging==24.0
      - pluggy==1.2.0
      - pytest==7.4.4
      - tomli==2.0.1
      - typing-extensions==4.7.1
      - zipp==3.15.0
prefix: /opt/conda/envs/numba

numba/tests/test_lists.py::TestListInitialValues::test_list_of_list_ctor
numba/tests/test_lists.py::TestLists::test_add numba/tests/test_lists.py::TestLists::test_add_heterogeneous numba/tests/test_lists.py::TestLists::test_add_inplace numba/tests/test_lists.py::TestLists::test_add_inplace_heterogeneous numba/tests/test_lists.py::TestLists::test_append numba/tests/test_lists.py::TestLists::test_append_heterogeneous numba/tests/test_lists.py::TestLists::test_bool numba/tests/test_lists.py::TestLists::test_bool_list numba/tests/test_lists.py::TestLists::test_clear numba/tests/test_lists.py::TestLists::test_constructor numba/tests/test_lists.py::TestLists::test_constructor_empty numba/tests/test_lists.py::TestLists::test_constructor_empty_but_typeable numba/tests/test_lists.py::TestLists::test_contains numba/tests/test_lists.py::TestLists::test_copy numba/tests/test_lists.py::TestLists::test_count numba/tests/test_lists.py::TestLists::test_create_list numba/tests/test_lists.py::TestLists::test_create_nested_list numba/tests/test_lists.py::TestLists::test_delslice0 numba/tests/test_lists.py::TestLists::test_delslice1 numba/tests/test_lists.py::TestLists::test_delslice2 numba/tests/test_lists.py::TestLists::test_eq numba/tests/test_lists.py::TestLists::test_extend numba/tests/test_lists.py::TestLists::test_extend_heterogeneous numba/tests/test_lists.py::TestLists::test_ge numba/tests/test_lists.py::TestLists::test_getitem numba/tests/test_lists.py::TestLists::test_getslice2 numba/tests/test_lists.py::TestLists::test_getslice3 numba/tests/test_lists.py::TestLists::test_gt numba/tests/test_lists.py::TestLists::test_identity numba/tests/test_lists.py::TestLists::test_index1 numba/tests/test_lists.py::TestLists::test_index2 numba/tests/test_lists.py::TestLists::test_index3 numba/tests/test_lists.py::TestLists::test_insert numba/tests/test_lists.py::TestLists::test_invalid_slice numba/tests/test_lists.py::TestLists::test_iteration numba/tests/test_lists.py::TestLists::test_le numba/tests/test_lists.py::TestLists::test_len numba/tests/test_lists.py::TestLists::test_list_comprehension numba/tests/test_lists.py::TestLists::test_list_passing numba/tests/test_lists.py::TestLists::test_lt numba/tests/test_lists.py::TestLists::test_mul numba/tests/test_lists.py::TestLists::test_mul_error numba/tests/test_lists.py::TestLists::test_mul_inplace numba/tests/test_lists.py::TestLists::test_ne numba/tests/test_lists.py::TestLists::test_pop0 numba/tests/test_lists.py::TestLists::test_pop1 numba/tests/test_lists.py::TestLists::test_pop_errors numba/tests/test_lists.py::TestLists::test_remove numba/tests/test_lists.py::TestLists::test_remove_error numba/tests/test_lists.py::TestLists::test_reverse numba/tests/test_lists.py::TestLists::test_setitem numba/tests/test_lists.py::TestLists::test_setslice2 numba/tests/test_lists.py::TestLists::test_setslice3 numba/tests/test_lists.py::TestLists::test_setslice3_resize numba/tests/test_lists.py::TestUnboxing::test_errors numba/tests/test_lists.py::TestUnboxing::test_list_inside_tuple numba/tests/test_lists.py::TestUnboxing::test_list_of_tuples_inside_tuple numba/tests/test_lists.py::TestUnboxing::test_numbers numba/tests/test_lists.py::TestUnboxing::test_tuples numba/tests/test_lists.py::TestListReflection::test_reflect_clean numba/tests/test_lists.py::TestListReflection::test_reflect_conditional numba/tests/test_lists.py::TestListReflection::test_reflect_exception numba/tests/test_lists.py::TestListReflection::test_reflect_same_list numba/tests/test_lists.py::TestListReflection::test_reflect_simple numba/tests/test_lists.py::TestListManagedElements::test_append numba/tests/test_lists.py::TestListManagedElements::test_append_noret numba/tests/test_lists.py::TestListManagedElements::test_del_range numba/tests/test_lists.py::TestListManagedElements::test_get_slice numba/tests/test_lists.py::TestListManagedElements::test_list_of_list numba/tests/test_lists.py::TestListManagedElements::test_pop numba/tests/test_lists.py::TestListManagedElements::test_pop_loc numba/tests/test_lists.py::TestListManagedElements::test_reassign_refct numba/tests/test_lists.py::TestListManagedElements::test_reflect_appended numba/tests/test_lists.py::TestListManagedElements::test_reflect_passthru numba/tests/test_lists.py::TestListManagedElements::test_reflect_popped numba/tests/test_lists.py::TestListManagedElements::test_reflect_setitem numba/tests/test_lists.py::TestListManagedElements::test_set_slice numba/tests/test_lists.py::TestListOfList::test_c01 numba/tests/test_lists.py::TestListOfList::test_c02 numba/tests/test_lists.py::TestListOfList::test_c03 numba/tests/test_lists.py::TestListOfList::test_c04 numba/tests/test_lists.py::TestListOfList::test_c05 numba/tests/test_lists.py::TestListOfList::test_c06 numba/tests/test_lists.py::TestListOfList::test_c07 numba/tests/test_lists.py::TestListOfList::test_c08 numba/tests/test_lists.py::TestListOfList::test_c09 numba/tests/test_lists.py::TestListOfList::test_c10 numba/tests/test_lists.py::TestListOfList::test_c11 numba/tests/test_lists.py::TestListOfList::test_c12 numba/tests/test_lists.py::TestListOfList::test_heterogeneous_list numba/tests/test_lists.py::TestListOfList::test_heterogeneous_list_error numba/tests/test_lists.py::TestListOfList::test_list_of_list_reflected numba/tests/test_lists.py::TestListOfList::test_returning_list_of_list numba/tests/test_lists.py::TestListAndJitClasses::test_jitclass_containing_list numba/tests/test_lists.py::TestListAndJitClasses::test_jitclass_instance_elements numba/tests/test_lists.py::TestListInitialValues::test_heterogeneous_but_castable_to_homogeneous numba/tests/test_lists.py::TestListInitialValues::test_homogeneous_and_literal numba/tests/test_lists.py::TestListInitialValues::test_mutation_not_carried numba/tests/test_lists.py::TestListInitialValues::test_mutation_not_carried_single_function numba/tests/test_lists.py::TestLiteralLists::test_basic_compile numba/tests/test_lists.py::TestLiteralLists::test_contains numba/tests/test_lists.py::TestLiteralLists::test_copy numba/tests/test_lists.py::TestLiteralLists::test_count numba/tests/test_lists.py::TestLiteralLists::test_getitem numba/tests/test_lists.py::TestLiteralLists::test_index numba/tests/test_lists.py::TestLiteralLists::test_len numba/tests/test_lists.py::TestLiteralLists::test_literal_value_involved_passthrough numba/tests/test_lists.py::TestLiteralLists::test_literal_value_passthrough numba/tests/test_lists.py::TestLiteralLists::test_mutation_failure numba/tests/test_lists.py::TestLiteralLists::test_not_unify numba/tests/test_lists.py::TestLiteralLists::test_setitem numba/tests/test_lists.py::TestLiteralLists::test_staticgetitem numba/tests/test_lists.py::TestLiteralLists::test_unify
numba/core/types/containers.py
numba/core/types/containers.py