mirror of
https://github.com/nix-community/home-manager
synced 2024-12-23 03:23:30 +00: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'
|
||
|
'';
|
||
|
};
|
||
|
}
|