Skip to content

Commit

Permalink
pkg: build_depends: force the use of the 'go' package
Browse files Browse the repository at this point in the history
  • Loading branch information
zopieux committed Feb 24, 2018
1 parent bd3d278 commit 94daa04
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions deployment/pkg/camisole-languages/build_depends.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ def by_name(name):
return Lang._full_registry[name]


# java packages consist of symlinks to handle both Java 7 & 8, so we force
# the version (8) here
OVERWRITE = {by_name('java'): {'/usr/lib/jvm/java-8-openjdk/bin/java',
'/usr/lib/jvm/java-8-openjdk/bin/javac'}}
OVERWRITE = {
# java packages consist of symlinks to handle both Java 7 & 8, so we force
# the version (8) here
by_name('java'): {'/usr/lib/jvm/java-8-openjdk/bin/java',
'/usr/lib/jvm/java-8-openjdk/bin/javac'},
# go is provided by both 'go' and 'gcc-go'
by_name('go'): {'/usr/lib/go/bin/go'},
}


def list_paths():
Expand Down

0 comments on commit 94daa04

Please sign in to comment.