!kjdutkOsheZdjqYmqp:nixos.org

Empty Room

1906 Members
399 Servers

Load older messages


SenderMessageTime
14 Jan 2025
@glepage:matrix.orgGaƩtan Lepage I know that Lucas Eduardo is pretty interested in this topic. 10:45:47
@l1npengtul:matrix.orgl1npengtulIs there a way to symlink to the user's directory from a derivation?10:45:52
@k900:0upti.meK900
In reply to@l1npengtul:matrix.org
Is there a way to symlink to the user's directory from a derivation?
No
10:46:32
@k900:0upti.meK900Why>10:46:36
@niklaskorz:korz.devNiklas Korz I'd also love stdenv.mkDerivation rec to be catched by a linter... 10:46:37
@k900:0upti.meK900* Why?10:46:37
@rnhmjoj:eurofusion.eu@rnhmjoj:eurofusion.eu
In reply to @toonn:matrix.org
A much nicer pattern IMO is `let inherit (set) value; in <body>`.
for with lib;, but for with lib.maintainers it completely defeats the point
10:46:42
@l1npengtul:matrix.orgl1npengtulA binary application I'm dealing doesn't want to respect the HOME envvar. I'm assuming I have to make a FHS at this point.10:47:11
@niklaskorz:korz.devNiklas Korz
In reply to @niklaskorz:korz.dev
I'd also love stdenv.mkDerivation rec to be catched by a linter...
especially because it still is used by the nix-init template
10:47:15
@k900:0upti.meK900
In reply to@l1npengtul:matrix.org
A binary application I'm dealing doesn't want to respect the HOME envvar. I'm assuming I have to make a FHS at this point.
Why does it need HOME inside a derivation?
10:47:32
@l1npengtul:matrix.orgl1npengtulIt will only want to read its resources from $HOME/.local/share/program10:48:00
@niklaskorz:korz.devNiklas Korzthat sounds like a job for a patch, and ideally an upstream PR10:48:13
@k900:0upti.meK900Then a fhsenv won't help you10:48:14
@k900:0upti.meK900You'll want some sort of custom wrapper with bwrap probably10:48:31
@k900:0upti.meK900But also that's insane10:48:35
@k900:0upti.meK900And the application should be fixed10:48:38
@niklaskorz:korz.devNiklas Korzwould you mind sharing what application this is about?10:49:05
@l1npengtul:matrix.orgl1npengtulProprietary applications, amirite /s10:49:17
@niklaskorz:korz.devNiklas Korzoh, well10:49:25
@l1npengtul:matrix.orgl1npengtulIts an proprietary JUCE audio plugin from AudioThing10:49:35
@niklaskorz:korz.devNiklas Korzin that case you could also make a wrapper that symlinks the resources into home on start10:49:41
@niklaskorz:korz.devNiklas Korzand then starts the application itself10:49:51
@l1npengtul:matrix.orgl1npengtulThat could work too10:49:51
@l1npengtul:matrix.orgl1npengtulI'll try that10:50:02
@niklaskorz:korz.devNiklas Korzgood luck :D10:51:17
@niklaskorz:korz.devNiklas Korzalso10:51:50
@l1npengtul:matrix.orgl1npengtulThanks, although this is probably not the craziest thing I had to do to get a JUCE plugin running properly :p10:51:53
@niklaskorz:korz.devNiklas Korzdoes it by chance respect xdg data dirs10:51:55
@niklaskorz:korz.devNiklas KorzI doubt it does but might be worth a try10:52:01
@l1npengtul:matrix.orgl1npengtulI see when I strings the binary, but I tried changing the envvar manually within a distrobox and it didn't seem to do anything, but worth a shot10:52:52

Show newer messages


Back to Room ListRoom Version: 6