diff --git a/Changelog.md b/Changelog.md
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,10 @@
+### 0.6.0.2
+
+- *nhm-tool*: GHC's *Project Unit Id* must be considered in Cabal *3.12* and
+  newer and GHC *9.8* and newer.
+- *nhm-tool*: pass GHC option *-package-env* explicitly because Cabal *3.16*
+  strives to hide custom GHC environments.
+
 ### 0.6.0.1
 
 - *nhm-tool*: refactor parsing of *ldd* output, previously it could fail in rare
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
 The following license covers this documentation, and the source code, except
 where otherwise indicated.
 
-Copyright 2021-2024, Alexey Radkov. All rights reserved.
+Copyright 2021-2026, Alexey Radkov. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
diff --git a/NgxExport/Distribution.hs b/NgxExport/Distribution.hs
--- a/NgxExport/Distribution.hs
+++ b/NgxExport/Distribution.hs
@@ -3,7 +3,7 @@
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  NgxExport.Distribution
--- Copyright   :  (c) Alexey Radkov 2021-2024
+-- Copyright   :  (c) Alexey Radkov 2021-2026
 -- License     :  BSD-style
 --
 -- Maintainer  :  alexey.radkov@gmail.com
diff --git a/ngx-export-distribution.cabal b/ngx-export-distribution.cabal
--- a/ngx-export-distribution.cabal
+++ b/ngx-export-distribution.cabal
@@ -1,5 +1,5 @@
 name:                       ngx-export-distribution
-version:                    0.6.0.1
+version:                    0.6.0.2
 synopsis:                   Build custom libraries for Nginx Haskell module
 description:                Build custom libraries for
         <https://github.com/lyokha/nginx-haskell-module Nginx Haskell module>.
@@ -10,7 +10,7 @@
 author:                     Alexey Radkov <alexey.radkov@gmail.com>
 maintainer:                 Alexey Radkov <alexey.radkov@gmail.com>
 stability:                  experimental
-copyright:                  2021-2024 Alexey Radkov
+copyright:                  2021-2026 Alexey Radkov
 category:                   Network
 build-type:                 Simple
 cabal-version:              1.20
diff --git a/nhm-tool.hs b/nhm-tool.hs
--- a/nhm-tool.hs
+++ b/nhm-tool.hs
@@ -545,7 +545,7 @@
      \CABALVER := $(shell $(CABAL) --numeric-version)\n\
      \GHCPUID := $(shell \\\n\
      \    if printf '3.12\\n$(CABALVER)' | sort -VC && \\\n\
-     \       printf '9.10\\n$(GHCVER)' | sort -VC; \\\n\
+     \       printf '9.8\\n$(GHCVER)' | sort -VC; \\\n\
      \    then ghcpuid=`$(GHC) --info | sed -n \\\n\
      \             's/^.*\\x28\"Project Unit Id\",\"\\(.*\\)\"\\x29.*$$/\
      \\\1/ip'`; \\\n\
@@ -597,7 +597,8 @@
      "\trunhaskell --ghc-arg=-package=base \\\n\
      \\t  --ghc-arg=-package=\"$(PKGDISTR)\" Setup.hs build \\\n\
      \\t  --builddir=\"$(BUILDDIR)\" \\\n\
-     \\t  --ghc-options=\"$(SRC) -o $(LIB) $(LINKRTS)\"\n\
+     \\t  --ghc-options=\"$(SRC) -o $(LIB) -package-env $(GHCENVLNK) \
+     \$(LINKRTS)\"\n\
      \\n\
      \install: $(DISTR)\n\
      \\tinstall -d \"$(PREFIX)\"\n\
