From 1ebd772d58a3764e095a3b30754ca2835955a9da Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Wed, 26 Jul 2023 20:10:26 -0400 Subject: [PATCH] jdk fix --- hosts/game-laptop/main.nix | 4 ++-- hosts/gerg-desktop/main.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/game-laptop/main.nix b/hosts/game-laptop/main.nix index 27e607f..3daee42 100644 --- a/hosts/game-laptop/main.nix +++ b/hosts/game-laptop/main.nix @@ -39,8 +39,8 @@ _: { ; }; etc = { - "jdks/17".source = lib.getBin pkgs.openjdk17; - "jdks/8".source = lib.getBin pkgs.openjdk8; + "jdks/17".source = "${pkgs.openjdk17}/bin"; + "jdks/8".source = "${pkgs.openjdk8}/bin"; }; }; networking = { diff --git a/hosts/gerg-desktop/main.nix b/hosts/gerg-desktop/main.nix index 97f661b..7991d05 100644 --- a/hosts/gerg-desktop/main.nix +++ b/hosts/gerg-desktop/main.nix @@ -70,8 +70,8 @@ ''; }; etc = { - "jdks/17".source = lib.getBin pkgs.openjdk17; - "jdks/8".source = lib.getBin pkgs.openjdk8; + "jdks/17".source = "${pkgs.openjdk17}/bin"; + "jdks/8".source = "${pkgs.openjdk8}/bin"; }; };