mirror of
https://github.com/nix-community/home-manager
synced 2024-09-08 12:26:30 +02:00
18 lines
356 B
Nix
18 lines
356 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.gradle.enable = true;
|
||
|
|
||
|
programs.java.package =
|
||
|
pkgs.runCommandLocal "java" { home = ""; } "mkdir $out";
|
||
|
|
||
|
test.stubs.gradle = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertPathNotExists home-files/.gradle
|
||
|
assertFileNotRegex home-path/etc/profile.d/hm-session-vars.sh 'GRADLE_USER_HOME'
|
||
|
'';
|
||
|
};
|
||
|
}
|