mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-12 07:50:53 -05:00
Use lib.makeScope for consistent package resolution
This commit is contained in:
15
nix/default.nix
Normal file
15
nix/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
gradle,
|
||||
newScope,
|
||||
}:
|
||||
|
||||
lib.makeScope newScope (
|
||||
self: with self; {
|
||||
inherit gradle;
|
||||
buildGradlePackage = callPackage ./build-gradle-package.nix { };
|
||||
buildMavenRepo = callPackage ./build-maven-repo.nix { };
|
||||
gradleSetupHook = callPackage ./gradle-setup-hook.nix { };
|
||||
gradle2nix = callPackage ./gradle2nix.nix { };
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user