<samueldr>
not many operating systems or distros where the users are pointing out "things broke, but eh, things got better" most of the time it's "things broke and I hate things"
iqubic has joined #nixos-chat
<jackdk>
the dark side of "it just works" is "it just breaks"
<dmc>
lol
<samueldr>
it reproducibly works!
<samueldr>
it reproducibly breaks too
<gchristensen>
haha yes
iqubic has quit [Remote host closed the connection]
drakonis has joined #nixos-chat
jasongrossman has quit [Remote host closed the connection]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<infinisil>
Since my last nixpkgs update when I watch a video in firefox, it doesn't prevent the screen from going black anymore (after 10min or whatever)
<infinisil>
If I had the motivation I could totally bisect the issue :)
<srhb>
infinisil: It's a feature :|
<infinisil>
huh?
<gchristensen>
can confirm, thats a feture
<gchristensen>
ff is supposed to prohibit dpms when multimedia is playing
<infinisil>
But.. it's not doing that as of now?
<gchristensen>
oh... doesn't.
<gchristensen>
reading comprehension.
<srhb>
My reading comprehension failures are contagious, apparently...
<infinisil>
Haha, phew
<infinisil>
So yeah, the screen goes black for me after ten minutes of watching media in firefox
<infinisil>
I guess I should test at least if it's a firefox issue or an X issue
<srhb>
You should also be able to use dbus-monitor to see if firefox is trying to prevent it.
<infinisil>
Oh and I guess I could set the dpms time to something low to test
drakonis has quit [Read error: Connection reset by peer]
<elvishjerricco>
infinisil: I realized a reason for the fixed UIDs/GIDs in NixOS. `nesting.children`. You can boot completely different configurations on the same system, so if you use the same root, you'd want the same IDs
<infinisil>
Doesn't /var/lib/nixos/{g,u}id-map already make sure for that to be the case?
<infinisil>
elvishjerricco: ^
<elvishjerricco>
infinisil: Good point, yea probably.
<gchristensen>
not cross-machine
<gchristensen>
if you use certain databases, you need every system to have the same uid/gids for that service
<ldlework>
Anyone using Pomodoro?
<ldlework>
Tried it for the first time today.
<gchristensen>
did it work?
<ldlework>
Yeah
<ldlework>
It was extremely hard
<ldlework>
I wanted to switch back to IRC almost continuously
<ldlework>
lol
<gchristensen>
haha
<ldlework>
But I fixed a huge bug in an emacs package of mine :D
<gchristensen>
oh hot dang, nice!
<ldlework>
Well more of an optimization
<infinisil>
gchristensen: Well if you have such requirements you should really be using some service to coordinate the machines, and that should also make sure the permissions are correct. It feels wrong for NixOS to have to handle that case
<gchristensen>
to have NixOS avoid impurities..?
<infinisil>
We don't have unlimited ids, services change, and systemd has great support for temporary ids. It feels wrong to have to make ids static.
<gchristensen>
yeah. I think for most things, dynamic IDs are fine
<infinisil>
If applications really depend on what id number they have then they should fix that
<infinisil>
If you can show me some distributed database or whatever that points out in their docs that they expect all machines have the same ids, that would be a good reason
<infinisil>
And I'd gladly keep static uid/gid support for just those
<gchristensen>
seems reasonable
<infinisil>
Cool, I'll probably add that to my document at some point
<gchristensen>
and I suppose it is possible to have users pin them on their own
<jackdk>
I'm looking at https://github.com/NixOS/nixpkgs/issues/53626 - scotty appears to depend on hpc-coveralls, which has too-tight bounds for ghc 8.6 and recent aeson. scotty doesn't actually need the package unless you set a flag. Is there a way to hide the dependency from hackage-packages.nix and not build with the flag?
<{^_^}>
#53626 (by endgame, 8 minutes ago, open): haskell.packages.ghc863.hpc-coveralls fails to configure (deps too restrictive)
sir_guy_carleton has quit [Quit: WeeChat 2.2]
jackdk has quit [Ping timeout: 246 seconds]
pie_ has joined #nixos-chat
<elvishjerricco>
So, Haskell derivations don't parallelize very well at all. I've never seen them benefit from more than `--cores 4`. Is there anything I can do so that I don't have to add `--cores 4` every time I work with Haskell derivations?
<gchristensen>
etu: specifically, the lines in that text should have different indentations and nix-mode should not disturb them
<elvishjerricco>
gchristensen: Do you think we should limit NIX_BUILD_CORES in Haskell's generic-builder until issues like those are resolved?
<gchristensen>
yeah probably
<gchristensen>
cc dtz ^
<elvishjerricco>
gchristensen: I'll open an issue in GitHub for discussion
<gchristensen>
great
<gchristensen>
ping peti :)
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-chat
<etu>
gchristensen: ah, cotcha
<pie_>
current status of my preliminary run at doing wine stuff with nix: https://bpaste.net/show/850228ac7ab7https://bpaste.net/show/a763a5542b45 . it kind of works but i cant figure out why my overlayfs is immutable still , also yes i know it needs root and i need to find a way around that at some point, maybe by not using overlayfs, idk :P
<pie_>
err or rather maybe its not immutable but it has weird issues with opening and writing to existing files
<infinisil>
Youtube down!
<infinisil>
And back again
<pie_>
must be tapping the tubes
endformationage has quit [Quit: WeeChat 2.3]
endformationage has joined #nixos-chat
<etu>
gchristensen: The reason for nix-mode to normalize all the lines of a string to the same level is due to the fallback-identation to put previous lines indetation level on the current line.
<etu>
or now i'm confused again :D
<etu>
elisp...
<ldlework>
gchristensen: i looked at nix-mode but things have changed too much i didn't want to get into it again sorry for not responding
<gchristensen>
no worries
<gchristensen>
thanks
<elvishjerricco>
Hm. Do you not have to set enableParallelBuilding=true; anymore? This always yields `4` for me: `nix-build -E '(with import <nixpkgs> {}; stdenv.mkDerivation { name="hi"; buildCommand = "echo $NIX_BUILD_CORES"; enableParallelBuilding = false; })'`