add shell.nix
This commit is contained in:
parent
433ab1785e
commit
40bbff6039
18
ueb08/shell.nix
Normal file
18
ueb08/shell.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
pkgs ? import <nixpkgs> {
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/166220#issuecomment-1745803058
|
||||||
|
config.allowUnfree = true;
|
||||||
|
}
|
||||||
|
}:
|
||||||
|
(
|
||||||
|
# Gradle's toolchain support does not work with IntelliJ, thus we have to use buildFHSUserEnv
|
||||||
|
pkgs.buildFHSUserEnv
|
||||||
|
{
|
||||||
|
name = "intellij-gradle-jdk";
|
||||||
|
targetPkgs = pkgs_: [
|
||||||
|
pkgs_.jetbrains.idea-ultimate
|
||||||
|
pkgs_.jdk
|
||||||
|
pkgs_.gradle
|
||||||
|
];
|
||||||
|
}
|
||||||
|
).env
|
Loading…
x
Reference in New Issue
Block a user