make deps its own package
This commit is contained in:
parent
994a8e983e
commit
76f688b1e6
|
@ -20,13 +20,16 @@
|
|||
nixosModules.piped = import ./module/default.nix;
|
||||
nixosModules.default = self.nixosModules.piped;
|
||||
|
||||
overlays.piped = final: _prev: {
|
||||
overlays.piped = final: _prev: rec {
|
||||
piped-frontend = final.callPackage ./packages/frontend {};
|
||||
piped-backend = final.callPackage ./packages/backend {
|
||||
jre = final.openjdk19_headless;
|
||||
jdk = final.openjdk19;
|
||||
};
|
||||
piped-proxy = final.callPackage ./packages/proxy {};
|
||||
piped-backend-deps = final.callPackage ./packages/backend/deps.nix {
|
||||
jdk = final.openjdk19;
|
||||
};
|
||||
};
|
||||
overlays.default = self.overlays.piped;
|
||||
}
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
perl,
|
||||
writeText,
|
||||
callPackage,
|
||||
piped-backend-deps,
|
||||
}: let
|
||||
meta = builtins.fromJSON (builtins.readFile ../../meta.json);
|
||||
|
||||
deps =
|
||||
callPackage ./deps.nix {inherit stdenv fetchFromGitHub jdk gradle perl;};
|
||||
deps = piped-backend-deps;
|
||||
|
||||
gradleInit = writeText "init.gradle" ''
|
||||
logger.lifecycle 'Replacing Maven repositories with ${deps}...'
|
||||
|
|
Loading…
Reference in a new issue