mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 12:09:46 +01: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'
|
||
|
'';
|
||
|
};
|
||
|
}
|