Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created January 26, 2020 11:50
Show Gist options
  • Save kindaro/77fa679399cb3fa706c272fbb417b031 to your computer and use it in GitHub Desktop.
Save kindaro/77fa679399cb3fa706c272fbb417b031 to your computer and use it in GitHub Desktop.
% find -L ~/.stack/programs/ -maxdepth 4 -type f -executable -a -name ghc | while read x; do echo "=========== $x"; cabal install --dry-run --with-ghc $x singletons --lib; done
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.0.2/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.0.2 -O1
In order, the following would be built (use -v for more details):
- mtl-2.2.2 (lib) (requires build)
- primitive-0.7.0.0 (lib) (requires build)
- safe-0.3.18 (lib) (requires build)
- syb-0.7.1 (lib) (requires build)
- text-1.2.4.0 (lib) (requires build)
- th-abstraction-0.3.1.0 (lib) (requires build)
- vector-0.12.0.3 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.6 (lib) (requires download & build)
- singletons-2.2 (lib) (requires build)
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.2.2/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.2.2 -O1
In order, the following would be built (use -v for more details):
- primitive-0.7.0.0 (lib) (requires build)
- text-1.2.4.0 (lib) (requires build)
- th-abstraction-0.3.1.0 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- vector-0.12.0.3 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.7 (lib) (requires build)
- singletons-2.3.1 (lib) (requires build)
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/bin/ghc
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: base-4.12.0.0/installed-4.12.0.0 (user goal)
[__1] trying: containers-0.6.2.1 (user goal)
[__2] next goal: ghc (user goal)
[__2] rejecting: ghc-8.6.5/installed-8.6.5 (conflict: containers==0.6.2.1, ghc
=> containers==0.6.0.1/installed-0.6.0.1)
[__2] trying: ghc-8.6.5
[__3] rejecting: ghc:-buildable (conflict: base==4.12.0.0/installed-4.12.0.0,
ghc -buildable => base<0)
[__3] rejecting: ghc:+buildable (manual flag can only be changed explicitly)
[__3] fail (backjumping, conflict set: base, ghc, ghc:buildable)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: containers, base, ghc, ghc:buildable
Try running with --minimize-conflict-set to improve the error message.
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.4.3/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.4.3 -O1
In order, the following would be built (use -v for more details):
- primitive-0.7.0.0 (lib) (requires build)
- safe-0.3.18 (lib) (requires build)
- syb-0.7.1 (lib) (requires build)
- th-abstraction-0.3.1.0 (lib) (requires build)
- vector-0.12.0.3 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.8 (lib) (requires download & build)
- singletons-2.4.1 (lib) (requires download & build)
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.0.1/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.0.1 -O1
In order, the following would be built (use -v for more details):
- mtl-2.2.2 (lib) (requires build)
- primitive-0.7.0.0 (lib) (requires build)
- safe-0.3.18 (lib) (requires build)
- syb-0.7.1 (lib) (requires build)
- text-1.2.4.0 (lib) (requires build)
- th-abstraction-0.3.1.0 (lib) (requires build)
- vector-0.12.0.3 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.6 (lib) (requires download & build)
- singletons-2.2 (lib) (requires build)
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.4.4/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.4.4 -O1
In order, the following would be built (use -v for more details):
- safe-0.3.18 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.8 (lib) (requires download & build)
- singletons-2.4.1 (lib) (requires download & build)
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.2.1/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.2.1 -O1
In order, the following would be built (use -v for more details):
- mtl-2.2.2 (lib) (requires build)
- primitive-0.7.0.0 (lib) (requires build)
- safe-0.3.18 (lib) (requires build)
- syb-0.7.1 (lib) (requires build)
- text-1.2.4.0 (lib) (requires build)
- th-abstraction-0.3.1.0 (lib) (requires build)
- vector-0.12.0.3 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.7 (lib) (requires build)
- singletons-2.3.1 (lib) (requires build)
=========== /home/kindaro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.3/bin/ghc
Resolving dependencies...
Build profile: -w ghc-8.6.3 -O1
In order, the following would be built (use -v for more details):
- primitive-0.7.0.0 (lib) (requires build)
- safe-0.3.18 (lib) (requires build)
- syb-0.7.1 (lib) (requires build)
- th-abstraction-0.3.1.0 (lib) (requires build)
- vector-0.12.0.3 (lib) (requires build)
- th-expand-syns-0.4.5.0 (lib) (requires build)
- th-lift-0.8.1 (lib) (requires build)
- th-reify-many-0.1.9 (lib) (requires build)
- th-lift-instances-0.1.14 (lib) (requires build)
- th-orphans-0.13.9 (lib) (requires build)
- th-desugar-1.9 (lib) (requires build)
- singletons-2.5.1 (lib:singletons) (requires build)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment