Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Aug 28, 2020
1 parent 29af61c commit bc86f65
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ let
mvn2nix = import
(fetchTarball "https://github.com/fzakaria/mvn2nix/archive/master.tar.gz")
{ };
buildMavenRepositoryFromLockFile = mvn2nix.buildMavenRepositoryFromLockFile;
mavenRepository =
buildMavenRepositoryFromLockFile { file = ./mvn2nix-lock.json; };
mvn2nix.buildMavenRepositoryFromLockFile { file = ./mvn2nix-lock.json; };
inherit (pkgs) lib stdenv jdk11_headless maven makeWrapper;
inherit (stdenv) mkDerivation;
in mkDerivation rec {
Expand All @@ -112,7 +111,7 @@ in mkDerivation rec {
mkdir -p $out/bin

# create a symbolic link for the lib directory
ln -s ${mavenRepository}/.m2 $out/lib
ln -s ${mavenRepository} $out/lib

# copy out the JAR
# Maven already setup the classpath to use m2 repository layout
Expand Down

0 comments on commit bc86f65

Please sign in to comment.