shells: silverfin*: add some rubymine workarounds
This commit is contained in:
parent
742090e8af
commit
4fe2d1faab
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@ pkgs.devshell.mkShell {
|
|||
name = "Silverfin";
|
||||
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
|
||||
devshell.startup = {
|
||||
# Hack to make sure Rubymine doesn't use an ephemeral path from the nix store
|
||||
"link-devshell-dir".text = ''
|
||||
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
|
||||
'';
|
||||
|
@ -18,6 +19,11 @@ pkgs.devshell.mkShell {
|
|||
name = "LIBRARY_PATH";
|
||||
eval = "$LD_LIBRARY_PATH";
|
||||
}
|
||||
# Workaround for Rubymine not setting a TERM and some applications not being able to handle that
|
||||
{
|
||||
name = "TERM";
|
||||
eval = "\${TERM:-xterm-256color}";
|
||||
}
|
||||
{
|
||||
name = "POSTGRESQL_ADDRESS";
|
||||
value = "localhost";
|
||||
|
|
|
@ -3,6 +3,7 @@ pkgs.devshell.mkShell {
|
|||
name = "Silverfin";
|
||||
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
|
||||
devshell.startup = {
|
||||
# Hack to make sure Rubymine doesn't use an ephemeral path from the nix store
|
||||
"link-devshell-dir".text = ''
|
||||
ln -snf $DEVSHELL_DIR $PRJ_DATA_DIR/devshell
|
||||
'';
|
||||
|
@ -37,6 +38,11 @@ pkgs.devshell.mkShell {
|
|||
name = "LIBRARY_PATH";
|
||||
eval = "$LD_LIBRARY_PATH";
|
||||
}
|
||||
# Workaround for Rubymine not setting a TERM and some applications not being able to handle that
|
||||
{
|
||||
name = "TERM";
|
||||
eval = "\${TERM:-xterm-256color}";
|
||||
}
|
||||
];
|
||||
language.c.compiler = lib.mkForce pkgs.clang;
|
||||
language.ruby = {
|
||||
|
|
Loading…
Add table
Reference in a new issue