Skip to content

Instantly share code, notes, and snippets.

@dminuoso
Created May 25, 2021 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dminuoso/fce1467405c045810438dc6425aa13b2 to your computer and use it in GitHub Desktop.
Save dminuoso/fce1467405c045810438dc6425aa13b2 to your computer and use it in GitHub Desktop.
[nix-shell:~/git/cabal/cabal-install]$ cabal run cabal
Resolving dependencies...
Build profile: -w ghc-8.8.4 -O1
In order, the following will be built (use -v for more details):
- hackage-security-0.6.0.1 (lib) (first run)
- cabal-install-3.5.0.0 (lib) (first run)
- cabal-install-3.5.0.0 (exe:cabal) (first run)
Preprocessing library for hackage-security-0.6.0.1..
Building library for hackage-security-0.6.0.1..
/nix/store/p792j5f44l3f0xi7ai5jllwnxqwnka88-binutils-2.31.1/bin/ld.gold: error: cannot find -lz
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
cabal: Failed to build hackage-security-0.6.0.1 (which is required by
exe:cabal from cabal-install-3.5.0.0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment