worldofpeace changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.09 RMs: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
cjb has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
AlwaysLivid has joined #nixos-dev
abathur has joined #nixos-dev
siraben has quit [Ping timeout: 245 seconds]
siraben has joined #nixos-dev
mcint has quit [Ping timeout: 246 seconds]
cjb has quit []
globin_ has joined #nixos-dev
globin has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
mcint has joined #nixos-dev
nh2 has quit [Ping timeout: 245 seconds]
nh2 has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
malbx has quit [Ping timeout: 245 seconds]
alunduil has quit [Ping timeout: 245 seconds]
midchildan has quit [Ping timeout: 245 seconds]
globin_ has quit [Ping timeout: 245 seconds]
jonringer has quit [Ping timeout: 245 seconds]
malbx has joined #nixos-dev
midchildan_ has joined #nixos-dev
alunduil has joined #nixos-dev
makefu has quit [Ping timeout: 245 seconds]
globin_ has joined #nixos-dev
makefu has joined #nixos-dev
mcint has quit [Quit: just do it!!!]
mcint has joined #nixos-dev
cransom has quit [Ping timeout: 265 seconds]
cransom has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
Synthetica has joined #nixos-dev
cole-h has quit [Ping timeout: 252 seconds]
page has quit [Read error: Connection reset by peer]
page has joined #nixos-dev
NinjaTrappeur has quit [Ping timeout: 250 seconds]
teto has joined #nixos-dev
lukegb has quit [Ping timeout: 252 seconds]
lukegb has joined #nixos-dev
NinjaTrappeur has joined #nixos-dev
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-dev
__monty__ has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
NinjaTrappeur has quit [Quit: WeeChat 3.1]
NinjaTrappeur has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos-dev
rj has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
jonringer has joined #nixos-dev
rj has quit [Remote host closed the connection]
rj has joined #nixos-dev
orivej has joined #nixos-dev
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
orivej has quit [Ping timeout: 246 seconds]
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
cole-h has joined #nixos-dev
<abathur> idk how healthy the dart ecosystem is and whether buildDartPackage is a meaningful add for nixpkgs, but I was searching for the reference sass implementation in dart and stumbled on an attempt to add it in #92814 that seems to maybe need a little sunlight?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/92814 (by tadfisher, 40 weeks ago, open): buildDartPackage: init, dart-sass: init at 1.26.10
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
<flokli> maybe open a PR for discussion, with a commit message explaining what this is about.
plumm has joined #nixos-dev
<das_j> flokli: No, it was a random hack I produced and idc if anyone ever needs this in upstream
<das_j> s/idc/idk/
<flokli> Hmmh
<das_j> I don't think anyone else would ever need to add overrides to the unit file, but who knows, maybe someone might need this abomination in the future
<das_j> One thing I found I could use it for was: restartTriggers = mkIf config.apparmor.restart [ toplevelConfig.systemd.units."${name}.service".unit.passthru.apparmor ];
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
mcint has quit [Quit: just do it!!!]
<p01ar> hello!!
<p01ar> ill reply to pr in sec im not being rude im eating :*
mcint has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
NinjaTrappeur has quit [Ping timeout: 260 seconds]
NinjaTrappeur has joined #nixos-dev
plumm has joined #nixos-dev
justan0theruser has quit [Ping timeout: 245 seconds]
rj has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Quit: Ping timeout (120 seconds)]
supersandro2000 has joined #nixos-dev
rj has joined #nixos-dev
orivej has joined #nixos-dev
NinjaTrappeur has quit [Quit: WeeChat 3.1]
NinjaTrappeur has joined #nixos-dev
tomberek has quit [Ping timeout: 240 seconds]
NinjaTrappeur has quit [Ping timeout: 246 seconds]
NinjaTrappeur has joined #nixos-dev
teto has quit [Quit: WeeChat 3.1]
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
Cale has quit [Remote host closed the connection]
Cale has joined #nixos-dev
<flokli> das_j: so we need the ability to configure overrides even though the main unit isn't part of the nixos evaluation
<das_j> flokli: So you mean the unit came from systemd.packages?
<flokli> as in "dear nixos module system, the .service file isn't there yet, but it'll be, pinkie promise, just put all config in the .service.d folder
<flokli> no
<flokli> the unit file is created at runtime and placed in /run
<flokli> as can be seen in the systemd-makefs generators
<flokli> that should be explained in https://github.com/NixOS/nixpkgs/pull/74842#issuecomment-800681307, shouldn't it?
<symphorien[m]> random idea: could we patch libglvnd so that if it fails to find the driver, and if /etc/NIXOS does not exists, it instructs people that libgl does not work on non nixos except if they use guibou/nixgl ?
<das_j> flokli: Oof
<das_j> You might have the wrong idea of what I mean with "override". I don't mean a random.service.d thing but rather a ${random.service}.overrideAttrs where I override the attributes of the runCommand that generates the service file
<das_j> That's not related in any way I think
rj has quit [Ping timeout: 240 seconds]
<flokli> symphorien[m]: Theoretically, there's nothing preventing us from making libglvnd behave like NixGL when it detects non NixOS, no?
<flokli> as in, load graphics drivers from the distro if it's not NixOS and pray it works?
<symphorien[m]> I think nixGL does not work like this
<symphorien[m]> you have to choose yourself depending on your hardware: loading libgl from mesa (for intel) or loading the right version of the nvidia driver from nixpkgs
<symphorien[m]> so the .so files of the foreign distro are not loaded
<flokli> ah true
<flokli> it prepends LD_LIBRARY_PATH with whatever graphics card driver you set
<flokli> but from /some/ nixpkgs evaluation
<symphorien[m]> yes, iirc
<flokli> not necessarily binary compatible with the binary you run either
<flokli> soo
<flokli> in theory we could also just use another graphics card driver libgl that might also not be binary compatible
<flokli> and distros conveniently seem to ship these somewhere ;-)
<symphorien[m]> hehe I see what you want to do
rj has joined #nixos-dev
<flokli> I think that should make running nix-build OpenGL stuff on non-NixOS somewhat more ergonomic
<symphorien[m]> well that would amount to add /lib/whatever just after /run/opengl-driver in the runpath, right ?
<flokli> well, /only/ if you detect you're not running on NixOS
<symphorien[m]> but on NixOS, /lib does not exist ?
<symphorien[m]> (and if you create it, well, expect breakage)
<flokli> how do other distros handle this? (/usr)/lib just contains symlinks to whatever graphic card driver is installed?
* flokli forgot all his tribal ubuntu knowledge
<symphorien[m]> I think I only became aware of how this works on nixos...
* flokli tries to spawn guibou
<samueldr> I don't know if my memories are right, but package for different libGL vendors conflict maybe?
<samueldr> but that was maybe from before libglvnd existed?
<samueldr> probably not before, looking at the earlier commit dates
<symphorien[m]> https://packages.debian.org/sid/amd64/libegl-nvidia0/filelist it seems there are symlink involved in debian
rj has quit [Ping timeout: 240 seconds]
rj has joined #nixos-dev
pmy has quit [Ping timeout: 246 seconds]
pmy has joined #nixos-dev
rj_ has joined #nixos-dev
rj has quit [Ping timeout: 240 seconds]
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #nixos-dev
justanotheruser has joined #nixos-dev
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #nixos-dev
plumm has quit [Read error: Connection reset by peer]
zhaofeng1 has quit [Quit: Bridge terminating on SIGTERM]
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #nixos-dev
supersandro2000 is now known as Guest37093
supersandro2000 has joined #nixos-dev
Guest37093 has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]