summary refs log tree commit diff
path: root/nixos/modules/services/development/bloop.nix
diff options
context:
space:
mode:
authorKevin Rauscher <kevin.rauscher@tomahna.fr>2019-07-24 15:39:08 +0200
committerKevin Rauscher <kevin.rauscher@tomahna.fr>2019-07-24 21:42:40 +0200
commitd6b6015d3474590a6e1ea238255f904c866679ff (patch)
tree94a0777bafd24429ee096ba84dd59e41305353ec /nixos/modules/services/development/bloop.nix
parent3bdd3b158ad15e1750e139660ec1fc24cb5c89f5 (diff)
downloadnixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.tar
nixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.tar.gz
nixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.tar.bz2
nixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.tar.lz
nixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.tar.xz
nixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.tar.zst
nixpkgs-d6b6015d3474590a6e1ea238255f904c866679ff.zip
bloop: get closer to standard bloop packaging
Diffstat (limited to 'nixos/modules/services/development/bloop.nix')
-rw-r--r--nixos/modules/services/development/bloop.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/modules/services/development/bloop.nix b/nixos/modules/services/development/bloop.nix
index 56904b7c40e..5cb88cc49a1 100644
--- a/nixos/modules/services/development/bloop.nix
+++ b/nixos/modules/services/development/bloop.nix
@@ -25,10 +25,13 @@ in {
     systemd.user.services.bloop = {
       description = "Bloop Scala build server";
 
+      environment = {
+        PATH = mkForce "${makeBinPath [ config.programs.java.package ]}";
+      };
       serviceConfig = {
-        Type      = "simple";
-        ExecStart = ''${pkgs.bloop}/bin/blp-server'';
-        Restart   = "always";
+        Type        = "simple";
+        ExecStart   = ''${pkgs.bloop}/bin/bloop server'';
+        Restart     = "always";
       };
     };