mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-13 23:28:20 +01:00
laptop: add IDEA wrappers
This commit is contained in:
parent
e24934ae66
commit
012afecf57
3 changed files with 47 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, osConfig, pkgs, ... }:
|
||||
{ config, osConfig, pkgs, mylib, ... }:
|
||||
|
||||
{
|
||||
home.username = "lgm";
|
||||
|
|
@ -93,14 +93,20 @@
|
|||
minetest
|
||||
# dev
|
||||
# Wrap idea-community to add libraries required for Minecraft Moddev
|
||||
(symlinkJoin {
|
||||
name = "idea-community";
|
||||
paths = [ jetbrains.idea-community ];
|
||||
buildInputs = [ makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/idea-community \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libpulseaudio libGL glfw openal stdenv.cc.cc.lib]}"
|
||||
'';
|
||||
stable.jetbrains.idea-community
|
||||
(mylib.appwrapper {
|
||||
inherit pkgs;
|
||||
inputpkg = stable.jetbrains.idea-community;
|
||||
pkgsuffix = "mcdev-jbr17";
|
||||
libraries = with pkgs; [libpulseaudio libGL glfw openal stdenv.cc.cc.lib];
|
||||
extrapathpkgs = with pkgs; [jetbrains.jdk-no-jcef-17];
|
||||
})
|
||||
(mylib.appwrapper {
|
||||
inherit pkgs;
|
||||
inputpkg = stable.jetbrains.idea-community;
|
||||
pkgsuffix = "mcdev-jbr21";
|
||||
libraries = with pkgs; [libpulseaudio libGL glfw openal stdenv.cc.cc.lib];
|
||||
extrapathpkgs = with pkgs; [jetbrains.jdk-no-jcef];
|
||||
})
|
||||
packwiz
|
||||
# vscodium # see programs.vscode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue