`--with-gmp-libraries` does not work for Hadrian bindists
Summary
It currently does not seem possible to specify a specific GMP libdir when installing Hadrian bindists without messing with the package db.
Steps to reproduce
Check out this nixpkgs fork (commit: 860e1bc23f3b0c3282d85af2239363b95f5019bb
) and build:
$ nix-build -A pkgsMusl.haskell.compiler.ghc922Binary
checking outputs of '/nix/store/9368mabz1az0prabw1s8pdm1gy5kyqx7-ghc-binary-musl-9.2.2.drv'...
unpacking sources
unpacking source archive /nix/store/lxzqw1jacn1zgz1zjhg3is06p889anj9-ghc-9.2.2-x86_64-alpine3.12-linux-gmp.tar.xz
source root is ghc-9.2.2-x86_64-unknown-linux
patching script interpreter paths in ghc-9.2.2/utils/
find: ‘ghc-9.2.2/utils/’: No such file or directory
patching script interpreter paths in ghc-9.2.2/configure
find: ‘ghc-9.2.2/configure’: No such file or directory
patchelf: not an ELF executable
patchelf: not an ELF executable
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: not an ELF executable
patchelf: not an ELF executable
patchelf: not an ELF executable
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
patchelf: cannot find section '.interp'. The input file is most likely statically linked
Hadrian bindist, applying workaround for xxx path substitution.
setting SOURCE_DATE_EPOCH to timestamp 1646458003 of file ghc-9.2.2-x86_64-unknown-linux/wrappers/runhaskell-9.2.2
patching sources
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config.guess
configuring
configure flags: --prefix=/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2 --with-gmp-includes=/nix/store/jd2sw6mwk4bjsjby08xg70arbzrpdyr7-gmp-with-cxx-6.2.1-dev/include --with-gmp-libraries=/nix/store/kk9ddq9g603igmy9bvpff1kv56qnzyn0-gmp-with-cxx-6.2.1/lib --disable-ld-override
checking build system type... x86_64-pc-linux-musl
checking host system type... x86_64-pc-linux-musl
checking target system type... x86_64-pc-linux-musl
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
GHC build : x86_64-unknown-linux
GHC host : x86_64-unknown-linux
GHC target : x86_64-unknown-linux
LLVM target: x86_64-unknown-linux
checking for path to top of build tree... /build/ghc-9.2.2-x86_64-unknown-linux
checking for a BSD-compatible install... /nix/store/f2x7ig362y10413fh5s98la75a4i6qfq-coreutils-9.0/bin/install -c
checking whether ln -s works... yes
checking for gsed... sed
checking for python3... no
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO C99... none needed
checking whether GCC supports -no-pie... yes
checking for -ld... ld
checking for ld.gold object merging bug (binutils 22266)... checking whether ld is GNU ld... YES
checking whether ld understands --build-id... yes
checking whether ld understands -no_compact_unwind... no
checking whether ld understands -filelist... no
checking for -strip... strip
checking for gawk... gawk
checking for llc-13... no
checking for llc-13.0... no
checking for llc-12... no
checking for llc-12.0... no
checking for llc-11... no
checking for llc-11.0... no
checking for llc-10... no
checking for llc-10.0... no
checking for llc-9... no
checking for llc-9.0... no
checking for llc... no
checking for opt-13... no
checking for opt-13.0... no
checking for opt-12... no
checking for opt-12.0... no
checking for opt-11... no
checking for opt-11.0... no
checking for opt-10... no
checking for opt-10.0... no
checking for opt-9... no
checking for opt-9.0... no
checking for opt... no
checking version of gcc... checking version of gcc... 11.2.0
11.2.0
checking whether GCC supports -no-pie... yes
checking for extra options to pass gcc when compiling via C...
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking for .subsections_via_symbols... no
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... yes
checking whether CC supports --target... no
checking for grep that handles long lines and -e... /nix/store/zgni63qnvyjyk8c847x8igq1lw8xlik9-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/zgni63qnvyjyk8c847x8igq1lw8xlik9-gnugrep-3.7/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether byte ordering is bigendian... no
checking whether ar is GNU ar... yes
checking for ar arguments... q
checking whether ar supports @file... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating mk/config.mk
config.status: creating mk/install.mk
****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
installing
install flags: SHELL=/nix/store/ni8r9rwc1y1lj81g9wkr5hxjj22fcz58-bash-5.1-p16/bin/bash install
Copying binaries to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin
/nix/store/f2x7ig362y10413fh5s98la75a4i6qfq-coreutils-9.0/bin/install -c -m 755 -d "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin"
for i in ./bin/ghc ./bin/ghc-9.2.2 ./bin/ghc-iserv ./bin/ghc-iserv-ghc-9.2.2 ./bin/ghc-iserv-prof ./bin/ghc-iserv-prof-ghc-9.2.2 ./bin/ghc-pkg ./bin/ghc-pkg-9.2.2 ./bin/haddock ./bin/haddock-ghc-9.2.2 ./bin/hp2ps ./bin/hp2ps-ghc-9.2.2 ./bin/hpc ./bin/hpc-ghc-9.2.2 ./bin/hsc2hs ./bin/hsc2hs-ghc-9.2.2 ./bin/runghc ./bin/runghc-9.2.2 ./bin/runhaskell ./bin/runhaskell-9.2.2 ./bin/unlit ./bin/unlit-ghc-9.2.2; do \
cp -R $i "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin"; \
done
Installing wrapper scripts
/nix/store/f2x7ig362y10413fh5s98la75a4i6qfq-coreutils-9.0/bin/install -c -m 755 -d "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin"
# ghc = package name
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/ghc ]; then echo "ghc is a symlink"; fi
ghc is a symlink
ghc installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/ghc-9.2.2 ]; then echo "ghc-9.2.2 is a symlink"; fi
ghc-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-pkg = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-pkg = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/ghc-pkg ]; then echo "ghc-pkg is a symlink"; fi
ghc-pkg is a symlink
ghc-pkg installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-pkg
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-pkg-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-pkg-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/ghc-pkg-9.2.2 ]; then echo "ghc-pkg-9.2.2 is a symlink"; fi
ghc-pkg-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-pkg-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghci = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghci = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/ghci ]; then echo "ghci is a symlink"; fi
ghci is a symlink
ghci installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghci
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghci-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghci-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/ghci-9.2.2 ]; then echo "ghci-9.2.2 is a symlink"; fi
ghci-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghci-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/haddock = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/haddock = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/haddock ]; then echo "haddock is a symlink"; fi
haddock is a symlink
haddock installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/haddock
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/haddock-ghc-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/haddock-ghc-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/haddock-ghc-9.2.2 ]; then echo "haddock-ghc-9.2.2 is a symlink"; fi
haddock-ghc-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/haddock-ghc-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hp2ps = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hp2ps = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/hp2ps ]; then echo "hp2ps is a symlink"; fi
hp2ps is a symlink
hp2ps installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hp2ps
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hp2ps-ghc-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hp2ps-ghc-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/hp2ps-ghc-9.2.2 ]; then echo "hp2ps-ghc-9.2.2 is a symlink"; fi
hp2ps-ghc-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hp2ps-ghc-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hpc = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hpc = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/hpc ]; then echo "hpc is a symlink"; fi
hpc is a symlink
hpc installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hpc
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hpc-ghc-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hpc-ghc-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/hpc-ghc-9.2.2 ]; then echo "hpc-ghc-9.2.2 is a symlink"; fi
hpc-ghc-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hpc-ghc-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hsc2hs = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hsc2hs = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/hsc2hs ]; then echo "hsc2hs is a symlink"; fi
hsc2hs is a symlink
hsc2hs installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hsc2hs
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hsc2hs-ghc-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hsc2hs-ghc-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/hsc2hs-ghc-9.2.2 ]; then echo "hsc2hs-ghc-9.2.2 is a symlink"; fi
hsc2hs-ghc-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/hsc2hs-ghc-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runghc = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/runghc = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/runghc ]; then echo "runghc is a symlink"; fi
runghc is a symlink
runghc installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runghc
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runghc-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/runghc-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/runghc-9.2.2 ]; then echo "runghc-9.2.2 is a symlink"; fi
runghc-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runghc-9.2.2
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runhaskell = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/runhaskell = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/runhaskell ]; then echo "runhaskell is a symlink"; fi
runhaskell is a symlink
runhaskell installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runhaskell
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runhaskell-9.2.2 = wrapper path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin = bindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin = ghcbindir
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/runhaskell-9.2.2 = Executable binary path
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib = Library Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include = Includes Directory
# We are installing wrappers to programs by searching corresponding
# wrappers. If wrapper is not found, we are attaching the common wrapper
# to it. This implementation is a bit hacky and depends on consistency
# of program names. For hadrian build this will work as programs have a
# consistent naming procedure.
if [ -L wrappers/runhaskell-9.2.2 ]; then echo "runhaskell-9.2.2 is a symlink"; fi
runhaskell-9.2.2 installed to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/runhaskell-9.2.2
Copying libraries to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib
/nix/store/f2x7ig362y10413fh5s98la75a4i6qfq-coreutils-9.0/bin/install -c -m 755 -d "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib"
for i in ./lib/DerivedConstants.h ./lib/bin ./lib/ghc-usage.txt ./lib/ghcautoconf.h ./lib/ghci-usage.txt ./lib/ghcplatform.h ./lib/ghcversion.h ./lib/html ./lib/latex ./lib/llvm-passes ./lib/llvm-targets ./lib/package.conf.d ./lib/settings ./lib/template-hsc.h ./lib/x86_64-linux-ghc-9.2.2; do \
cp -R $i "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/"; \
done
Copying include files to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include
/nix/store/f2x7ig362y10413fh5s98la75a4i6qfq-coreutils-9.0/bin/install -c -m 755 -d "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include"
for i in ./include/Cmm.h ./include/DerivedConstants.h ./include/HsFFI.h ./include/MachDeps.h ./include/Rts.h ./include/RtsAPI.h ./include/Stg.h ./include/ffi.h ./include/ffitarget.h ./include/ghcautoconf.h ./include/ghcconfig.h ./include/ghcplatform.h ./include/ghcversion.h ./include/rts ./include/stg; do \
cp -R $i "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/include/"; \
done
Copying docs to /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2
/nix/store/f2x7ig362y10413fh5s98la75a4i6qfq-coreutils-9.0/bin/install -c -m 755 -d "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2"
for i in ./docs/archives ./docs/html; do \
cp -R $i "/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2/"; \
done
/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf
Updating the package DB
#
# ghc-compact = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-compact/ghc-compact.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-compact"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-compact" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-compact-0.1.0.0.conf' #
# bytestring = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/bytestring/bytestring.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/bytestring"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "bytestring" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/bytestring-0.11.3.0.conf' #
# parsec = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/parsec/parsec.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/parsec"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "parsec" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/parsec-3.1.15.0.conf' #
# filepath = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/filepath/filepath.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/filepath"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "filepath" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/filepath-1.4.2.2.conf' #
# exceptions = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/exceptions/exceptions.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/exceptions"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "exceptions" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/exceptions-0.10.4.conf' #
# unix = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/unix/unix.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/unix"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "unix" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/unix-2.7.2.2.conf' #
# text = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/text/text.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/text"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "text" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/text-1.2.5.0.conf' #
# ghc-boot = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-boot/ghc-boot.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-boot"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-boot" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-9.2.2.conf' #
# ghci = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghci/ghci.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghci"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghci" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghci-9.2.2.conf' #
# ghc = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc/ghc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-9.2.2.conf' #
# mtl = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/mtl/mtl.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/mtl"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "mtl" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/mtl-2.2.2.conf' #
# ghc-boot-th = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-boot-th/ghc-boot-th.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-boot-th"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-boot-th" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-boot-th-9.2.2.conf' #
# ghc-heap = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-heap/ghc-heap.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-heap"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-heap" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-heap-9.2.2.conf' #
# base = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/base/base.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/base"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "base" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/base-4.16.1.0.conf' #
# array = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/array/array.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/array"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "array" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/array-0.5.4.0.conf' #
# rts = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/rts/rts.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/rts"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "rts" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy')
rts
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/rts-1.0.2.conf' #
# haskeline = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/haskeline/haskeline.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/haskeline"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "haskeline" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/haskeline-0.8.2.conf' #
# template-haskell = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/template-haskell/template-haskell.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/template-haskell"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "template-haskell" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/template-haskell-2.18.0.0.conf' #
# Cabal = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/Cabal/Cabal.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/Cabal"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "Cabal" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/Cabal-3.6.3.0.conf' #
# terminfo = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/terminfo/terminfo.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/terminfo"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "terminfo" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/terminfo-0.4.1.5.conf' #
# xhtml = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/xhtml/xhtml.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/xhtml"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "xhtml" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/xhtml-3000.2.2.1.conf' #
# transformers = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/transformers/transformers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/transformers"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "transformers" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/transformers-0.5.6.2.conf' #
# integer-gmp = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/integer-gmp/integer-gmp.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/integer-gmp"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "integer-gmp" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/integer-gmp-1.1.conf' #
# deepseq = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/deepseq/deepseq.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/deepseq"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "deepseq" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/deepseq-1.4.6.1.conf' #
# stm = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/stm/stm.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/stm"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "stm" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/stm-2.5.0.2.conf' #
# pretty = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/pretty/pretty.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/pretty"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "pretty" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/pretty-1.1.3.6.conf' #
# ghc-prim = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-prim/ghc-prim.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-prim"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-prim" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-prim-0.8.0.conf' #
# containers = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/containers/containers.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/containers"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "containers" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/containers-0.6.5.1.conf' #
# libiserv = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/libiserv/libiserv.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/libiserv"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "libiserv" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/libiserv-9.2.2.conf' #
# time = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/time/time.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/time"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "time" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/time-1.11.1.1.conf' #
# binary = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/binary/binary.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/binary"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "binary" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/binary-0.8.9.0.conf' #
# ghc-bignum = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-bignum/ghc-bignum.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/ghc-bignum"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "ghc-bignum" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/ghc-bignum-1.2.conf' #
# directory = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/directory/directory.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/directory"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "directory" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/directory-1.3.6.2.conf' #
# process = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/process/process.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/process"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "process" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/process-1.6.13.2.conf' #
# hpc = package name (ex: 'bytestring')
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf = path to .conf file
# /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2 = Docs Directory
# ../../../share/doc/ghc-9.2.2 = (relative) path from ${pkgroot} to docs directory (/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/share/doc/ghc-9.2.2)
#
# We fix the paths to haddock files by using the relative path from the pkgroot
# to the doc files.
cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf' | sed 's|haddock-interfaces.*|haddock-interfaces: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/hpc/hpc.haddock"|' | sed 's|haddock-html.*|haddock-html: "${pkgroot}/../../../share/doc/ghc-9.2.2/html/libraries/hpc"|' | sed 's| ${pkgroot}/../../docs/html/.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf.copy'
# The rts package doesn't actually supply haddocks, so we stop advertising them
# altogether.
((echo "hpc" | grep rts) && (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf.copy' | sed 's|haddock-.*||' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf.copy.copy')) || (cat '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf.copy' > '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf.copy.copy')
# We finally replace the original file.
mv '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf.copy.copy' '/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/package.conf.d/hpc-0.6.1.0.conf'
'/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/bin/ghc-pkg' recache
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-iserv-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-iserv-prof-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/ghc-pkg-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/haddock-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hp2ps-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hpc-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/hsc2hs-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/runghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/bin/unlit-ghc-9.2.2
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/bin/unlit
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/bin/ghc-iserv-prof
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/bin/ghc-iserv
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/transformers-0.5.6.2/HStransformers-0.5.6.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/transformers-0.5.6.2/HStransformers-0.5.6.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/template-haskell-2.18.0.0/HStemplate-haskell-2.18.0.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/template-haskell-2.18.0.0/HStemplate-haskell-2.18.0.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/integer-gmp-1.1/HSinteger-gmp-1.1.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/integer-gmp-1.1/HSinteger-gmp-1.1.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/deepseq-1.4.6.1/HSdeepseq-1.4.6.1.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/deepseq-1.4.6.1/HSdeepseq-1.4.6.1.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghci-9.2.2/HSghci-9.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghci-9.2.2/HSghci-9.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-compact-0.1.0.0/HSghc-compact-0.1.0.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-compact-0.1.0.0/HSghc-compact-0.1.0.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/libiserv-9.2.2/HSlibiserv-9.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/libiserv-9.2.2/HSlibiserv-9.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/filepath-1.4.2.2/HSfilepath-1.4.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/filepath-1.4.2.2/HSfilepath-1.4.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/parsec-3.1.15.0/HSparsec-3.1.15.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/parsec-3.1.15.0/HSparsec-3.1.15.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-bignum-1.2/HSghc-bignum-1.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-bignum-1.2/HSghc-bignum-1.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/stm-2.5.0.2/HSstm-2.5.0.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/stm-2.5.0.2/HSstm-2.5.0.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/Cabal-3.6.3.0/HSCabal-3.6.3.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/Cabal-3.6.3.0/HSCabal-3.6.3.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/base-4.16.1.0/HSbase-4.16.1.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/base-4.16.1.0/HSbase-4.16.1.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/mtl-2.2.2/HSmtl-2.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/mtl-2.2.2/HSmtl-2.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/terminfo-0.4.1.5/HSterminfo-0.4.1.5.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/terminfo-0.4.1.5/HSterminfo-0.4.1.5.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/xhtml-3000.2.2.1/HSxhtml-3000.2.2.1.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/xhtml-3000.2.2.1/HSxhtml-3000.2.2.1.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/binary-0.8.9.0/HSbinary-0.8.9.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/binary-0.8.9.0/HSbinary-0.8.9.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/process-1.6.13.2/HSprocess-1.6.13.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/process-1.6.13.2/HSprocess-1.6.13.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/exceptions-0.10.4/HSexceptions-0.10.4.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/exceptions-0.10.4/HSexceptions-0.10.4.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-boot-th-9.2.2/HSghc-boot-th-9.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-boot-th-9.2.2/HSghc-boot-th-9.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/pretty-1.1.3.6/HSpretty-1.1.3.6.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/pretty-1.1.3.6/HSpretty-1.1.3.6.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/time-1.11.1.1/HStime-1.11.1.1.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/time-1.11.1.1/HStime-1.11.1.1.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/directory-1.3.6.2/HSdirectory-1.3.6.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/directory-1.3.6.2/HSdirectory-1.3.6.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/hpc-0.6.1.0/HShpc-0.6.1.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/hpc-0.6.1.0/HShpc-0.6.1.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/text-1.2.5.0/HStext-1.2.5.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/text-1.2.5.0/HStext-1.2.5.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/containers-0.6.5.1/HScontainers-0.6.5.1.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/containers-0.6.5.1/HScontainers-0.6.5.1.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-boot-9.2.2/HSghc-boot-9.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-boot-9.2.2/HSghc-boot-9.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/bytestring-0.11.3.0/HSbytestring-0.11.3.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/bytestring-0.11.3.0/HSbytestring-0.11.3.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-heap-9.2.2/HSghc-heap-9.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-heap-9.2.2/HSghc-heap-9.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/unix-2.7.2.2/HSunix-2.7.2.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/unix-2.7.2.2/HSunix-2.7.2.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/haskeline-0.8.2/HShaskeline-0.8.2.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/haskeline-0.8.2/HShaskeline-0.8.2.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/array-0.5.4.0/HSarray-0.5.4.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/array-0.5.4.0/HSarray-0.5.4.0.p_o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-prim-0.8.0/HSghc-prim-0.8.0.o
patchelf: wrong ELF type
shrinking /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-prim-0.8.0/HSghc-prim-0.8.0.p_o
patchelf: wrong ELF type
patching script interpreter paths in /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2
checking for references to /build/ in /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2...
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
patchelf: wrong ELF type
/nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2
Using it will break as soon as gmp is needed, since GHC doesn't track where gmp is located in its package db:
$ cat > Main.hs
module Main where
main = putStrLn "foo"
$ ./result/bin/ghc --make Main.hs
[1 of 1] Compiling Main ( Main.hs, Main.o )
Linking Main ...
/nix/store/mb60fbhznrswsgiy0khkh7vw277k59n1-binutils-2.38/bin/ld: cannot find -lgmp: No such file or directory
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
$ ./result/bin/ghci
GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
ghc-9.2.2: /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-bignum-1.2/HSghc-bignum-1.2.o: unknown symbol `__gmpn_rshift'
ghc-9.2.2: Could not load Object Code /nix/store/j8swpz17v44an0phba8glb0bbjd4sww6-ghc-binary-musl-9.2.2/lib/ghc-9.2.2/lib/x86_64-linux-ghc-9.2.2/ghc-bignum-1.2/HSghc-bignum-1.2.o.
ghc-9.2.2: unable to load unit `ghc-bignum-1.2'
Expected behavior
What do you expect the reproducer described above to do?
Environment
- GHC version used: 9.2.2
Optional:
- Operating System: NixOS
- System Architecture: x86_64-linux