andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #83300 → tor-browser-bundle-bin: 9.0.6 -> 9.0.7 → https://git.io/Jvyj6
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvQVA
<pie_[bnc]> energizer: are you *sure* path is still set when you disable the rc files and its not inheriting it from the parent process?
<{^_^}> [nixpkgs] @zarelit opened pull request #83633 → network-interfaces: fix literalExample arguments → https://git.io/JvQVp
<energizer> pie_[bnc]: it is inheriting
<pie_[bnc]> yeah. so thats not really surprising. clear PATH when youre calling it and see what happens
<pie_[bnc]> then you should know to check the rc files and you should be able to follow the nix trails from there i think
<energizer> pie_[bnc]: when i'm calling what?
<tbenst[m]> pie_[bnc]: okay, I tracked the hang in pudb all the way until....... `np.dot`. The hang occurs in c code :(. Furthermore, I saved the inputs to np.dot, and cannot reproduce the hang using the same python shell. WTF
<pie_[bnc]> tbenst[m]: dunno lol that sucks 'xD
<pie_[bnc]> tbenst[m]: oh wait you mean it really is a hang and we shouldnt be getting it?
<{^_^}> [nixpkgs] @Ma27 merged pull request #83602 → [19.09] tor-browser-bundle-bin: 9.0.5 -> 9.0.7 → https://git.io/JvQn8
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/JvQwf
<energizer> $ PATH='' /run/current-system/sw/bin/nix-shell --pure -p youtube-dl --run 'python3 --version'
<energizer> Python 3.7.6
<tbenst[m]> yes
<pie_[bnc]> tbenst[m]: ffffuuuuu
<pie_[bnc]> tbenst[m]: you could try having a go at it with gdb >_>
<pie_[bnc]> tbenst[m]: or strace?
<pie_[bnc]> energizer: the nix shell has it in the path because nix-shell exposes buildinputs and the like AFAIK
<pie_[bnc]> its kind of weird
<pie_[bnc]> and i dont know how it works
<energizer> ok so what are you asking me to do
<{^_^}> [nixpkgs] @bhipple merged pull request #83631 → [20.03] pythonPackages.pywinrm: missing dependency → https://git.io/JvQVw
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/JvQwI
<pie_[bnc]> energizer: PATH= bash --no-rc --no-profile or whatever the flags are
<pie_[bnc]> you should not have python in the path
<pie_[bnc]> hten remove the flags one at a time an dsee which one adds python to your path
<pie_[bnc]> after you do that, check the contents of the rc or profile file
<{^_^}> [nixpkgs] @Ma27 pushed to master « nixos/tests/mongodb: also test mongodb-3_4 »: https://git.io/JvQwq
<pie_[bnc]> energizer: one of the big deals about nix, though things can still be pretty hard to track down, is it generally doesnt pull things out of thin air
<{^_^}> [nixpkgs] @Ma27 merged pull request #83606 → [20.03] tor-browser-bundle-bin: 9.0.6 -> 9.0.7 → https://git.io/JvQcu
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JvQwm
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
reallymemorable has quit [Quit: reallymemorable]
<pie_[bnc]> if something has access to something, its usually because its *given* access, by means of knowing the path to access
<energizer> $ PATH='' /run/current-system/sw/bin/bash -c 'python3'
<energizer> /run/current-system/sw/bin/bash: python3: No such file or directory
reallymemorable has joined #nixos
leotaku has joined #nixos
<pie_[bnc]> ok so that means if youd have a fresh envirnment it wouldnt be on your path
<tbenst[m]> meh yeah that is the next logical step. My last endeavor debugging nix issues with strace was not productive though so I'm getting close to punting https://github.com/NixOS/nixpkgs/issues/75590
<{^_^}> #75590 (by tbenst, 15 weeks ago, open): nix-shell: Bus error (core dumped)
<pie_[bnc]> (i think(
<{^_^}> [nixpkgs] @bhipple reopened pull request #83564 → [20.03] pythonPackages.ntlm-auth: 1.0.3 -> 1.4.0 to fix build → https://git.io/JvHjg
<pie_[bnc]> tbenst[m]: yeah im not much of a native code debugger...
<pie_[bnc]> tbenst[m]: are you sure its a hang and not just super slow?
<tbenst[m]> The dot product it hangs on finishes instantaneosly in another shell
<{^_^}> scikit-learn/scikit-learn#636 (by vene, 8 years ago, closed): Parallel K-Means hangs on Mac OS X Lion
<pie_[bnc]> thats super old though
<pie_[bnc]> google doesnt seem to yield much for numpy dot hang...
<tbenst[m]> that link is very helpful!
<pie_[bnc]> and enabling debugging on nix is hard in my nooby experience....
<pie_[bnc]> tbenst[m]: by the way gdb and py-bt is pretty cool
<pie_[bnc]> cant remember how i got it to work last time though
<pie_[bnc]> its been a while
cr4y1 has quit [Ping timeout: 256 seconds]
<tbenst[m]> python multiprocessing on nix is treacherous based on how we package the whole enterprise
<pie_[bnc]> i think you have to grab the python source code and import the gdb scripts into gdb
<pie_[bnc]> tbenst[m]: yeah?
<pie_[bnc]> hi me
<tbenst[m]> :D
<pie_[bnc]> didnt leave a script though...
* pie_[bnc] searches locally
<energizer> pie_[bnc]: rebooting it's still on my PATh
jlv has quit [Remote host closed the connection]
<pie_[bnc]> energizer: so try looking through the process tree I guess?
<pie_[bnc]> energizer: nix-shell -p pstree --run pstree
<energizer> pie_[bnc]: for what?
<pie_[bnc]> energizer: for who you are inheriting python in path from
<pie_[bnc]> at least, im assuming its an inheritance thing
* pie_[bnc] looks up how to get env vars of a PID
<pie_[bnc]> cat /proc/<pid>/envirn
<pie_[bnc]> envirn
<pie_[bnc]> environ
<pie_[bnc]> third times the charm
<tbenst[m]> huh, the code in safe_sparse_dot is different in the latest sklearn!
<tbenst[m]> the code branches to np.dot for me,
maddo has quit [Quit: See ya]
<tbenst[m]> but now in latest sklearn it calls a @ b
m0rphism has quit [Ping timeout: 264 seconds]
<tbenst[m]> gonna try bumping sklearn
<pie_[bnc]> tbenst[m]: doe sthe worning and nonworing version differ on that?
<pie_[bnc]> energizer: actually, looks like your rcfile might be different than what happens when you just call bash?
<pie_[bnc]> hold on
<energizer> pie_[bnc]: it's my window manager
<GrimSleepless> Hey guys! I have a quick question for you!
<pie_[bnc]> energizer: https://bpaste.net/OFIQ shows my bash gets called with a specific pid
<pie_[bnc]> energizer: ok so its inherited from the window manager?
<energizer> pie_[bnc]: yes
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_[bnc]> ok
linarcx has quit [Ping timeout: 256 seconds]
<pie_[bnc]> energizer: i dont know anything qtile specific
<GrimSleepless> How do you install a unstable feature in the configurations.nix? Like running unstable for VirtualBox?
<pie_[bnc]> energizer: you look at the derivation of qtile via nix show-derivation <thepathgoeshere>
<pie_[bnc]> or maybe thats just something qtile does?
<pie_[bnc]> btw; nix-shell -p pstree --run "pstree $$"
ZaraChimera has quit [Quit: Quit]
ZaraChimera has joined #nixos
dermetfan has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #82521 → development/libraries/libdap: fix hash → https://git.io/Jvits
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JvQw1
<{^_^}> [nixpkgs] @bhipple merged pull request #83626 → theme-jade1: 1.6 -> 1.7 → https://git.io/JvQ2E
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQw9
<pie_[bnc]> me playing around a bit nix-shell -p pstree --run "pstree $$" | grep -Eo "[0-9]{5}" | xargs -I"{}" cat /proc/"{}"/environ | tr "\0:" "\n\n" | less
<pie_[bnc]> energizer: I ~guess~ it needs python to be in path? i guess you could try to not pass it to children
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83634 → ameba: 0.11.0 -> 0.12.0 → https://git.io/JvQwd
<pie_[bnc]> nixos bash might not require vars from the parent
<pie_[bnc]> im probably a bit out of my depth here
<energizer> okay
<energizer> thanks, this has been helpful
<pie_[bnc]> i mean
<pie_[bnc]> i have suggestions
<pie_[bnc]> they just might not be good
<pie_[bnc]> tbenst[m]: yeah i cant find my gdb stuff
never_released has quit [Ping timeout: 252 seconds]
never_released_ has joined #nixos
<tbenst[m]> pie_[bnc]: gonna bump sklearn first
<pie_[bnc]> energizer: so is the patch you linked not working or what
butterthebuddha has joined #nixos
<pie_[bnc]> energizer: btw if you want to work on patches oyu might be able to start your window managet in Xephyr so it doesnt interfere with stuff
<pie_[bnc]> energizer: that restore environment looks like its getting run after some __main__ stuff, not sure if thats the relevant part for "clearing", maybeits more like setting up for qtile? im not sure
<{^_^}> [nixpkgs] @jtojnar opened pull request #83635 → hydra-unstable: Fix eval with allowAliases = false → https://git.io/JvQrG
<pie_[bnc]> i think what we want (?) is to restore the original env vars or something for when a new process is spawned
<pie_[bnc]> "* Avoid tainting child processes environment:
<pie_[bnc]> Save PATH and PYTHONPATH in wrapper, and restore them in python code."
noonien has quit [Quit: Connection closed for inactivity]
<pie_[bnc]> this looks like exactly what we want, so is it not working or what???
<pie_[bnc]> tbenst[m]: https://bpaste.net/WWDA im in the nix-shell, no idea why it cant see pytest
<pie_[bnc]> hm maybe because its in checkinputs
vertigo_38 has quit [Ping timeout: 265 seconds]
<pie_[bnc]> tbenst[m]: tests "running" yay
johnw has quit [Quit: ZNC - http://znc.in]
sudoforge has quit [Ping timeout: 258 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<pie_[bnc]> tbenst[m]: well for some odd reason the tests seem to have run through, 44 errors though
<{^_^}> [nixpkgs] @Ma27 merged pull request #83635 → hydra-unstable: Fix eval with allowAliases = false → https://git.io/JvQrG
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvQr8
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvQrE
<{^_^}> [nixpkgs] @Ma27 pushed commit from @jtojnar to release-20.03 « hydra-unstable: Fix eval with allowAliases = false »: https://git.io/JvQrz
<tbenst[m]> pie_[bnc]: that’s great that they even ran!!
<pie_[bnc]> i mean they ran before but i think they hang at some poijt
<pie_[bnc]> anyway still poking around
<tbenst[m]> Honestly, I wouldn’t be surprised if some of those are true bugs in upstream given that even they can’t run the full test suite...
<tbenst[m]> On my end, sklearn bump appeared to make no difference
<pie_[bnc]> yeah
<pie_[bnc]> ran it with xvfb_run and got some weird stuff
<pie_[bnc]> rna it with Xephyr now im spammed full og
<pie_[bnc]> The XKEYBOARD keymap compiler (xkbcomp) reports:
<pie_[bnc]> > This warning only shows for the first high keycode.
<pie_[bnc]> > X11 cannot support keycodes above 255.
<pie_[bnc]> > Warning: Unsupported high keycode 372 for name <I372> ignored
<pie_[bnc]> ugh
<{^_^}> <LAMBDA>
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):293:1
<{^_^}> undefined variable 'X11' at (string):292:1
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dermetfan has joined #nixos
butterthebuddha has joined #nixos
<energizer> pie_[bnc]: i guess it's not working then?
<pie_[bnc]> energizer: *shrug* >.>
sudoforge has joined #nixos
sudoforge has quit [Client Quit]
sudoforge has joined #nixos
<pie_[bnc]> tbenst[m]: also we probably want to build against unstable (or master) given that we're going to be merging to master
<{^_^}> [nixpkgs] @romildo opened pull request #83636 → iconpack-jade: init at 1.22 → https://git.io/JvQrD
<energizer> ldlework: my shell is providing a `python3` binary that it inherits on PATH from qtile. does your shell inherit PATH from qtile?
reallymemorable has quit [Quit: reallymemorable]
iyzsong has joined #nixos
<ldlework> energizer: qtile is on my path but i don't think my python comes from it
h0m1 has quit [Ping timeout: 240 seconds]
* pie_[bnc] rebuilds with a newer nixpkgs...
<energizer> ldlework: would ya `cat /proc/$qtile_pid/environ | tr '\0' '\n' | ag '^PATH=' | tr : '\n'` and tell me if there's a python/bin in there?
h0m1 has joined #nixos
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<lordcirth_> I'm trying to help with ZHF 20.03, but I am having trouble figuring out how to run the same tests that Hydra does. I can't find the docs on nixpkgs tests. I'm probably missing something obvious?
cptchaos83 has joined #nixos
<energizer> ldlework: er grep instead of ag if you like
<pie_[bnc]> energizer: you checked if the windowmanager isnt getting it from its parent right?
<ldlework> energizer: i don't have a $qtile_pid
ambroisie has quit [Ping timeout: 256 seconds]
<energizer> ldlework: check with `ps aux` what your qtile pid is
ddellacosta has joined #nixos
<pie_[bnc]> tbenst[m]: whats up
chagra has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
dermetfan has quit [Ping timeout: 246 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<tbenst[m]> pie_[bnc]: bumped sklearn, same issue, trying to launch pudb but now getting ModuleNotFoundError when trying to import deeplabcut
<pie_[bnc]> tbenst[m]: i think i would try to compare to the shell that actually works for you
<pie_[bnc]> though its probably a matter of the different backend
<pie_[bnc]> tbenst[m]: if you have the spare cpu, might be worth trying to run through the stuff and see if everything works on the working backend while youdo the other stuff
<tbenst[m]> I’m using the same genericBuilder approach you posted, and it was working great. Not sure why bumping sklearn would break it
<pie_[bnc]> im not sure either
<{^_^}> [nixpkgs] @romildo opened pull request #83637 → Desktop manager.desktop names → https://git.io/JvQod
<pie_[bnc]> i think i had the module error a few times and i fixed it simply but i cant remember what the situation was
<pie_[bnc]> you might have an unrelated problem
<pie_[bnc]> tbenst[m]: you *did* reload the shell and stuff worked without errors?
<tbenst[m]> Yes it is an unrelated problem
<pie_[bnc]> and the usual trick of diffing the drvs should help inthis case
cyris212 has quit [Ping timeout: 264 seconds]
<pie_[bnc]> i think
<tbenst[m]> Oddly I’ve had to reload the shell each time I kill the hanging program
<pie_[bnc]> theres actually a tool for that
<tbenst[m]> I get a weird error from `os` module
cyris212 has joined #nixos
<{^_^}> [nixpkgs] @romildo closed pull request #83589 → nixos.xfce: use 'XFCE' as the session name → https://git.io/JvQOD
<pie_[bnc]> there might be some merit in trying deeplabcut in a virtualenv to see if that works...not sure
<pie_[bnc]> but that would have the latest pypi versions of everything i assume
<pie_[bnc]> seems like a bit of a shotgun approach and we dont even know if its a software version problem
<pie_[bnc]> tbenst[m]: i just realized i was probably building that against a relatively old nixpkgs too
<tbenst[m]> Yeah good thought, I’m going to run on Ubuntu and see if works without nix...
<pie_[bnc]> well i assume it will work because if it didnt they owuld have fixed it
<pie_[bnc]> >_>
<tbenst[m]> My pull request is on recent branch from master
<pie_[bnc]> if its broken under all circumstances i mean
<{^_^}> [nixpkgs] @veprbl opened pull request #83638 → higan: fix darwin build → https://git.io/JvQKk
work_ has joined #nixos
CRTified has joined #nixos
<ldlework> energizer: /nix/store/gbwx5sc4w0i0ipnmsa0nsk88svs983vl-python3-3.7.2/bin
teto has quit [Ping timeout: 272 seconds]
thc202 has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/54e89941c30 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
MarcWebe2 has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ace3bb36fed (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<energizer> ldlework: ok thanks
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83564 → [20.03] pythonPackages.ntlm-auth: 1.0.3 -> 1.4.0 to fix build → https://git.io/JvHjg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvQKa
felixfoertsch23 has joined #nixos
<energizer> pie_[bnc]: what i don't quite understand is how i could be inheriting envvars from the wm since my shell isn't a descendant of the wm in pstree
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 is now known as felixfoertsch
<energizer> oh
<energizer> jeez
<{^_^}> [nixpkgs] @bhipple merged pull request #83512 → coqPackages.paramcoq: 1.1.1 → 1.1.2 → https://git.io/JvHM9
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQKX
<energizer> terminator is written in python
emacsomancer has quit [Read error: Connection reset by peer]
emacsoma1 has joined #nixos
<pie_[bnc]> energizer: lel :D
<pie_[bnc]> i mean im not 100% sure that should mean it gets python in its path just because its written in python
<energizer> but that's not it. xterm does the same
<pie_[bnc]> ah
<pie_[bnc]> nice
<pie_[bnc]> didnt think of testing it like that
<pie_[bnc]> well what *is* it a descendant of?
<{^_^}> [nixpkgs] @bhipple merged pull request #83546 → python27Packages.mayavi: 4.7.0 -> 4.7.1 → https://git.io/JvHxV
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQKh
<energizer> rxvt is a apparently descendant of systemd, but that doesn't make sense, i started it directly from my wm
<energizer> so maybe there's some magic going on there
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83639 → drawio: 12.6.5 -> 12.9.3 → https://git.io/JvQ6G
<cole-h> Unless you used a systemd unit to start your wm
butterthebuddha has joined #nixos
<pie_[bnc]> cole-h: even then shouldnt the wm be the parent?
<pie_[bnc]> unless the wm either doesnt create it directly or teres some sort of reparenting thing going on
<ldlework> energizer: what's actual problem at hand?
<{^_^}> [nixpkgs] @aanderse merged pull request #82784 → nixos/phpfpm: add example to socket → https://git.io/JvX3O
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JvQ6z
drakonis has quit [Read error: Connection reset by peer]
<energizer> ldlework: i dont understand why python is on my PATh
<energizer> PATH*
mounty has quit [Quit: Konversation terminated!]
wavirc22 has quit [Ping timeout: 265 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
<tbenst[m]> pie_[bnc]: when I call `genericBuild` I get "ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/391bjg5ib6lrf460985jfld8pfjsnq5v-python3.7-deeplabcut-2.1.6'"
<tbenst[m]> have you seen this before? wasn't happening an hour ago...
<pie_[bnc]> doesnt sound familiar
<pie_[bnc]> might not be a problem because it already exists or something
<pie_[bnc]> maybe its calling installphase but it shouldnt be
<energizer> ldlework: is that python path you linked on your PATH? `which -a python3`
<pie_[bnc]> because you cant installphase from a shell
<pie_[bnc]> (i presume)
<tbenst[m]> I'm doing `nix-shell --pure -I nixpkgs=. -A python3Packages.deeplabcut` followed by `cd $(mktemp -d) && genericBuild && pudb3 testscript.py`
<pie_[bnc]> tbenst[m]: sure, and im saying i have no idea but genericBuild *would* call installphase, and that sounds riht for it
<pie_[bnc]> tbenst[m]: does it say installing or osmething
mounty has joined #nixos
<pie_[bnc]> tbenst[m]: does deeplabcut still work?
<pie_[bnc]> if yes i personally would not be too worried - until i run into something broken by it :P
<tbenst[m]> no, I can't import anymore
<pie_[bnc]> tbenst[m]: i think i might have been doing a weird hack where i ran nix-build then nix-shell
<pie_[bnc]> tbenst[m]: which you just reminded me of
<pie_[bnc]> which hypothetically would populate the store paths
<pie_[bnc]> you follow?
<pie_[bnc]> though that does make it odd that my patches worked
<ldlework> energizer: yeah
<pie_[bnc]> seems generally screwy but seemed to make my stuff work >_
<pie_[bnc]> >_>
<tbenst[m]> yes I follow
<tbenst[m]> pie_[bnc]: you nailed it! Have to do nix-build first
<energizer> ldlework: the general question is i'm wondering if the reason it's on my path is because qtile put it there, or if it's just coincidence and qtile happens to use the same one as the one that something else put on my path
<energizer> but idk how to ask nix that question
<ldlework> energizer: i would think that all shells inherit your terminal emulators which all inherit from qtile
<pie_[bnc]> tbenst[m]: yeah sorry i totally forogt to mention that :D
<ldlework> as qtile is responsible for creating those processes, assuming you have terminal creation bound to qtile bindings and start it that way
glittershark has joined #nixos
<pie_[bnc]> tbenst[m]: i think this is the "relatively simple fix" i was talking about :D
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<glittershark> just lustrated my work laptop \o/
<glittershark> friendship ended with arch linux
init_6 has joined #nixos
<energizer> how does python3 get onto PATH there? is that something that buildPythonApplication does?
<energizer> and anyway why would i want that restore_os_environment
<energizer> i'm gonna try it without that patch
<pie_[bnc]> as we were discussing earlier, looks like restore_os_environment is precisely trying to remove the mutations qtile adds to the environment (or at least thats what the PR says)
<pie_[bnc]> tbenst[m]: me, viewing this output with less >_> :
<pie_[bnc]> DISPLAY=:1 script -qfc "xvfb-run -s \"-screen 0 800x600x24\" python3 build.py test --verbose --extra_pytest=\"-k 'not ( access_Tests or test_lib_agw_piectrlMethods )'\"" /dev/null |& tee log | less -R +F
<pie_[bnc]> the output is mangled anyway and i have to less -R +F the log file anyway 'xD
<pie_[bnc]> which...for some reason isnt getting the xkb log errors
<pie_[bnc]> OH
<pie_[bnc]> PH
<pie_[bnc]> IM DUMB
<growpotkin> Has anyone ever "migrated" their `store' to a new hard-drive? I (naively) installed mine on my tiny SSD years ago when I first installed NixOS and I'm constantly running out of space now.
<pie_[bnc]> im running xephyr in the background
<pie_[bnc]> thats where im getting all the xkbcomp warnings
<energizer> pie_[bnc]: i thought it's the other way around, adding python back onto path after buildPythonApplication would normally remove it
<pie_[bnc]> growpotkin: in theory you should just be able to copy the whole systemover, ive done it before
<pie_[bnc]> energizer: in practice, idk whats going on
<growpotkin> pie_[bnc]: Do you mean with `dd' or something?
<pie_[bnc]> growpotkin: yeah
gustavderdrache has left #nixos [#nixos]
<growpotkin> pie_[bnc]: Wow... it's so simple that id just might work haha
<pie_[bnc]> growpotkin: yup ^.^
<pie_[bnc]> growpotkin: some fun stuff i did was constructing a system in a virtual mahcine, testing it, then dding it to a drive
<growpotkin> pie_[bnc]: I assume that the NixOS config's hardware settings need to be altered to point to the new drive?
<pie_[bnc]> growpotkin: i dont htink so, but be careful when mounting both drives at once maybe
<pie_[bnc]> UUIDs and such are set in software im quite sure, so dd will copy those too
<tbenst[m]> Piepie_[bnc] ah glad to hear you found the cause
<pie_[bnc]> unless youre using some kind of immutable hardware id
<growpotkin> pie_[bnc]: You're the man now dog!
<pie_[bnc]> growpotkin: tell me when it works xD
<growpotkin> pie_[bnc]: Will do. I need to do some `fdisk' wizardry real quick to section off a part of that disk that I'm storing some videos on now; but I'm sure it'll pan out wonderfully.
<growpotkin> Hard Mode: has anybody managed to use two stores? One on an SSD for frequently used binaries, and a second for general use?
<pie_[bnc]> growpotkin: thats something im curious about
<pie_[bnc]> growpotkin: the usual problem is that if you have a differnt store path you have to build everythig yourself, but ive heard there are fixes for this, im just not sure if theres anything accepted yet
<growpotkin> I'm imagining `environment.SSDPackages = with pkgs; [...];'
<pie_[bnc]> tbenst[m]: not sure whats causing these, though theyre running in xephyr; E SystemError: wxEntryStart failed, unable to initialize wxWidgets! (Is DISPLAY set properly?)
<pie_[bnc]> growpotkin: afaik in theory there isnt anything stopping you from doing it, just inconvenient
<pie_[bnc]> growpotkin: but im no authority on this subject so do look into it
<{^_^}> [nixpkgs] @bhipple merged pull request #82996 → cri-o: v1.17.0 -> v1.17.1 → https://git.io/JvQPq
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQPm
<mjrosenb> abathur: then why does my idea install have linux binaries in it, which can't be run on my computer?
<growpotkin> pie_[bnc]: Yeah most Nix projects I dive into frequently crumble when I am re-acquanted with the "documentation" of deeper Nix libs haha. But it's worth looking into.
<{^_^}> [mobile-nixos] @samueldr opened pull request #112 → Add GitHub actions for simple validations → https://git.io/JvQPz
<pie_[bnc]> growpotkin: there are *several* issues about this on github, jsut gotta find them
<pie_[bnc]> for example https://github.com/NixOS/nix/issues/2107 and its crosslink and more crosslinks etc...
<{^_^}> nix#2107 (by Ekleog, 1 year ago, closed): Nix with custom store
<pie_[bnc]> or someone on irc tha thas a clue tells you about it
<pie_[bnc]> growpotkin: theres also stuff about bind mounts and i dont even know
<pie_[bnc]> growpotkin: im pretty sure there are methods that work i just havent heard anyone say yeah this works, here, use it
<pie_[bnc]> tbenst[m]: how are you doing?
<tbenst[m]> pie_[bnc]: going in circles. thought that thread you sent suggested a multiprocessing problem, but changing forking method has no effect + joblib since patched this
<energizer> how do i remove the path from the list? i'm not sure how to even get a reference to it since in my override ./ won't be pointing to the right place https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/qtile/default.nix#L21
<{^_^}> [nixpkgs] @bhipple merged pull request #83590 → netbeans: 11.2 -> 11.3 → https://git.io/JvQ34
<{^_^}> [nixpkgs] @bhipple pushed 3 commits to master: https://git.io/JvQP6
<pie_[bnc]> tbenst[m]: it was a shot in the dark
felixfoertsch23 has joined #nixos
<pie_[bnc]> tbenst[m]: we really didnt have any proof it was related
<{^_^}> [nixpkgs] @bhipple merged pull request #83414 → libtorrent-raster: 1.1.11 -> 1.2.5; qbittorrent: 4.2.1 -> 4.2.2 → https://git.io/Jv93P
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQP1
<pie_[bnc]> which is why i said maybe try compari
shibboleth has quit [Remote host closed the connection]
kleisli has joined #nixos
<{^_^}> [mobile-nixos] @samueldr merged pull request #112 → Add GitHub actions for simple validations → https://git.io/JvQPz
<{^_^}> [mobile-nixos] @samueldr pushed 7 commits to master: https://git.io/JvQPS
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 is now known as felixfoertsch
<tbenst[m]> https://github.com/scikit-learn/scikit-learn/issues/636#issuecomment-4172159 is is the exact hang--same `np.dot` call from same function it hangs for me
<tbenst[m]> I also tried bumping to latest deeplabcut commit, same issue
<pie_[bnc]> i need a min, tests runningin my x11
<tbenst[m]> now trying in anaconda
drakonis has joined #nixos
<tbenst[m]> works fine in FHS shell using conda
<pie_[bnc]> tbenst[m]: isnt it your cuda overlay
<pie_[bnc]> unrelated
<pie_[bnc]> is it still impossible to run a second x11?
mexisme has quit [Ping timeout: 240 seconds]
<cole-h> Is it possible to add a GPG key to a custom-built NixOS ISO? So I don't have to have a flashdrive with my key on it.
<tbenst[m]> cuda overlay?
<tbenst[m]> also, I may have spoken too soon. I just broke it in conda when updating dlc
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<tbenst[m]> nvm, works in conda across versions
captjakk has quit [Ping timeout: 240 seconds]
reallymemorable has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #83343 → coqPackages.coqhammer: 1.1 → 1.1.1 → https://git.io/JvSls
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQXf
<tbenst[m]> pie_[bnc]: have a nagging suspiscion that problems are due to the nix-build/nix-shell environment. any idea how to build a python Env? I thought this would work
<tbenst[m]> `nix-build --keep-failed -I nixpkgs=. -p 'python3.buildEnv.override { extraLibs = [ python3Packages.deeplabcut ];}'`
<tbenst[m]> but I get a `failed to produce output path`
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #83640 → brave: 1.5.112 -> 1.5.115 → https://git.io/JvQXt
captjakk has joined #nixos
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #83641 → brave: 1.5.112 -> 1.5.115 → https://git.io/JvQXG
<{^_^}> [nixpkgs] @bhipple merged pull request #83225 → pjsip: 2.9 → 2.10 → https://git.io/JvyZg
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvQX8
mexisme has joined #nixos
captjakk has quit [Ping timeout: 256 seconds]
<energizer> how do i refer to this path when i'm overriding the `patches` attr? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/qtile/default.nix#L21
zaeph1 has joined #nixos
<pie_[bnc]> tbenst[m]: im really frustrated right now >_<
<pie_[bnc]> i wish i could stop finding novel ways of killing months old accumulated sessions
<pie_[bnc]> i had several old tmuxes open with stuff
mexisme has quit [Ping timeout: 256 seconds]
<pie_[bnc]> i ran startx in a tty and that somehow killed all input to my machine
<cole-h> energizer: By using `fetchpatch` on the patches you want in nixpkgs
<pie_[bnc]> though it still seemed ot be running
<tbenst[m]> pie_[bnc] Oof that’s annoying. I too am super frustrated. Trying two last builds for tonight
<tbenst[m]> One on Ubuntu, to see if the nix package magically works there
<tbenst[m]> And then a python env to run tests outside of build/shell
<pie_[bnc]> no idea how to build a python env
zaeph has quit [Ping timeout: 240 seconds]
<pie_[bnc]> how the f*** do i start a second x session
glittershark has quit [Remote host closed the connection]
<pie_[bnc]> systemd completely ruined this
<{^_^}> [nix] @Ericson2314 opened pull request #3453 → Use `enum strut` and drop prefixes → https://git.io/JvQX9
<cole-h> pie_[bnc]: Xephyr. See the AW: https://wiki.archlinux.org/index.php/Xephyr
<pie_[bnc]> xephyr is crippled last i checked
<energizer> cole-h: how do i use that, it doesn't seem to be documented
<pie_[bnc]> ive been running it but less tests succeed in xephyr
<pie_[bnc]> ok hold on im going to hang my damn system again
<energizer> cole-h: can i refer to a path that's in nixpkgs?
<energizer> rather than an http url
<cole-h> You could try `<nixpkgs/path/to/patch/file>`
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<energizer> cole-h: thanks
<pie_[bnc]> yeah this is consistently screwed
<pie_[bnc]> and i didnt even see anything in its stderr
<pie_[bnc]> i start it and i literally have no input
<{^_^}> [nixpkgs] @aneeshusa opened pull request #83642 → rustc: remove test-only git dependency → https://git.io/JvQ1f
<pie_[bnc]> I cant even switch tty
<pie_[bnc]> well this has thoroughly thrown a wrench in my brain
<pie_[bnc]> #@!$#$%#@$
<pie_[bnc]> ok back to work
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<cole-h> So, I'm trying to build a plugin for rofi. It errors out at rofi being unable to find a cairo.h, but I have it in my buildInputs... What gives?
<cole-h> Here's my derivation and partial log: https://gist.github.com/cole-h/bff0ea3d51bfe43517143f21c41b26f0
captjakk has joined #nixos
<cole-h> I also tried putting cairo and rofi in propagated and nativeBuildInputs -- no dice there either
captjakk has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [mobile-nixos] @samueldr opened pull request #113 → [WIP] Add the demo rootfs build to release.nix → https://git.io/JvQ1C
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83643 → leatherman: 1.10.0 -> 1.11.0 → https://git.io/JvQ14
<est31> why is llvm 7 still the default?
<est31> it's quite dated by now, no?
<pie_[bnc]> tbenst[m]: sorry, totally sidetracked on this garbage
<pie_[bnc]> has noone on nixos even tried to start a second x session since 19.09
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83644 → leo-editor: 5.7.3 -> 6.2 → https://git.io/JvQ10
<evils> pie_[bnc]: i think i have, but i think i already used sway with xwayland then
<pie_[bnc]> :/
<pie_[bnc]> im now going to run a vm and try sshing in
drakonis has quit [Quit: WeeChat 2.7.1]
<cole-h> I found my problem: the project wasn't telling automake that it needed cairo libs lol
<pie_[bnc]> ugh tonight is a very bad night
<pie_[bnc]> i cant even enable openssh in the nixos iso
<pie_[bnc]> whe i enable it and try to log in i get some sort of PAM breakage
<pie_[bnc]> pam_setcred() failure setting user credentials
mexisme has joined #nixos
<pie_[bnc]> guess ill just instl
ZaraChimera has quit [Quit: Quit]
Lysergic1reams has joined #nixos
LysergicDreams has quit [Ping timeout: 256 seconds]
palo1 has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
zebrag has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
rogue_koder has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @aneeshusa to staging « rustc: remove test-only git dependency »: https://git.io/JvQMp
<{^_^}> [nixpkgs] @RohanHart opened pull request #83645 → lutris: custom wine installations require libkrb5 → https://git.io/JvQMh
<{^_^}> [nixpkgs] @Mic92 closed pull request #83642 → rustc: remove test-only git dependency → https://git.io/JvQ1f
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @Mic92 merged pull request #83632 → Revert "gitAndTools.gh: fix build on darwin" → https://git.io/JvQVy
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvQMj
<{^_^}> [nixpkgs] @Mic92 merged pull request #83638 → higan: fix darwin build → https://git.io/JvQKk
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvQDf
ZaraChimera has joined #nixos
hmpffff has joined #nixos
hmpffff has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #75697 → kodi: add option for GBM backend → https://git.io/JeQwi
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvQDk
work_ has quit [Quit: Connection closed for inactivity]
<est31> I'm getting an error
<est31> error: anonymous function at /nix/store/04ck4nckra6933g5r0ffy1m452zvh4ij-nixos-20.03beta874.b0c285807d6/nixos/pkgs/os-specific/linux/amdgpu-pro/default.nix:1:1 called without required argument 'libxcb', at /nix/store/04ck4nckra6933g5r0ffy1m452zvh4ij-nixos-20.03beta874.b0c285807d6/nixos/lib/customisation.nix:69:16
<est31> how can I debug?
<est31> I'm just trying to patch a package
<est31> have never thought that it'd be as hard in nix os as this
<est31> this is excerpt of my configuration.nix
<ehmry> est31: its "patches", not "patch"
<ehmry> though thats probably not the source of the error
<lovesegfault> est31: you're better off using `nixpkgs.overlays`
<est31> lovesegfault: can I use overlays in that instance too?
<lovesegfault> yep
<est31> it's an x server module
<est31> so the x server loads per user modules? or how am I to imagine it?
<lovesegfault> overlays just replace things in nixpkgs (kind of)
<lovesegfault> if you've ever used Gentoo they are similar to portage overlays, but with more control over the application order
<lovesegfault> est31: example for an overlay that applies a patch: https://github.com/lovesegfault/nix-config/blob/master/overlays/arcanist.nix
<est31> how can I do overlays from configuration.nix directly?
<est31> I'm still very new to all of this
<lovesegfault> let me make a snipper
<lovesegfault> *snippet
<lovesegfault> (see also man configuration.nix grep for overlays)
<est31> thanks!
<lovesegfault> :)
<est31> lovesegfault: it gives me that same error again
<est31> called without required argument 'libxcb'
<est31> ^
<lovesegfault> hmm
* lovesegfault goes look
alexherbo2 has joined #nixos
<lovesegfault> est31: there is a typo, it's not rxf86videoamdgpu
<est31> good point
<est31> lovesegfault: same error
<est31> also if I replace pkgs with super
reallymemorable has quit [Quit: reallymemorable]
<lovesegfault> est31: show me the whole config
<lovesegfault> the problem is elsewhere
FRidh has joined #nixos
<est31> sure
<lovesegfault> or: if you comment out that statement does it work?
<lovesegfault> (the whole overlay thing)
<est31> it does
<est31> lovesegfault: see pm
* lovesegfault looks
zaeph1 is now known as zaeph
<lovesegfault> Alright, I'll add that to my config let's see
ToxicFrog has quit [Ping timeout: 256 seconds]
<est31> in ubuntu you just do sudo apt source <name of package>
<est31> then you cd inside
<est31> then you google the name to build the debian files
<est31> then dpkg -i <deb file>
<lovesegfault> ok, I can repro
<est31> I guess it's simple in nix too
ToxicFrog has joined #nixos
<est31> but right now i dont have that experience :p
<lovesegfault> est31: remove the `xorg.`
<lovesegfault> just xf86... = super.xf...
<est31> that works
<lovesegfault> :)
<est31> thanks!
<est31> lovesegfault: it doesn't rebuild the package though
<est31> so I'm not confident it actually works
<lovesegfault> :(
<est31> yeah if I put an invalid path into patches it still updates everything normally
<est31> it should give an error
<lovesegfault> cole-h: maybe you have a clue
<lovesegfault> or worldofpeace
cosimone has joined #nixos
<cole-h> Only things I can think of are: hash not being invalidated; or, it not actually being directly used anywhere.
<cole-h> Does anything happen if you override the buildInputs to be completely blank? That should definitely throw an error.
<est31> cole-h: what exactly is a buildInput in this instance?
<est31> buildInputs = null; ?
<cole-h> That might work. I would have done `buildInputs = [];`, though
<est31> xorg.xf86videoamdgpu = super.xorg.xf86videoamdgpu.overrideAttrs (old: { buildInputs = [];
<est31> like this?
<est31> still the same error with that
<lovesegfault> the problem is in xorg, I think that's doing something unexpected
<lovesegfault> idk what it's evaluating
<est31> I originally tried to use this as an inspiration
<est31> but it does a lot of different things
<lovesegfault> 2017, oof
<lovesegfault> est31: most EU folks are away right now, I think your best bet is to wait for them to come online
<est31> ok
<est31> is 2017 considered old in nix terms?
<est31> how much breakage is there?
<lovesegfault> depends how you define breakage
<lovesegfault> can you move a 2017 system to 2020? absolutely
<lovesegfault> can you do it without touching your config? no. stuff probably has moved around a bunch
chagra has joined #nixos
<est31> ok
<est31> My overall project is trying to confirm whether the bug I have is https://gitlab.freedesktop.org/drm/amd/issues/883 or not
<est31> to do that I need to patch out relevant parts of the component
linarcx has joined #nixos
linarcx has quit [Client Quit]
<est31> lovesegfault: thanks for your help and stay healthy
<multun> est31: nixos has fairly unstable APIs. when some API is deemed not good enough, it just gets changed over releases. releases notes are a bit more important than debian's, for example
linarcx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83648 → pdfsam-basic: 4.1.1 -> 4.1.2 → https://git.io/JvQy2
Heirlung has quit [Read error: Connection reset by peer]
cole-h has quit [Quit: Goodbye]
<lovesegfault> est31: you too, stay well in these crazy times :)
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « coqPackages.paramcoq: 1.1.1 → 1.1.2 »: https://git.io/JvQyX
Heirlung has joined #nixos
linarcx has quit [Quit: WeeChat 2.7.1]
linarcx has joined #nixos
linarcx has quit [Client Quit]
ZaraChimera has quit [Quit: Quit]
parsnip has joined #nixos
linarcx has joined #nixos
<est31> multun: I see
linarcx has quit [Client Quit]
kaliumxyz has joined #nixos
linarcx has joined #nixos
<parsnip> hi, i'm trying to file an issue, but probably everyone will hate me
<parsnip> if i try to convert the manual with pandoc, it turns into a jumbled mess
ddellacosta has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83650 → pspg: 2.6.6 -> 2.7.1 → https://git.io/JvQSo
linarcx has quit [Client Quit]
<{^_^}> nix#3454 (by bradyt, 9 seconds ago, open): Converting manual to org with pandoc does not make much sense
linarcx has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JvQS6
<{^_^}> [nixpkgs] @vcunat opened pull request #83651 → services.nixosManual fallout → https://git.io/JvQSi
parsnip has left #nixos [#nixos]
linarcx has quit [Client Quit]
mallox has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #75430 → erlangR22: 22.1.7 -> 22.3 → https://git.io/Je9t5
<pie_[bnc]> well, re the startx issue earlier, some progress has been made https://github.com/NixOS/nixpkgs/issues/83646
<{^_^}> #83646 (by deliciouslytyped, 1 hour ago, open): Default (lack of) configuration for startx is REALLY bad / starting multiple x sessions
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83652 → qmapshack: 1.14.0 -> 1.14.1 → https://git.io/JvQSy
<pie_[bnc]> im just extremely unhappy about the fact that in its current configuration running startx seems to cut off lal your interface peripherals
fengdaolong has quit [Ping timeout: 258 seconds]
<pie_[bnc]> startx is not typically seen as a "nuke your access" command
<{^_^}> [nixpkgs] @nlewo opened pull request #83653 → nixos/nextcloud: add bcmap, mp4 and webm in nginx configuration → https://git.io/JvQSS
fengdaolong has joined #nixos
linarcx has joined #nixos
linarcx has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh opened pull request #83654 → pythonPackages.py2to3: fix pname → https://git.io/JvQSd
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JvQSb
<{^_^}> [nixpkgs] @vcunat merged pull request #83013 → exiv2: fix CVE-2019-20421 → https://git.io/JvQSp
<mlatus> > m = { outPath = "serious?"; }
<{^_^}> m defined
<mlatus> > "${m}"
<{^_^}> "serious?"
<mlatus> So this is the intended behavior?
<{^_^}> [nixpkgs] @ryantm merged pull request #83639 → drawio: 12.6.5 -> 12.9.3 → https://git.io/JvQ6G
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvQ9q
linarcx has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « Merge #83013: exiv2: patch CVE-2019-20421 »: https://git.io/JvQ9O
cinimod has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-19.09: https://git.io/JvQ9c
<cinimod> I do nix-shell --pure -I nixpkgs=~/nixpkgs -p gcc
<mlatus> So nix actually do not have a derivation type, just treat attrsets with special attr names differently?
<cinimod> and then
<cinimod> g++ -Wall -O3 -march=native -std=c++17 -g bounded32.cpp -Ipcg-cpp-master/include -DUSE_STD -DRNG_INCLUDE=\"gjrand.hpp\" -DRNG_TYPE=gjrand32 -o tests/bounded32.gjrand32.STD.gcc
<cinimod> g++: error: unrecognized command line option '-stdlib=libc++'
<cinimod> It's not on my command so where is it coming from? It seems nix is supplying it for me: NIX_CXXSTDLIB_LINK= -stdlib=libc++
butterthebuddha has joined #nixos
<cinimod> So why is nix supplying an option that doesn't exist?
<cinimod> Ah sorry wrong channel
<cinimod> Oh no - it is the right channel - I thought I had posted on #ghc
<cinimod> So I've done export NIX_CXXSTDLIB_LINK= in my nix shell
<cinimod> Now I get iostream: No such file or directory but isn't that a standard component of g++?
<{^_^}> [nixpkgs] @RohanHart opened pull request #83655 → backport #83645 → https://git.io/JvQ9V
<jluttine> can i somehow restart something that handles input devices (kernel??)? i'm trying to debug a touchpad issue and when making system changes, nixos-rebuild and restart display-manager isn't sufficient..
<{^_^}> [nixpkgs] @FRidh opened pull request #83656 → buildPythonPackage: add prefix to pname → https://git.io/JvQ9o
<jluttine> i wouldn't want to reboot after every step..
hmpffff has joined #nixos
<cinimod> Nope
init_6 has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @Emantor opened pull request #83657 → linux config: enable Creative Soundblaster DSP loading → https://git.io/JvQ9M
ardumont has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Emantor closed pull request #83657 → linux config: enable Creative Soundblaster DSP loading → https://git.io/JvQ9M
init_6 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ace3bb36fed (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @Emantor opened pull request #83658 → linux config: enable Creative Soundblaster DSP loading → https://git.io/JvQ9A
ardumont has joined #nixos
Lysergic1reams has quit [Ping timeout: 265 seconds]
opthomasprime has joined #nixos
jluttine has quit [Quit: WeeChat 2.7.1]
Jonathan has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
jluttine has joined #nixos
sudoforge has quit [Ping timeout: 265 seconds]
asheshambasta has joined #nixos
mounty has quit [Ping timeout: 250 seconds]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<asheshambasta> hello everyone, I've been facing random crashes on a relatively new desktop system, so I've been trying to get memtest to show up in my grub boot menu. Any ideas on how to achieve that?
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
butterthebuddha has joined #nixos
<asheshambasta> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/loader/grub/memtest.nix tells me that I need to add memtest86 as a package and set the boot.loader.grub.memtest86 param to true, both of which I've done.
<evils> asheshambasta: .memtest86 or .memtest86.enable? did you nixos-rebuild switch after that, and is this on UEFI?
nobbo has joined #nixos
nobbo has quit [Client Quit]
asheshambasta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @LnL7 merged pull request #83532 → Revert "luaPackages.luv: 1.30.0-0 -> 1.34.1-1" → https://git.io/JvHdQ
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JvQHY
asheshambasta1 has joined #nixos
<asheshambasta1> Sorry my machine crashed
cosimone has quit [Remote host closed the connection]
<evils> asheshambasta1: .memtest86 or .memtest86.enable? did you nixos-rebuild switch after that, and is this on UEFI?
cosimone has joined #nixos
o1lo01ol1o has joined #nixos
<asheshambasta1> This is uefi yes. And I’ve set the enabled Boolean option to true.
<asheshambasta1> I’ve also run rebuild.
<evils> memtest86 is bios only, for uefi, either try messing with the systemd-boot which has the non-free UEFI one, or put passmark memtest86 on a usb stick and boot from that
<asheshambasta1> Ah okay.
o1lo01ol1o has quit [Ping timeout: 258 seconds]
cosimone has quit [Quit: Terminated!]
<Shados> Any easy way to figure out what package contains a particular header?
<evils> ,locate pcap.h
<{^_^}> Found in packages: pjsip, freerdp, libpcap
<Shados> ,locate dpms.h
<{^_^}> Found in packages: nxproxy, xlibs.libxcb.dev, xlibs.libXext.dev, libsForQt511.kwayland.dev, kdeFrameworks.kwayland.dev
<{^_^}> [nixpkgs] @etu merged pull request #82624 → mixx: Build with libshout 2.4.1 → https://git.io/Jviwx
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/JvQHR
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos
<asheshambasta1> https://share.icloud.com/photos/00qsdkQOOn3PQoRjYUsG25bUQ#Waregem I’ve also been noticing some
<asheshambasta1> Kernel
<{^_^}> [nixpkgs] @FRidh opened pull request #83659 → Libunwind → https://git.io/JvQHz
<asheshambasta1> Apologies, crashing system so I’m typing on a phone. But there have been some kernel panics and I’m not sure these are related in any way.
noudle has joined #nixos
<mlatus> Why placeholder "out" does not work in runCommand?
<mlatus> I got "mkdir: cannot create directory '/1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9'"
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/ace3bb36fed (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> [nixpkgs] @Emantor opened pull request #83660 → nixos/systemd: remove one DefaultBlockIOAccounting → https://git.io/JvQHo
cinimod has quit [Remote host closed the connection]
cinimod has joined #nixos
m0rphism has joined #nixos
maddo has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « coqPackages.coqhammer: 1.1 → 1.1.1 »: https://git.io/JvQHi
asheshambasta has joined #nixos
linarcx has quit [Quit: WeeChat 2.7.1]
scream has left #nixos ["User left"]
<bqv[m]> nice, nix segfaults on my current config
<bqv[m]> hm, updating fixed it
opthomasprime has left #nixos [#nixos]
<mlatus> ok, so placeholder does not work on passAsFile, why is it not fixed?
mexisme has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @fnords opened pull request #83661 → vimPlugins.coc-spell-checker: Add override and node dependency → https://git.io/JvQQJ
<Shados> Is there some way of getting a single-output version of a multiple output package...? I have a build process that really, *really* wants headers and libs in the same prefix
Darkmatter66 has joined #nixos
<bqv[m]> make a new derivation out of the two?
<bqv[m]> cp -lr
<bqv[m]> or is it -sr
<bqv[m]> one of the two
<Shados> I think I'd probably use symlinkJoin if that's really the best option ._.
Darkmatter66_ has quit [Ping timeout: 240 seconds]
<Emantor> asheshambasta1: 5.4.6 is really old, current on nixos 19.09 is 5.4.28. Please update to a recent kernel and see if the issue persists.
<asheshambasta1> Emanator: thanks. I’ll try this after my memtest. The system used to be stable on this kernel, or maybe it was just random
<Emantor> asheshambasta1: note that memtest will not necessarily uncover faulty RAM, its usually easier to unplug sticks and crosstest with known good ones.
<Emantor> But having known good RAM available is usaually the problem :-)
<asheshambasta1> I have a suspicion it’s my motherboard though, but I have no idea what to make of these kernel panics.
cinimod` has joined #nixos
<asheshambasta1> At this point all ‘poweroff’ and ‘reboot’ commands crash the system.
<Shados> bqv[m]: well, symlinkJoin did work, but now I fee lsad
<asheshambasta1> https://share.icloud.com/photos/00qsdkQOOn3PQoRjYUsG25bUQ#Waregem - and I managed to capture one of them. Usually the screen freezes. But at times it’s also this.
<bqv[m]> haha
Darkmatter66_ has joined #nixos
<asheshambasta1> Emantor: and yeah I don’t have extra ram. I’ll just take the sticks out one by one and test.
fendor has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83662 → utf8proc: 2.4.0 -> 2.5.0 → https://git.io/JvQQz
Darkmatter66 has quit [Ping timeout: 264 seconds]
cinimod has quit [Ping timeout: 256 seconds]
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
<dhess> Emantor: can you answer a few Q's about this Hydra migration for me?
mounty has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #83659 → pkgsStatic.libunwind: fix build, fixes #81198 → https://git.io/JvQHz
<{^_^}> [nixpkgs] @FRidh pushed to staging « pkgsStatic.libunwind: fix build, fixes #81198 »: https://git.io/JvQQr
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<Emantor> dhess: I am no hydar expert, not sure how I can help you.
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #83663 → pkgsStatic.python3: fix build → https://git.io/JvQQi
<dhess> Oh sorry, I saw your nixpkgs fork referenced in a comment thread, thought you had something to do with it.
jbgi_ has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #83396 → spice-vdagent: 0.19.0 -> 0.20.0 → https://git.io/JvS7E
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvQQX
<{^_^}> [nixpkgs] @mmahut merged pull request #83399 → subunit: 1.1.0 -> 1.4.0 → https://git.io/JvS5Q
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvQQ1
<Emantor> dhess: Ah, I got a wrong rebase somewhere, thats why I am listed as the commiter. You'll want to ask ma27[m] as the author.
<dhess> no worries
chloekek has joined #nixos
hmpffff has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<wavirc22> I have noticed recently, nix-env don't seem to display curl download progress when it follows a redirect. Has anyone seen this? If I use curl directly on the same download, sure enough I do see the progress for the redirect.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
linarcx has joined #nixos
linarcx has quit [Client Quit]
<pjt_014> wait what? when does nix ever need to follow redirects? I've never seen that.
<pjt_014> and I coulda sworn curl needed -L to do that.
<NobbZ[m]> wavirc22 this is how curl and nix do output flushing and printing here.
hax404_ has joined #nixos
hax404 has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
linarcx has quit [Client Quit]
<NobbZ[m]> Nix will only flush the output on a newline, curl though does not send newlines during status updates. Just carriage return.
linarcx has joined #nixos
linarcx has quit [Client Quit]
<NobbZ[m]> This has nothing to do with the redirect. If initial resource is large enough you wouldn't see anything.
hax404_ has quit [Client Quit]
hax404 has joined #nixos
linarcx has joined #nixos
teto has joined #nixos
<wavirc22> <NobbZ[m]>: Ok. Fair enough. I guess there's not much I can do about it?
dermetfan has joined #nixos
linarcx has quit [Client Quit]
<cinimod`> I am trying to build some C++ code (not mine) via a generated
<cinimod`> `-nostdinc++ -I/usr/bin/../include/c++/v1`
<cinimod`> because there is an assumption that the include files are located:
<cinimod`> Makefile. One of the compile commands in the Makefile is failing
<cinimod`>
linarcx has joined #nixos
<cinimod`> I have a nix shell: `nix-shell --pure -I nixpkgs=~/nixpkgs -p libcxx -p gcc`
lsix1 has joined #nixos
linarcx has quit [Client Quit]
ottidmes has joined #nixos
<cinimod`> `printenv` tells me (twice oh well):
<cinimod`> `NIX_CXXSTDLIB_COMPILE= -isystem /nix/store/ibnnd3ldx63bbmpk8h32nxbdgi4vv92a-libc++-7.1.0/include/c++/v1 -isystem /nix/store/ibnnd3ldx63bbmpk8h32nxbdgi4vv92a-libc++-7.1.0/include/c++/v1`
<cinimod`> so I can try
<cinimod`> g++ -Wall -O3 -march=native -std=c++17 -g bounded32.cpp
<cinimod`> -I/nix/store/ibnnd3ldx63bbmpk8h32nxbdgi4vv92a-libc++-7.1.0/include/c++/v1
<cinimod`> -DRNG_TYPE=gjrand32 -nostdinc++
<cinimod`> -Ipcg-cpp-master/include -DUSE_STD -DRNG_INCLUDE=\"gjrand.hpp\"
<cinimod`> -nodefaultlibs -lc++ -lc++abi -lm -lSystem -lgcc -o
<cinimod`> tests/bounded32.gjrand32.STD-libc++.gcc
<cinimod`>
<cinimod`> Amazingly this compiles and runs.
<cinimod`> However, I feel putting
<cinimod`> `-I/nix/store/ibnnd3ldx63bbmpk8h32nxbdgi4vv92a-libc++-7.1.0/include/c++/v1`
<cinimod`> on the command line is not in the spirit of nix.
<cinimod`>
<cinimod`> What should I be doing?
linarcx has joined #nixos
<NobbZ[m]> <wavirc22 "<NobbZ[m]>: Ok. Fair enough. I g"> Exactly, there is nothing that we can do...
<{^_^}> [nixpkgs] @orivej opened pull request #83665 → avldrums-lv2: alias to x42-avldrums → https://git.io/JvQ74
<wavirc22> Thanks
<MichaelRaskin> Actually, if you put this path using ${libcxx} and not literal store path, this should be fine
<cinimod`> MichaelRaskin: Ta very much
<MichaelRaskin> Ah wait, you want in nix-shell, not in expression
<jluttine> can i specify swap file declaratively in nixos configuration.nix without having to do anything myself about creating the file or so? i'm creating a live nixos usb stick and the target machine has very low memory so i thought i'd define a swap file to the usb stick.. if that makes sense..
asheshambasta1 has quit [Remote host closed the connection]
<MichaelRaskin> cinimod`: does _just_ g++ fail?
<MichaelRaskin> jluttine: I think pre-initialisation using mkswap is required. At least the comment says so
<MichaelRaskin> Hmm, or maybe it is obsolete, because swapfile creation is also there…
<jluttine> MichaelRaskin: hmm, maybe if i set both device="/tmp/swap-foobar" and size="1000" it'll create the file automatically
<MichaelRaskin> There seesm to be code for creating a systemd unit creating the swap file
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83666 → aeolus: 0.9.7 -> 0.9.8 → https://git.io/JvQ7K
<MichaelRaskin> (of course, swap on USB drive might be pretty painful)
<woffs> Hi. I wonder when will haskell-updates including LTS-15 be merged into release-20.03?
<jluttine> MichaelRaskin: yep.. and i'm not sure if it's even possible to use the swap file on a live os usb stick.. maybe it's not possible to write on the disk.. at least, that would be nice for live os usb sticks that they are immutable.. so maybe that's a no go.
zupo has joined #nixos
vandenoever has joined #nixos
asheshambasta1 has joined #nixos
laduke has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
wavirc22 has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<pjt_014> Client: HexChat 2.14.2 • OS: Unknown Distro • CPU: AMD Phenom(tm) II X4 945 Processor (3.00GHz) • Memory: Physical: 7.4 GiB Total (6.6 GiB Free) Swap: 7.8 GiB Total (7.2 GiB Free) • Storage: 77.1 GB / 309.9 GB (232.8 GB Free) • VGA: Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000] @ Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control • Uptime: 1w 1
<pjt_014> d 10h 40m 44s
pjt_014 has quit [Quit: Leaving]
JonReed has joined #nixos
pjt_014 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
laduke has joined #nixos
asheshambasta1 has quit [Remote host closed the connection]
pnobre has joined #nixos
wavirc22 has joined #nixos
__monty__ has joined #nixos
pjt_014 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #83665 → avldrums-lv2: alias to x42-avldrums → https://git.io/JvQ74
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « avldrums-lv2: alias to x42-avldrums (#83665) »: https://git.io/JvQ53
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #83654 → pythonPackages.py2to3: fix pname → https://git.io/JvQSd
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.py2to3: fix pname »: https://git.io/JvQ58
Bunogi0 has joined #nixos
Bunogi has quit [Quit: rip weechat]
kleisli has quit [Remote host closed the connection]
Bunogi0 is now known as Bunogi
kleisli has joined #nixos
ambroisie has joined #nixos
erictapen has joined #nixos
lsix1 has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
ambroisie has quit [Ping timeout: 250 seconds]
ambroisie has joined #nixos
erictapen has quit [Ping timeout: 252 seconds]
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @Luflosi opened pull request #83668 → kitty: 0.17.1 -> 0.17.2 → https://git.io/JvQ5Q
linarcx has quit [Quit: WeeChat 2.7.1]
<Nyanloutre[m]> Hello, I was looking at the powerManagement module and was wondering why powerDownCommands is only executed before sleep.target
<Nyanloutre[m]> Is there a reason to not execute it before shutdown.target ?
kleisli has quit [Remote host closed the connection]
ambroisie has quit [Ping timeout: 264 seconds]
captjakk has joined #nixos
kleisli has joined #nixos
captjakk has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83669 → bdf2psf: 1.194 -> 1.195 → https://git.io/JvQ5h
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #83488 → buildRustCrate: Add "-r" to cp to make it work under Mac OS → https://git.io/JvQdT
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JvQdk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83670 → bindfs: 1.14.3 -> 1.14.4 → https://git.io/JvQd3
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<aria> hi. i updated from 19.09 to 20.03 and all of a sudden my mouse is much much faster, and my tray isn't working inside awesomewm
mexisme has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83671 → commonsLang: 3.9 -> 3.10 → https://git.io/JvQdl
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<yorick> LOG: no match in usermap "hydra-users" for user "postgres" authenticated as "postgres"
mexisme has quit [Ping timeout: 240 seconds]
misuzu has quit [Remote host closed the connection]
Jackneill has joined #nixos
misuzu has joined #nixos
jdelStrother has joined #nixos
<jdelStrother> Heya
domogled has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #83672 → pythonPackages.ftputil: fix build → https://git.io/JvQd0
orivej has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #83673 → python: Shapely: 1.6.4.post2 -> 1.7.0 → https://git.io/JvQdg
bvdw has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 256 seconds]
bvdw has joined #nixos
<jdelStrother> A library I use calls `sw_vers` at runtime, if it's running on macos. That normally exists at /usr/bin/sw_vers, so works fine if I run nix-shell. If I run `nix-shell --pure`, it fails because it's not in the path. Is there a canonical way of exposing certain executables like that to the nix environment?
<{^_^}> [nixpkgs] @FRidh opened pull request #83674 → buildPython*: use pname → https://git.io/JvQd1
Rovanion has quit [Quit: WeeChat 1.4]
ambroisie has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #83675 → pythonPackages.pytest: 5.3.5 -> 5.4.1 → https://git.io/JvQdA
kleisli has quit [Ping timeout: 265 seconds]
mounty has quit [Quit: Konversation terminated!]
<betaboon> does anyone have a suggestion how to best configure xdg-mime/xdg-open ?
knupfer has joined #nixos
pnobre has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
jbgi_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/JvQF4
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #83676 → Python packages set updates → https://git.io/JvQFR
noudle has quit []
<{^_^}> [nixpkgs] @FRidh closed pull request #83675 → pythonPackages.pytest: 5.3.5 -> 5.4.1 → https://git.io/JvQdA
captjakk has joined #nixos
jdelStrother has quit [Ping timeout: 240 seconds]
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #83668 → kitty: 0.17.1 -> 0.17.2 → https://git.io/JvQ5Q
<{^_^}> [nixpkgs] @FRidh pushed commit from @Luflosi to master « kitty: 0.17.1 -> 0.17.2 »: https://git.io/JvQFa
<{^_^}> [nixpkgs] @FRidh pushed commit from @JeffLabonte to release-19.09 « brave: 1.5.112 -> 1.5.115 »: https://git.io/JvQFV
<{^_^}> [nixpkgs] @FRidh merged pull request #83640 → [19.09] backport brave: 1.5.112 -> 1.5.115 → https://git.io/JvQXt
<{^_^}> [nixpkgs] @herberteuler opened pull request #83677 → mathematica: 12.0.0 -> 12.1.0 → https://git.io/JvQFw
<{^_^}> [nixpkgs] @FRidh merged pull request #83641 → [20.03] backport brave: 1.5.112 -> 1.5.115 → https://git.io/JvQXG
<{^_^}> [nixpkgs] @FRidh pushed commit from @JeffLabonte to release-20.03 « brave: 1.5.112 -> 1.5.115 »: https://git.io/JvQFK
Aleksejs has quit [Ping timeout: 260 seconds]
turq has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #83636 → iconpack-jade: init at 1.22 → https://git.io/JvQrD
<{^_^}> [nixpkgs] @FRidh pushed commit from @romildo to master « iconpack-jade: init at 1.22 »: https://git.io/JvQFP
copy_ has quit [Ping timeout: 260 seconds]
copy_ has joined #nixos
turq has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81911 → cargo-asm: 0.1.17 -> 2019-12-24 → https://git.io/Jvway
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « cargo-asm: 0.1.17 -> 2019-12-24 »: https://git.io/JvQFM
<{^_^}> [nixpkgs] @FRidh merged pull request #81748 → bgpq3: init at 0.1.35 → https://git.io/JvVUb
<{^_^}> [nixpkgs] @FRidh pushed commit from @B4dM4n to master « bgpq3: init at 0.1.35 »: https://git.io/JvQFy
Aleksejs has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #81328 → pythonPackages.fipy: 3.3 -> 3.4.1 → https://git.io/JvgYS
<{^_^}> [nixpkgs] @FRidh pushed commit from @wd15 to master « pythonPackages.fipy: 3.3 -> 3.4.1 »: https://git.io/JvQF9
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #81320 → hg-evolve: enable doCheck → https://git.io/JvgL9
<{^_^}> [nixpkgs] @FRidh merged pull request #81323 → pythonPackages.sfepy: 2019.2 -> 2019.4 → https://git.io/JvgqF
<{^_^}> [nixpkgs] @FRidh pushed commit from @wd15 to master « pythonPackages.sfepy: 2019.2 -> 2019.4 »: https://git.io/JvQFp
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh merged pull request #83200 → pythonPackages.variants: init at 0.2.0 → https://git.io/Jvyfw
<{^_^}> [nixpkgs] @FRidh pushed commit from Rakesh Gupta to master « pythonPackages.variants: init at 0.2.0 »: https://git.io/JvQbf
vandenoever has joined #nixos
vandenoever has joined #nixos
<bqv[m]> <betaboon "does anyone have a suggestion ho"> home-manager.users.*.xdg.mimeApps
knupfer has quit [Ping timeout: 252 seconds]
iyzsong has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<betaboon> thanks
magnetophon has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1bf263773de (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1bf263773de (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
opthomasprime has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @FRidh pushed 18 commits to python-unstable: https://git.io/JvQbB
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #83670 → bindfs: 1.14.3 -> 1.14.4 → https://git.io/JvQd3
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « bindfs: 1.14.3 -> 1.14.4 »: https://git.io/JvQbR
<{^_^}> [nixpkgs] @FRidh merged pull request #83677 → mathematica: 12.0.0 -> 12.1.0 → https://git.io/JvQFw
<{^_^}> [nixpkgs] @FRidh pushed commit from @herberteuler to master « mathematica: 12.0.0 -> 12.1.0 »: https://git.io/JvQb0
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #83672 → pythonPackages.ftputil: fix build → https://git.io/JvQd0
<{^_^}> [nixpkgs] @FRidh pushed commit from @xfix to master « pythonPackages.ftputil: fix build »: https://git.io/JvQbz
<{^_^}> [nixpkgs] @mkg20001 opened pull request #83678 → boot.loader.grub: add theme option → https://git.io/JvQb2
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « http-parser: 2.9.3 -> 2.9.4 »: https://git.io/JvQbo
<{^_^}> [nixpkgs] @FRidh merged pull request #83462 → http-parser: 2.9.3 -> 2.9.4 → https://git.io/Jv9AM
knupfer has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #83679 → xfce.xfce4-whiskermenu-plugin: 2.3.3 -> 2.4.3 → https://git.io/JvQbK
mananamenos has joined #nixos
<mananamenos> Hi, neither logout nor switch users works with xfce4-session-logout. It crashes. How can i track the error of this crash and be able to google for a solution?
dansho has joined #nixos
<mananamenos> I use lightdm display-manager, which is the default for xfce
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83680 → calcurse: 4.5.1 -> 4.6.0 → https://git.io/JvQbP
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 250 seconds]
alexherbo29 is now known as alexherbo2
Jackneill has quit [Ping timeout: 265 seconds]
Makaveli7 has joined #nixos
cinimod` has quit [Ping timeout: 256 seconds]
hax404 has quit [Remote host closed the connection]
hax404 has joined #nixos
<symphorien> mananamenos: works for me on 20.03 beta
<symphorien> (I tried switch users)
JonReed has quit [Remote host closed the connection]
<mananamenos> symphorien: i use nixos unstable channel, so nixos-version is 20.90pre.. (nightingale). How could i try 20.03 beta?
<ivegotasthma> I'm fighting a package that tries to use unexported symbols from libraries, if anyone wants to help out, here's the GH issue https://github.com/NixOS/nixpkgs/issues/83629 I can't dissect to see which package causes the problems
<{^_^}> #83629 (by doom3wasagoodgame, 14 hours ago, open): Lutris + Wine broken LoL
<mananamenos> symphorien: Also i should have mentioned that when i crashes, i see some weird nouveau error on the black screen
<symphorien> mananamenos: they should be mostly the same, but: sudo nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
<symphorien> then sudo nix-channel --update
<symphorien> sudo nixos-rebuild boot
<symphorien> oh. nouveau is such a tempting culprit
<{^_^}> [nixpkgs] @Atemu opened pull request #83681 → cherrytree: 0.39.0 -> 0.39.1 → https://git.io/JvQbp
<symphorien> I use i915 so that could be it
civodul has joined #nixos
ixxie has joined #nixos
forkland has joined #nixos
<mananamenos> symphorien: so, this laptop has a nvidia card but also intel graphics 630. Is noveau responsable for both cards? Can i somehow setup nixos to only use intel 630 graphics?
<symphorien> nouveau is only responsible for nvidia
<symphorien> about only using integrated graphics, some bioses have a configuration switch for this, and otherwise I don't know
<symphorien> maybe look in the wiki ?
zebrag has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #82852 → [WIP] buildRustPackage: enable strictDeps → https://git.io/JvX5u
<{^_^}> [nixpkgs] @Mic92 pushed 19 commits to master: https://git.io/JvQNU
<{^_^}> [nixpkgs] @Mic92 pushed 129 commits to staging: https://git.io/JvQNT
<{^_^}> [nixpkgs] @xfix opened pull request #83682 → pythonPackages.ftputil: fix build → https://git.io/JvQNk
<{^_^}> [nixpkgs] @Mic92 pushed to staging « buildRustPackage: enable strictDeps »: https://git.io/JvQNI
cinimod` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83683 → bmake: 20200212 -> 20200318 → https://git.io/JvQNO
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mananamenos has quit [Ping timeout: 264 seconds]
xkapastel has joined #nixos
jdelStrother has joined #nixos
dermetfan has quit [Ping timeout: 252 seconds]
mananamenos has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #83684 → xfce.xfce4-hardware-monitor-plugin: fix url (unmaintained) → https://git.io/JvQNc
alexherbo2 has quit [Read error: Connection reset by peer]
<mananamenos> symphorien: i cant believe it :) tried this line `boot.blacklistedKernelModules = ["nouveau"];` and it works now. Thank you!
o1lo01ol1o has joined #nixos
LysergicDreams has quit [Ping timeout: 264 seconds]
waleee-cl has joined #nixos
<mananamenos> how to can i check which of the default videoDrivers list am i using `default = [ "radeon" "cirrus" "vesa" "vmware" "modesetting" ];`?
LysergicDreams has joined #nixos
alexherbo2 has joined #nixos
<symphorien> modesetting I think
abrar has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #76420 → flutter: init 1.12.13+hotfix.8 → https://git.io/JeFbx
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JvQN0
lsyoyom has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #83685 → matcha: 2020-03-24 -> 2020-03-29 → https://git.io/JvQNu
<mananamenos> symphorien: one more question, in nixos-unstable xfce desktop does not have many xfce4-* tools in the ui's application menu. For example, i have to run xfce4-display-settings from the konsole, cause it is not in menu. Before it was always there
<symphorien> there is an issue about it
<mananamenos> ok, thanks
<{^_^}> #82571 (by romildo, 2 weeks ago, open): xfce, mate: preferences not shown in menu
patagonicus has joined #nixos
<bqv[m]> yorick: i had the segfault again, GC_DONT_GC=1 fixed it :D
<bqv[m]> and it didn't even use that much ram
linarcx has joined #nixos
reallymemorable has joined #nixos
zupo has joined #nixos
ixxie has quit [Ping timeout: 264 seconds]
<patagonicus> Hi there. I've spent some time now trying to get a NixOS system running that has root on LVM on LUKS and is unlocked via SSH. Is that a supported use case? My current config is close, but not quite there: https://gist.github.com/Patagonicus/0d8432734772d2f07d02dfeed1a3bea6 I have "read" in preLVMCommands to stop it from timing out, but afterwards it still asks for the password locally and then fails because
<patagonicus> the device is already decrypted, but if I remove the luks.devices entry, cryptsetup is not included. Do I have to copy & modify the luksroot.nix file or am I just missing the right options?
mexisme has joined #nixos
<{^_^}> [nixpkgs] @herrwiese opened pull request #83686 → matrix-dl: fix license → https://git.io/JvQNS
lassulus_ has joined #nixos
Darkmatter66_ has quit [Ping timeout: 256 seconds]
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
mexisme has quit [Ping timeout: 240 seconds]
Darkmatter66 has joined #nixos
peelz_ has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #83687 → wshowkeys: init at 2019-09-26 → https://git.io/JvQNA
Darkmatter66 has quit [Ping timeout: 264 seconds]
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
mananamenos has quit [Remote host closed the connection]
jjakob has quit [Quit: No Ping reply in 180 seconds.]
linarcx has quit [Ping timeout: 265 seconds]
Darkmatter66 has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @favadi opened pull request #83688 → go: 1.14 -> 1.14.1 → https://git.io/JvQAm
dansho has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @flokli opened pull request #83689 → go_1_14: 1.14 -> 1.14.1 → https://git.io/JvQAs
<{^_^}> [nixpkgs] @Mic92 merged pull request #83686 → matrix-dl: fix license → https://git.io/JvQNS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvQAW
<das-g[m]> Does someoen know how login shell packages are supposed to work? I'm struggling with xonsh: https://discourse.nixos.org/t/can-i-use-xonsh-as-my-login-shell-if-so-how/6472
<patagonicus> Oh, duh. I can just leave it running asking for a password and run cryptsetup-askpass over SSH and that works. Interesting, I wonder what cryptsetup-askpass does, seems to be a wrapper.
cr4y1 has joined #nixos
alexgood has joined #nixos
pnobre has joined #nixos
patagonicus has quit [Quit: patagonicus]
<{^_^}> [nixpkgs] @Mic92 closed pull request #83688 → go: 1.14 -> 1.14.1 → https://git.io/JvQAm
<{^_^}> [nixpkgs] @Mic92 merged pull request #83220 → linux-libre: added --force flag for deblobbing. → https://git.io/Jvysc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvQAa
<alexgood> Hey folks, I'm just getting started with Nix having been on Arch for years. I've got gnome shell up and running from `unstable` but it's version 3.34 and I really want 3.36. 3.36 seems to be in `master` on nixpkgs but isn't available in the unstable channel yet. Is there an easy way to just install whatever is on master?
jjakob has joined #nixos
LysergicDreams has quit [Ping timeout: 250 seconds]
pluplog has joined #nixos
<benny> alexgood: as far as my understanding goes you could switch to unstable-small, which has fewer tests and less binaries but is closer to the current master
<symphorien> or: nixos-rebuild -I nixpkgs=/path/to/any/checkout/of/nixpkgs
<benny> you could also set NIXPKGG (env var) to the master checkout and then it would build everything
Naptra has joined #nixos
LysergicDreams has joined #nixos
<tilpner> master does not contain 3.36 yet
dermetfan has joined #nixos
plp_ has quit [Ping timeout: 264 seconds]
plp_ has joined #nixos
Lysergic1reams has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83690 → drawing: 0.4.11 -> 0.4.13 → https://git.io/JvQAb
LysergicDreams has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #83691 → weechat: v2.7.1 → v2.8 → https://git.io/JvQAj
<alexgood> Ah, right, I read the MR at https://github.com/NixOS/nixpkgs/pull/81626 wrong. It's in `staging` right?
<{^_^}> #81626 (by hedning, 3 weeks ago, merged): Gnome 3.36
WilliButz has quit [Remote host closed the connection]
<alexgood> symphorien benny thanks, both of those look like useful little snippets
jdelStrother has quit [Ping timeout: 240 seconds]
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #83652 → qmapshack: 1.14.0 -> 1.14.1 → https://git.io/JvQSy
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvQxT
Maxdaman1us has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
Maxdamantus has quit [Ping timeout: 260 seconds]
aveltras has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<duairc> Are there any (nix) functions in nixpkgs for parsing/formatting IP addresses using CIDR notation?
cinimod` has quit [Ping timeout: 252 seconds]
<aveltras> i'd like to setup a CI/CD server with hydra and nixos. It it possible having for example a private github repo, hydra setup to automatically build the master branch when it changes and automatically pushing the result of the build if it succeeds to some other nixos server ? if so, is there any example of this somewhere ?
philr has quit [Ping timeout: 265 seconds]
<duairc> aveltras: I'm not sure about the last part, but the rest is certainly possible
Lysergic1reams has quit [Ping timeout: 256 seconds]
cinimod` has joined #nixos
<aveltras> duairc: the issues mention post buld hooks here https://github.com/NixOS/hydra/issues?q=hook, but it doesn't seem to be mentioned in the manual
<lewo> aveltras: there is a plugin to run shell command when a build is finished but Hydra is not designed for this kind of tasks (impure).
<lewo> So, i think ou should use something else for the deploy part.
LysergicDreams has joined #nixos
<aveltras> lewo: i see, is there somewhere i can read about this plugin ?
<pie_[bnc]> TIL individual sysrq-s can be turned off....
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aveltras> lewo: thanks
lassulus_ has joined #nixos
fenedor has joined #nixos
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
xelxebar has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
fendor has quit [Ping timeout: 256 seconds]
jbgi_ has joined #nixos
<infinisil> Allows `parseSubnet "12.34.56.78/24"`
<duairc> infinisil: Ah cool, that's better than nothing. I was hoping for something that did IPv6 as well. I've already started writing it :)
cartwright has quit [Read error: Connection reset by peer]
cartwright has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<infinisil> duairc: At some point I found this here (not sure where from): https://gist.github.com/Infinisil/842168e1db442a70f18563dee1da7c4c
<infinisil> duairc: Oh and also there's a PR with something like this too: https://github.com/NixOS/nixpkgs/pull/68280
<{^_^}> #68280 (by volth, 29 weeks ago, open): produce cleaner /etc/hosts
LysergicDreams has quit [Ping timeout: 265 seconds]
<duairc> infinisil: Haha, that's going to save me a lot of time :) Thanks!
<infinisil> :D
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos
andi- has quit [Remote host closed the connection]
relaxmax has joined #nixos
c0c0 has quit [Quit: WeeChat 2.6]
LysergicDreams has joined #nixos
roosemberth has joined #nixos
andi- has joined #nixos
<roosemberth> Hello! I'm writing a nix script and I'd like to map a function over a cross join. In python I'd use a generator `(fn(a,b) for a in as; for b in bs)`. In nix I'm writing `with lib;(flatten (flip map as (a: flip map bs (b: fn a b))))`, but I wonder if there's anything more idiomatic?
<infinisil> > roosemberth I'd use concatLists instead of flatten, because flatten won't work correctly if fn returns a list
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):293:51
<tilpner> And lib.forEach should be flip map
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83693 → deadbeef: 1.8.2 -> 1.8.3 → https://git.io/JvQp7
<infinisil> Ohh
<duairc> roosemberth: Does this work? concatMap (a: map (f a) bs) as
<infinisil> > crossLists (a: b: "${a} - ${b}") [ ["a1" "a2"] ["b1" "b2"] ]
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> ]
<infinisil> > :p crossLists (a: b: "${a} - ${b}") [ ["a1" "a2"] ["b1" "b2"] ]
<{^_^}> [ "a1 - b1" "a1 - b2" "a2 - b1" "a2 - b2" ]
<infinisil> roosemberth: ^
<tilpner> Huh, neat
LysergicDreams has quit [Ping timeout: 256 seconds]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 252 seconds]
LysergicDreams has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
nschoe has joined #nixos
CptCaptain has quit [Ping timeout: 250 seconds]
<nschoe> Hi everyone, I'm having some issues with `nixos-rebuild build`. It fails with "error: creating symlink from '/tmp/nixos-rebuild.ZlM1OW/nix.drv.tmp-7373-491725176' to '/nix/store/qfc8grhyx4gqpj6m4gni0mgngffxxd87-nix-2.3.3.drv': No space left on device" and then "opening lock file '/nix/store/zvilp79l6g6a0ngk9pj5vbk3j7jzkkda-busybox-1.31.1-x86_64-unknown-linux-musl.lock': No space left on device" and at the end it says: "error: cannot open
<nschoe> connection to remote store 'daemon': executing SQLite statement 'pragma synchronous = normal': unable to open database file (in '/nix/var/nix/db/db.sqlite')". I still have a few GBs of free space on my / partition, though.
<bqv[m]> what about on /nix
<nschoe> And it fails _immediately_ after I run the command. And I monitor the free space remaining on /: it doesn't change. So it's not like "usual" when it downloads a lot of files (after I updated my channels) and fill /
<immae> nschoe: and /tmp
<symphorien> nschoe: check inodes. df -i
<nschoe> immae, weirdly enough when I run `df -h` it doesn't show /tmp/ But when I run `ls` on it, it's fuuuuuuuul of thousands of files.
<nschoe> symphorien, let me try that, thanks.
<nschoe> symphorien, hum okay, `df -i` shows "/dev/dm-2 3670016 3670012 4 100% /"
<symphorien> you ran out of inodes
<symphorien> remove some files.
<nschoe> OMG yeah I checked free space but not inodes.
<nschoe> I did not think in 2020 we could run out of inodes again.
<bqv[m]> amazing
julm has quit [Quit: rebuild]
<nschoe> bqv[m], ?
bsima has quit [Quit: ZNC 1.7.3 - https://znc.in]
<bqv[m]> what filesystem is that?
<nschoe> I just ran `ls -l /tmp | wc -l` and it answerd 922152
<nschoe> I don't think this is normal.
<bqv[m]> no, no it is not
bsima has joined #nixos
<Emantor> So, whom do I need to bug for kernel config changes?
<bqv[m]> how old is the oldest one? you may get away with turning on boot.cleanTmpDir or whatever it is, so that doesn't happen again
<nschoe> I just checked, amon them, 920068 are "nix-shell-<a number>-<a number>"
<nschoe> How come? o_O
<bqv[m]> because if the oldest one is older than your pc's uptime, then they've just been building up
<roosemberth> infinisil: Thanks !
<nschoe> bqv[m], running the find command as we speak
<nschoe> (takes a moment ^^)
reallymemorable has quit [Quit: reallymemorable]
<nschoe> But I thought /tmp was cleaned automatically on boot?
<bqv[m]> it's not, unless boot.cleanTmpDir is true
<bqv[m]> (or boot.tmpOnTmpfs is true, implicitly)
init_6 has quit [Ping timeout: 260 seconds]
<bqv[m]> you know, if it turns out you've managed to accumulate 920068 shells in one boot, i would be extraordinarily impressed
<bqv[m]> ...and terrified
<nschoe> bqv[m], yeah no way ^^
<nschoe> bqv[m], although the find command fails because the pipes apparently try to write to /tmp which is cannot.
<nschoe> So I'll just turn the two options your mentionned to true and reboot.
<nschoe> annnnnd I should get one hell of a cleanup!
<nschoe> 920k files... that's aweome
<bqv[m]> try `ls -lt /tmp`
<bqv[m]> sorts by time
<nschoe> bqv[m], good find, oldest is :
<nschoe> Oct 26 2015 :D
<bqv[m]> your /tmp has grandchildren now
<bqv[m]> turn on both of those options and reboot, and that should never happen again
<nschoe> "your /tmp has grandchildren now" > jus tmade me spill coffee out of my nose :D
<kraem> can i pass 'nixpkgs.config.chromium.enableWideVine=true;' to nix-build somehow? i found --option but couldn't figure out what syntax it wants
domogled has quit [Quit: domogled]
<nschoe> Problem is... I cannot rebuild my configuration.nix afte rI addedd those options :/
<nschoe> Is is safe to download a few files at random in /tmp?
<nschoe> (especially a few nix-shell- directories)
<bqv[m]> you can probably go on a killing spree in /tmp though. at least all the nix-shell- dirs can go
<nschoe> perfect. Thanks
<bqv[m]> kraem: try ` nix-build -E "with import <nixpkgs> { config.chromium.enableWideVine = true; }; callPackage ./default.nix {}" `
captjakk has quit [Remote host closed the connection]
<bqv[m]> i feel like that's what you're after and i think it would work(?)
<kraem> bqv[m]: ah i tried it without callPackage - i'll try that!
captjakk has joined #nixos
lsix1 has joined #nixos
<nschoe> bqv[m], ah ah: "sudo: unable to execute /run/current-system/sw/bin/rm: Argument list too long" that's a first for me :D
<nschoe> Gotta split my rm command in smaller batches:D
<bqv[m]> yeah
<bqv[m]> you made me curious now, i checked my tmp, the oldest file is from two days ago but there's 75 babel-XXXXXX directories
CptCaptain has joined #nixos
wozeparrot has quit [Quit: Connection closed for inactivity]
zaeph1 has joined #nixos
captjakk has quit [Ping timeout: 240 seconds]
<bqv[m]> but at least i'm safe by 5 orders of magnitude
ddellacosta has joined #nixos
<nschoe> bqv[m], indeed :D
zaeph has quit [Ping timeout: 265 seconds]
zaeph1 is now known as zaeph
<nschoe> I can't even run `rm -rf /tmp/nix-shell-22*` because "argument list too long" (I've got dirs like "nix-shell-22600-23". So I must loop with `rm -rf /tmp/nix-shell-226*`, then 225*, etc. It's amazing how it could creep up like this.
wavirc22 has quit [Ping timeout: 240 seconds]
kleisli has joined #nixos
<bqv[m]> i did wonder how it was actually possible to run out of inodes
<bqv[m]> i guess this is how
<MichaelRaskin> bqv[m]: to run out of inodes it's better to create a ton of symlinks. Debugging Nixpkgs TeXLive composition code is highly recommended.
<nschoe> MichaelRaskin, or have (somehow) /tmp not cleaned since, oct 26, 2015 :D
<das-g[m]> nschoe: maybe `xargs` can help?
<immae> nschoe: you can do find /tmp -name "nix-shell-2*" -exec rm -rf {} \;
<bqv[m]> nschoe: since you have the luxury of /tmp living on your root filesystem, a shortcut might be to `mv /tmp /tmp.wtf` and then `mkdir /tmp`, then you can either `rm -rf /tmp.wtf` or `unlink /tmp.wtf` or whatever you like
<nschoe> das-g[m], thanks, but as bqv[m] mentionned, ls -lt did the trick
leah2 has quit [Remote host closed the connection]
<nschoe> bqv[m], indeed.
<bqv[m]> immae++
<bqv[m]> that would work too
<{^_^}> immae's karma got increased to 10
growpotkin has joined #nixos
<immae> (I had the same issue some time ago, because I had a nix-shell running every few seconds and I wasn’t aware that it created persistent files in /tmp)
<nschoe> bqv[m], my plan was to rebuild configuration.nix with the new options and reboot, letting him take care of erasing /tmp. I do not know what is actually needed in tmp when nixOS is running
<bqv[m]> i only suggested that because i now worry that on reboot, nix will just try and rm -rf, and run into the same issue
<nschoe> immae, I did not know either. I don't have a nix-shell running every seconds, but I guess I msut open a fuckton of them over the years.
<nschoe> Well about 900k over 5 years
<immae> right
<kraem> bqv[m]: i'm getting that toplevel/default is called with an invalid argument '<nixpkgs>'
<immae> note that a recent version of nix fixes that
<immae> (2.3.something)
<nschoe> thats' abou t500 a day xD
<evanjs> Okay... two things re gh (the github CLI utility) on nix/nixos... is anybody successfully using it with the nixpkgs repo? It’s unable to resolve PR numbers via `gh pr checkout <number>` whenever I try
<nschoe> OMG my `du` commandjsut returned: /tmp consumed 13 G.
<nschoe> So **that's** where my free space was being sucked :D
<evanjs> 2: does anybody else get a bunch of garbage text after executing commands using gh??
chloekek has quit [Ping timeout: 252 seconds]
<bqv[m]> i prefer to use 'hub'
<bqv[m]> kraem: i have no idea why
<bqv[m]> it works for me
<kraem> bqv[m]: oh i wrote it wrong. now it's saying i am not calling it with required argument localSystem
linarcx has quit [Read error: Connection reset by peer]
leah2 has joined #nixos
linarcx has joined #nixos
<bqv[m]> interesting. i'm out of my depth, you'll have to see if someone else knows
<kraem> bqv[m]: thanks anyways :)
reallymemorable has joined #nixos
nobrak``` has joined #nixos
nobrak`` has quit [Ping timeout: 258 seconds]
Rusty1 has quit [Remote host closed the connection]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
oida has quit [Quit: byez]
<{^_^}> [nixpkgs] @Ma27 pushed to master « stellarium: 0.19.3 -> 0.20.0 »: https://git.io/JvQjf
oida has joined #nixos
evanjs has joined #nixos
Jackneill has joined #nixos
<evanjs> also... anybody aware of a good remote mouse/keyboard service or app with a mobile client that’s available in nixpkgs?
captjakk has joined #nixos
work_ has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #83682 → [20.03] pythonPackages.ftputil: fix build → https://git.io/JvQNk
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/JvQjO
zeorin90 has joined #nixos
<zeorin90> Hello! I'm a new Nixos user. Just installed, now adding programs to my system, and I notice firefox is no longer starting.
<zeorin90> There's no error ever when started from the terminal, it just never launches a GUI
katie_ has quit [Quit: \o]
katie_ has joined #nixos
<bhipple> 19.09 or 20.03?
<zeorin90> 19.09
<zeorin90> There is a process, though, pgrep firefox tells me
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<zeorin90> removing ~/.mozilla doesn't seem to make a difference
<immae> zeorin90: did you by chance use a profile directory that was for a higher version of firefox in your previous system?
<immae> ah then no
<bhipple> First off welcome to NixOS, btw!
tilcreator has quit [Ping timeout: 258 seconds]
<zeorin90> Thank you
<zeorin90> Happy to be here. It's been a long time since I've switched distros
<bhipple> One of the really cool things is that you can run multiple versions side-by-side to test/bisect/explore, without impacting others. Can you try running this to see if the latest-and-greatest firefox works:
<zeorin90> But I started with Debian 3, so I've been around the block
<bhipple> git clone https://github.com/NixOS/nixpkgs && cd nixpkgs && nix-build -A firefox && ./result/bin/firefox
<zeorin90> This'll take some time. I'm in south africa and 2 african backbone cables are down
knupfer has quit [Ping timeout: 256 seconds]
<zeorin90> cloning at 15% atm
<{^_^}> [nixpkgs] @tobim opened pull request #83695 → pythonPackages.pyarrow: fix test → https://git.io/JvQj0
sudoforge has joined #nixos
<bhipple> Ah yeah it's a big repo, but fortunately once you do the "build" you'll just have to download firefox from the binary cache, not actually download/build all its transitive dependencies
noudle has joined #nixos
<bhipple> good to have on hand tho :)
<tilpner> zeorin90: You don't need to clone the full repo
<bqv[m]> shallow clone might have been an idea
<bhipple> At some point he will definitely want it, though (maybe shallow would be fine)
<bhipple> so good to get it sooner or later
<tilpner> Ehh, it's only necessary when they want to contribute
<bhipple> A lot of "documentation" of things like package options for overlays is done by `ripgrep <attr>` in the nixpkgs checkout :D
<bqv[m]> a shallow clone leaves room for a full fetch later
<tilpner> nixos-unstable should be close enough to master, and has some checks and caching
<bqv[m]> bhipple: i'm doing that now...
<bhipple> zeorin90: You can also try: nix run -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz nixpkgs.firefox
shibboleth has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
<tilpner> (Or -I nixpkgs=channel:nixos-unstable)
dermetfan has quit [Ping timeout: 252 seconds]
<bhipple> zeorin90: err, it's: nix run -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz nixpkgs.firefox -c firefox
<bhipple> Yeah you can also use the shortened alias for the -I argument too
Diogo has joined #nixos
<zeorin90> let me do that so long
slack1256 has joined #nixos
<zeorin90> Here is my configuration.nix in the meantime (I'm not using ad-hoc package management so far, so the whole state of the system is in there): https://pastebin.com/pDxcZnNP
tilcreator has joined #nixos
nschoe has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvQjh
<{^_^}> [nixpkgs] @flokli merged pull request #83598 → test-driver.py: don't leave vde1.ctl around → https://git.io/JvQZe
jbgi_ has quit [Ping timeout: 256 seconds]
Makaveli7 has quit [Ping timeout: 250 seconds]
jbgi_ has joined #nixos
thinkingeye has joined #nixos
<zeorin90> bhipple: `JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.`
<thinkingeye> I try to package a binary with the help of buildFHSUserEnv. But how do I get the config of the binary to the desired directory....for example /var/app1/data/conf.cfg
<zeorin90> That's the result of your `nix run` oneliner
vandenoever has quit [Read error: Connection reset by peer]
<bhipple> ZerataX: interesting. Are you sure that's a fatal error? It seems to start and show just fine for me.
<bqv[m]> <thinkingeye "I try to package a binary with t"> is it possible to package it without buildFHSUserEnv? that may be easier and is always better
alexgood has left #nixos ["User left"]
vandenoever has joined #nixos
turion has joined #nixos
<tilpner> zeorin90: Pass -no-remote or kill the firefox process if it's still in the background
<zeorin90> It's not a fatal error, the shell prompt is not returned to me, i.e. the process hasn't aborted
<zeorin90> But nothing is drawn to the screen
jbgi_ has quit [Ping timeout: 240 seconds]
<bhipple> This suggests to me that it's an issue with X11 and your display manager, rather than firefox
<zeorin90> OMG
<zeorin90> I'm very embarrassed right now
<zeorin90> Firefox is just fine
relaxmax68 has joined #nixos
<thinkingeye> bqv[m]: I get the binary running with autoPatchelfHook but it is missing its hard coded configs in a special /var directory
<bhipple> Well you learned a couple new tricks for running packages out of older/newer distributions, at least ;)
relaxmax68 has quit [Client Quit]
nschoe has joined #nixos
<nschoe> Hi again
<zeorin90> I haven't completed my WM util setup, and I forgot that I set firefox to launch _on a specific workspace_, which currently is not highlighted on polybar because I need to fix it's config
<nschoe> bqv[m], looks like it worked :)
<zeorin90> If I just navigate to that workspace, it's there!
<zeorin90> So sorry to waste your time!
<bqv[m]> nice!
bennofs has quit [Ping timeout: 272 seconds]
<bhipple> No worries, always happy to see and help some NixOS newcomers :D
<nschoe> I'm after a fresh upgrade, the two options for cleaning are enabled and my /tmp is fresh now
<nschoe> And I ge this magic "everything works faster" on the laptop, too :)
<nschoe> I think it was pretty taxing on the whole system.
<zeorin90> Cool, thank! Have a good morning/afternoon/evening/night
<bqv[m]> doubtless
<bqv[m]> having free inodes is always nice
<nschoe> So, thanks for suggestion the inodes things
<GerdFlaig[m]> Hi. How can I find out which (if there's any) package provides libjpeg.so.8? I'm trying to fix https://github.com/NixOS/nixpkgs/issues/80535 (Lightworks package broken), got past the libGL problem (see https://github.com/NixOS/nixpkgs/compare/master...gefla:master ).
<{^_^}> #80535 (by vojta001, 5 weeks ago, open): Lightworks are missing libraries
<bqv[m]> thinkingeye: what configs does it miss? surely you can direct it to those in other ways?
<nschoe> bqv[m], though `df -i` still lists 83% of inodes used on / . It still looks quite high tbh
<bqv[m]> ,locate libjpeg.so.8
zeorin90 has quit [Remote host closed the connection]
<{^_^}> Couldn't find in any packages
<GerdFlaig[m]> bqv: no results
<bqv[m]> ,locate libjpeg.so
<{^_^}> Found in packages: jre, zulu8, jvmci8, jre.jre, libjpeg, mozjpeg, graalvm8, darktable, jre.debug, scilab-bin, libjpeg_original, openjdk8_headless, openjdk8_headless.jre, openjdk8_headless.debug, adoptopenjdk-openj9-bin-8, adoptopenjdk-hotspot-bin-8, adoptopenjdk-jre-openj9-bin-8, adoptopenjdk-jre-hotspot-bin-8
<{^_^}> [nixpkgs] @jtojnar merged pull request #82509 → samba: build with profiling enabled → https://git.io/JviU2
<{^_^}> [nixpkgs] @jtojnar pushed 8 commits to master: https://git.io/Jv7e4
<GerdFlaig[m]> bqv: still no results. I'm beginning to wonder if locate is borked.
<bqv[m]> i see results
<bqv[m]> libjpeg looks like what you're after
<bqv[m]> but apparently doesn't have a .8
<bqv[m]> so you might get away with a manual patchelf to fudge the library version
bennofs has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #83696 → nixos/gerrit: stop setting jvmPackage → https://git.io/Jv7eE
<GerdFlaig[m]> ok. Reading up on patchelf
<thinkingeye> bqv[m]: icons, dat files, rsa keys, ...etc. The paths are hard coded in the binary
<GerdFlaig[m]> Thanks!
<bqv[m]> thinkingeye: seriously? that's awful. not even relative paths?
fusion809 has quit [Remote host closed the connection]
jumper149 has joined #nixos
<thinkingeye> bqv[m]: no its a service binary. So its better to use lxc, docker, vm ?
<bqv[m]> if it's a service, perhaps you want to be making a module, not a package
<bqv[m]> if it's "system setup" and not required for the binaries to actually *execute*, have it set up as part of a service module
pinecamp has joined #nixos
<jumper149> Hi, I'm trying to set a user-based cursor theme in NixOS. I have already tried everything from https://wiki.archlinux.org/index.php/Cursor_themes . With lxappearance I'm able to set the theme, but after logging in from lightdm it doesn't work anymore.
jbgi_ has joined #nixos
<bqv[m]> there's a gtk module in PR at the moment
<bqv[m]> that should take care of that
<bqv[m]> assuming it hasn't been merged yet, at least
kleisli has quit [Remote host closed the connection]
<bqv[m]> infinisil: poke
<jumper149> I guess that would be global for all users, but that's fine by me :)
<bqv[m]> #80865
<{^_^}> https://github.com/NixOS/nixpkgs/pull/80865 (by gnidorah, 5 weeks ago, open): nixos/gtk: init
<thinkingeye> bqv[m]: well, the service is a binary which I cant write myself. Its like a server. Can I place with a nixos module those /var/... files into the correct position?
<bqv[m]> yes
<thinkingeye> bqv[m]: thanks, I will try
julm has joined #nixos
<thinkingeye> bqv[m]: Thanks, that look good!
<bqv[m]> jumper149: actually, if you use home-manager i think there is already a similar module in that, which is per-user
orivej has joined #nixos
pnobre has quit [Ping timeout: 240 seconds]
<pinecamp> hello! I'm developing a nodejs app, using Nix package manager and the node2nix utility. node2nix generates a derivation(?) that presents a few attributes, like `package` and `shell`, so you can build the package with `nix-build -A package`, and enter a shell with `nix-build -A shell`. I want to write a shell.nix in this directory such that I can
<pinecamp> type `nix-shell`, and it will execute the equivalent of `nix-build -A shell`. How can I do this?
<infinisil> bqv[m]: Hm?
cinimod` has quit [Ping timeout: 260 seconds]
<bqv[m]> infinisil: was looking for 80865
CptCaptain has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
cinimod` has joined #nixos
<{^_^}> [nix] @Ericson2314 opened pull request #3455 → Replace some `bool recursive` with a new `FileIngestionMethod` enum → https://git.io/Jv7vq
Serus_ has quit [Ping timeout: 256 seconds]
<bqv[m]> progn = sexps: "(progn ${lib.concatStringsSep " " sexps}";
<bqv[m]> finally getting around to writing my elisp dsl...
<bqv[m]> setq = name: value: "(setq ${name} ${value}";
reallymemorable has quit [Quit: reallymemorable]
cinimod` has quit [Ping timeout: 252 seconds]
chloekek has joined #nixos
cinimod` has joined #nixos
<infinisil> bqv[m]: Have you seen https://github.com/infinisil/nixlisp ? :P
jbgi_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @nomeata opened pull request #83697 → ghc-8.4.4.nix: Do not use git.haskell.org → https://git.io/Jv7vg
<infinisil> (I think the parens are a bit messed up (no lisper myself), but the concept works :))
reallymemorable has joined #nixos
<bqv[m]> ahah
<bqv[m]> crazy
<bqv[m]> i love it
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83637 → nixos.display-manager: set DesktopNames from a new attribute → https://git.io/JvQod
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jv7vr
cinimod` has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jv7v6
acarrico has joined #nixos
chagra has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83690 → drawing: 0.4.11 -> 0.4.13 → https://git.io/JvQAb
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv7v1
chagra has joined #nixos
lsix1 has quit [Ping timeout: 256 seconds]
dermetfan has joined #nixos
<worldofpeace> bqv: I believe that module is by in large based off the one in home-manager
<{^_^}> [nixpkgs] @mehlon opened pull request #83698 → session-desktop: init at 1.0.5 → https://git.io/Jv7vy
h0m1 has quit [Quit: WeeChat 2.7.1]
<bqv[m]> i see
<{^_^}> [nixpkgs] @lsix opened pull request #83700 → unifont: 12.1.03 -> 13.0.01 → https://git.io/Jv7vQ
h0m1 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83679 → xfce.xfce4-whiskermenu-plugin: 2.3.3 -> 2.4.3 → https://git.io/JvQbK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv7vF
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83684 → xfce.xfce4-hardware-monitor-plugin: fix url (unmaintained) → https://git.io/JvQNc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv7vb
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jv7vN
zupo has quit [Client Quit]
forkland has quit [Remote host closed the connection]
Serus_ has joined #nixos
johnjay has quit [Ping timeout: 250 seconds]
<pinecamp> maybe I can ask in a more general way... if I have a nix expression in default.nix that generates a development shell when `nix-shell -A shell` is run, how can I write a shell.nix file such that running `nix-shell` generates the same result?
<bqv[m]> shell.nix can just be (import ./default.nix {}).shell
<bqv[m]> tweak as desired
<pinecamp> I've tried `let d = import ./default.nix; in d.shell`, but I get an error that "value is a function while a set was expected"
zupo has joined #nixos
<bqv[m]> you forgot the {}
cinimod` has joined #nixos
<pinecamp> bqv[m] thank you! :) why is {} necessary for import?
<bqv[m]> those are the arguments you're passing to the imported file
<bqv[m]> the file you imported is a function
domogled has joined #nixos
<duairc> So on my 64-bit system, the largest integer I can make in Nix is 9223372036854775808. Is that always the case or would it be 2147483647 on a 32-bit system?
jbgi_ has joined #nixos
<pinecamp> ahh, I see. so a Nix function with no args needs be called like `fname {}` rather than just `fname`?
gustavderdrache has joined #nixos
<infinisil> duairc: Looking at the source code, seems to be defined explicitly as a 64bit unsigned int: https://github.com/NixOS/nix/blob/eb1911e277bfcc1b161cb996205ae1696f496099/src/libexpr/value.hh#L45
<infinisil> So it should be that even on 32bit systems
<duairc> Okay, thanks, good to know!
<duairc> (I'm still parsing IP addresses :P)
<{^_^}> [nixpkgs] @nh2 opened pull request #83701 → marktext: 0.16.0-rc.2 -> 0.16.1 → https://git.io/Jv7fl
cinimod` has quit [Ping timeout: 256 seconds]
<DigitalKiwi> anyone else notice/know of problems with clipboard not syncing? I'll copy paste something, go to paste, it pastes something else, and then if I paste again it pastes the thing that should have pasted the first time
nckx is now known as SecondChoiceNick
SecondChoiceNick is now known as nckx
asbachb has joined #nixos
h0m1 has quit [Quit: WeeChat 2.7.1]
<infinisil> DigitalKiwi: There's different kinds of clipboards, e.g. check out https://wiki.archlinux.org/index.php/Clipboard
h0m1 has joined #nixos
<DigitalKiwi> yeah but like why's the next time i paste paste what it should have
<DigitalKiwi> and also this behavior is new...it used to work fine
h0m1 has quit [Client Quit]
<infinisil> That sounds odd indeed
h0m1 has joined #nixos
relaxmax has quit [Quit: Leaving]
cinimod` has joined #nixos
<worldofpeace> IS there any kind person that would like to test the nixos iso on windows?
<worldofpeace> I need https://github.com/NixOS/nixpkgs/pull/83551 tested
<{^_^}> #83551 (by worldofpeace, 1 day ago, open): iso-image: normalize volumeID
orivej has quit [Ping timeout: 256 seconds]
<DigitalKiwi> also `firefox` seems like it got reallllly slow for some reason
<DigitalKiwi> i think someone else mentioned it a few days ago where days might be a week or more
cole-h has joined #nixos
cr4y1 has quit [Remote host closed the connection]
<worldofpeace> DigitalKiwi: what wm are you using? I've heard of bugs with clipboard sync with wayland stuff
cinimod` has quit [Ping timeout: 250 seconds]
Unode has quit [Read error: Connection reset by peer]
Unode_ has joined #nixos
cr4y1 has joined #nixos
<DigitalKiwi> xmonad+plasma5
morgrimm has joined #nixos
Unode_ is now known as Unode
<morgrimm> Hey folks - I'm trying to virtualize NixOS to prep my config and environment for migrating entirely, and I just had a question or two
<worldofpeace> so x11. hmm
<DigitalKiwi> i tried two things now that might have been a problem i logged out of the other session i was logged in (because i didn't want to log out of this one for something earlier) and logged out of that one as well
<morgrimm> 1) What's the config option to enable the virtualbox guest modules? I can't seem to bump up the resolution for the VM, and 2) is there a good all-encompassing resource for the config options? I've been through the manual, but is there like an exhaustive list of all the options?
<DigitalKiwi> so uh we'll see if it keeps up
<pinecamp> bqv[m]: I see now that in my case default.nix is a function that expects an attrset with some optional attributes, so the {} is necessary to call the default.nix function. thanks again for your help! :)
<morgrimm> For example, making a user trusted decoratively , instead of adding them to the nix.conf (which seems to be read-only by default, even to root)
o1lo01ol1o has quit [Remote host closed the connection]
jbgi_ has quit [Ping timeout: 256 seconds]
johnjay has joined #nixos
<worldofpeace> morgrimm: When you say config options you mean option, and not for example options to the nix command line?
bvdw has quit [Read error: Connection reset by peer]
<DigitalKiwi> i have parcelite and klipper (not sure how to disable klipper anyway if it's possible) and that could also be a factor to consider
mexisme has joined #nixos
<morgrimm> Oh, no - I mean options for the nix configuration file
CptCaptain has joined #nixos
bvdw has joined #nixos
<worldofpeace> morgrimm: man configuration.nix https://nixos.org/nixos/options.html and the local manual on your machine would have an options section
<worldofpeace> (the last being useful if you can nixos-unstable, the website only shows the current stable options)
cinimod` has joined #nixos
<worldofpeace> DigitalKiwi: Is this in 20.03 (beta) or unstable?
<morgrimm> worldofpeace: That's exactly what I needed, thank you :D All the options in one place. `nix.trustedUsers` is exactly what I'm looking for for that
<DigitalKiwi> 20.09 i'm living in the future
<worldofpeace> DigitalKiwi: lol, but that means unstable since there's no unstable stateVersion we could match against and just use the release number
<morgrimm> There doesn't seem to be an option for virtualbox guest tools, and I can't find a package on nixpkgs for it
<DigitalKiwi> worldofpeace: and it's a git release too not even the unstable channel
<worldofpeace> morgrimm: virtualisation.virtualbox.guest
<DigitalKiwi> worldofpeace: 20.09.git.461784ffe47M (Nightingale)
turion has quit [Ping timeout: 252 seconds]
<DigitalKiwi> hey it worked
<morgrimm> ._. I didn't flip to page 2, ffs
<worldofpeace> morgrimm: ohh, hmm. That seems to add the guest services to the machine?
mexisme has quit [Ping timeout: 252 seconds]
<morgrimm> I thiiink it does
<morgrimm> From the git repo there's a builtin module for it
<asbachb> I wonder if https://howoldis.herokuapp.com/ ? It's linked in nixos wiki https://nixos.wiki/wiki/Nix_channels
<DigitalKiwi> worldofpeace: i'm starting to think it was related to the things i've mentioned i had done and like partial update from not logging out of plasma after an upgrade. so far the times i've tried it's worked fine...
<asbachb> *is still up to date.
<DigitalKiwi> asbachb: someone mentioned it a few days ago...let me see what they said
<esclear> Currently, pulseaudio is started by the display managers on login (at least as long as it is enabled): https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/default.nix#L57-L63 Is there an easy way of disabling that functionality /without/ disabling pulseaudio in general?
<esclear> I think it would suffice if display-managers/default.nix thinks that pulseaudio is disabled.
<worldofpeace> morgrimm: it's not enableExtensionPack right?
<morgrimm> I'm just flipping the guest option on right now to see if that works
<morgrimm> Aaaand `nixos-rebuild switch` didn't even work lol
<DigitalKiwi> asbachb: tl;dr http://status.nixos.org
<morgrimm> It couldn't connect to the daemon after it killed the daemon :/
thinkingeye has quit [Quit: thinkingeye]
<{^_^}> [nixpkgs] @flokli merged pull request #82807 → tor-browser-bundle-bin: enable multimedia support by default → https://git.io/JvXBD
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jv7JG
<worldofpeace> esclear: I changed pulseaudio to be socket activated and not x11 activated recently.
pinecamp has quit [Remote host closed the connection]
<asbachb> DigitalKiwi: I see. I updated the wiki page with the new link.
<hpfr[m]> trying to use some perl scripts I downloaded without any knowledge of perl. it says it can't locate config/General.pm, so I ran nix shell -p perl530Packages.ConfigGeneral, and used perl -I to include that nix store path. it worked but was obviously ugly. is there a better way to do this (make perl aware of packages)?
<{^_^}> [nixpkgs] @flokli merged pull request #83660 → nixos/systemd: remove one DefaultBlockIOAccounting → https://git.io/JvQHo
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jv7Jl
<esclear> worldofpeace: Hasn't the change landed in master then?
<{^_^}> [nixpkgs] @jonringer merged pull request #83695 → pythonPackages.pyarrow: fix test → https://git.io/JvQj0
<{^_^}> [nixpkgs] @jonringer pushed commit from @tobim to master « pythonPackages.pyarrow: fix test »: https://git.io/Jv7J0
<infinisil> hpfr[m]: perlWithPackages
<esclear> And: Will there be a possibility to disable that as well? In my setup pulse needs to be started by a user socket, that's also the reason why I'm trying to prevent sddm from starting it.
<{^_^}> [nixpkgs] @gefla opened pull request #83702 → lightworks: 14.0.0 -> 14.5.0 → https://git.io/Jv7Jz
<cole-h> Anybody know when nixUnstable gets bumped?
<infinisil> Wait, does perlWithPackages exist even
<infinisil> Ah, perl.withPackages
<infinisil> hpfr[m]: ^
Rusty1 has joined #nixos
mallox has quit [Quit: Leaving]
<asbachb> Do I get it right, that currently nixpgs-unstable is not updated due https://github.com/NixOS/nixpkgs/issues/83647 ?
<{^_^}> #83647 (by FRidh, 11 hours ago, open): Evaluation error is blocking jobsets
jumper149 has quit [Quit: WeeChat 2.7.1]
<GerdFlaig[m]> bqv: After patchelf'ing the library dependencies, it appears I'm getting a corrupt binary. Captured current state in https://github.com/NixOS/nixpkgs/pull/83702
<{^_^}> #83702 (by gefla, 1 minute ago, open): lightworks: 14.0.0 -> 14.5.0
<hpfr[m]> infinisil: is there documentation for this? do I include it in a default.nix somehow
<bqv[m]> cole-h: soon™
<AmandaC> What's the command to remove an old named generation?
<infinisil> hpfr[m]: Doesn't look like it, the PR that introduced it didn't add any https://github.com/NixOS/nixpkgs/pull/59215
<{^_^}> #59215 (by volth, 50 weeks ago, merged): perl: add .withPackages
<worldofpeace> esclear: pulseaudio has a user socket pulseaudio.socket, and it is wantedBy the sockets.target
<cole-h> bqv[m]: :P
<esclear> worldofpeace: Yep, for some reason, my sddm still starts pulseaudio, even though I'm not quite sure, how it is started at the moment.
<worldofpeace> asbachb: I believe so
<worldofpeace> Hmm, let me see if the issue tracker has any info on that. I do remember things like this
<roosemberth> How can I have the nixos module system import an expression rather than a file? (e.g. I would like to do something like `let foo = { lib, ...}: { boot = ...; } in { imports [foo]; }`)
<worldofpeace> esclear: I guess that's why you linked "Publish access credentials in the root window" in the display-manager script
<worldofpeace> I recall you mentioning we should clean that out of the display-manager module when it was being refactored
<bhipple> https://hydra.nixos.org/jobset/nixos/release-20.03#tabs-errors is that a common error? Unexpected EOF when trying to evaluate the release-20.03 job?
<infinisil> roosemberth: You can do that :)
<hpfr[m]> infinisil: is there a better way to do this than `nix-shell -p 'perl.withPackages (p: [ p.ConfigGeneral p.GD] )'` ?
<infinisil> roosemberth: Um, I mean, with `imports = [ foo ]`
<worldofpeace> bhipple: it is being looked into https://github.com/NixOS/nixpkgs/issues/83647
<{^_^}> #83647 (by FRidh, 11 hours ago, open): Evaluation error is blocking jobsets
<roosemberth> infinisil: Is there any technical reason, or just not implemented?
<bhipple> Ah, thank you!
morgrimm has quit [Ping timeout: 240 seconds]
asbachb has quit [Ping timeout: 240 seconds]
<jtojnar> worldofpeace I though we have already removed it
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> roosemberth: I just said, you can do that, it works
<roosemberth> Oh xD
<roosemberth> My mind autocorrected to _can't_ xD
typetetris has joined #nixos
<roosemberth> Hmm, then I have a problem in my derivation xD, because It's not getting evaluated :(
<worldofpeace> Jan Tojnar: I guess I'll open one of those risky PRs "I dun think we need this anymore" 🤣 maybe esclear can test it
<esclear> lol
<worldofpeace> esclear: those PRs always seem to cause critical issues coming from me, so let's just 🤞
<DigitalKiwi> worldofpeace: so far everything i've copy pasted has worked as expected
<DigitalKiwi> worldofpeace: i'll make the PR for you and take the heat, and then you back me up
<hpfr[m]> Oh there’s shell.nix
<worldofpeace> DigitalKiwi: Great, it is very likely you hit a bug in the updated plasma5. maybe there's a patch for it somewhere, if you track their dev
<roosemberth> Oh, my `imports` is not getting evaluated because the expression opening that file uses `import ./bar.nix { inherit lib; }`.
<worldofpeace> DigitalKiwi: haha, prepare to be responsible for 20 rather simple issues that everyone works on simultaneously
mehlon has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #83297 → libdvdread: 6.0.2 -> 6.1.0 → https://git.io/JvypY
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/Jv7UJ
<{^_^}> [nixpkgs] @flokli merged pull request #83295 → libdvdnav: 6.0.1 -> 6.1.0 → https://git.io/JvyAB
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/Jv7UT
<{^_^}> [nixpkgs] @edolstra pushed to master « make-tarball.nix: Strip source directory from packages.json »: https://git.io/Jv7UI
mir100 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « make-tarball.nix: Strip source directory from packages.json »: https://git.io/Jv7UL
<{^_^}> [nixpkgs] @edolstra pushed to release-20.03 « make-tarball.nix: Strip source directory from packages.json »: https://git.io/Jv7Ut
<{^_^}> [nixpkgs] @ajs124 closed pull request #83332 → [19.09] memcached: 1.5.16 -> 1.6.2 → https://git.io/JvSse
cinimod` has quit [Ping timeout: 264 seconds]
mir100 has joined #nixos
alexgood has joined #nixos
<wirew0rm> fpletz: hi there, I'm currently looking into bumping gnuradio to 3.8 (and moving to python3, enable zeroMQ module, ...) and since you are listed as one of the maintainers I just wanted to quickly make sure that there isn't allready a version out there on some branch waiting to get merged or if there are other things that should be kept in mind
<{^_^}> [nixpkgs] @primeos pushed to master « mesos,swiften,pingus: Mark as broken »: https://git.io/Jv7U3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83703 → ephemeral: 6.3.0 -> 6.3.1 → https://git.io/Jv7Us
<{^_^}> #47707 (by tomberek, 1 year ago, open): [WIP] gnuradio: 3.7.14.3 -> 3.8.0.0
<cole-h> wirew0rm: Maybe you could reach out to the author and see what needs to be done
<{^_^}> #82263 (by doronbehar, 2 weeks ago, open): GNU radio 3.8 update meta issue
<wirew0rm> cole-h: oh, don't know how i missed this, will do that, thank you
<roosemberth> How do you debug infinite recursions in nixos modules?
shibboleth has quit [Quit: shibboleth]
<cole-h> Start commenting things you've done out until you narrow the problem
Unode has quit [Read error: Connection reset by peer]
<cole-h> Or, that's what I would do
zeenk has joined #nixos
slack1256 has quit [Remote host closed the connection]
zeenk has quit [Quit: Konversation terminated!]
zeenk has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #83704 → nixos/acme: don't depend on multi-user.target inside a container → https://git.io/Jv7Uc
jeaye has quit [Quit: WeeChat 2.6]
Unode has joined #nixos
slack1256 has joined #nixos
<cole-h> alexgood: Did you try running `nixos-rebuild switch` as root? 99% sure all (or most) nixos-rebuild operations require root (via sudo or something else).
<alexgood> I ran it as `sudo nixos-rebuild boot`
cinimod` has joined #nixos
<alexgood> Being root shouldn't change that right?
<alexgood> *`sudo nixos-rebuild switch`
<alexgood> Well I tried both
<cole-h> Sudo is (temporary) root :P
<cole-h> And running it as root you still get the same operation not permitted?
<alexgood> Yeah that was my understanding
equivrel has quit [Read error: Connection reset by peer]
<alexgood> Yeah
equivrel has joined #nixos
jeaye has joined #nixos
<bqv[m]> Likely prohibited by fs then?
<alexgood> I've checked that I can write to files on the device
<alexgood> e.g `echo 'test' > /test' runs fine
<{^_^}> [nixpkgs] @edolstra pushed to master « make-tarball.nix: Restore the 'commit' field in packages.json »: https://git.io/Jv7U4
morgrimm has joined #nixos
<cole-h> I would rerun the switch with varying degrees of verbosity (`-v`) and see if you get any more useful information
<AmandaC> What filesystem is it?
<cole-h> Something else to try might be remounting the /nix partition as rw (if it is a separate partition and isn't already mounted rw)
<AmandaC> If it's a non-linux FS it might be that nix is doing something that the FS doesn't support
<bqv[m]> <cole-h "Start commenting things you've d"> I miss haskell's verbose errors for this exact reason
<cole-h> bqv[m]: I miss Rust's verbose errors for this exact reason :P
<bqv[m]> gosh nix is a painful language half the time
<cole-h> When you're new(ish) and trying to do more than packaging, indeed it is.
<alexgood> It's an ext4 partition, although I'm using a windows Dual boot so I guess it could be complaining about the EFI partition
<bqv[m]> Hah, rust is ok until you anger the borrow checker
<bqv[m]> Or have lifetime bugs
cinimod` has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
<cole-h> :^)
<alexgood> Hmm, that seems to be the problem, looks like I only have read only acceess to the EFI partition for some reason
<bqv[m]> Bingo
<alexgood> No wait, just got confused about which terminal I was root in, `touch /boot/test` works fine (`/boot` is where I've mounted the EFI partition)
<morgrimm> Is there a way to see deprecated config options? I just rebuilt from a new config, and my `desktopManager` and `windowManager` config options are deprecated I guess
<morgrimm> The most I caught before it flashed by was the new value accepted like `"xcfe+xmonad"`
<cole-h> If they're deprecated, they should show you the new option in a message
<bqv[m]> What??
mexisme has quit [Read error: Connection reset by peer]
<bqv[m]> They are?
<morgrimm> It did show me the new option, but before I could read the entire thing, the store path copying drowned it out :/ and the default term for xcfe doesn't have far enough scrollback
<morgrimm> Is there a way I can have nix like, analyze my config?
<morgrimm> Without making a random change and rebuilding again?
<cole-h> That's when I'd ^C...
zeenk has quit [Quit: Konversation terminated!]
<morgrimm> Yeah - next time I see it, I will. But I didn't catch it this time, it's my first time with the OS
<mehlon> sudo nixos-rebuild dry-build?
<morgrimm> mehlon: Doesn't show the message again. It rebuild it, but I guess suppresses anything it's shown before
<morgrimm> rebuilds*
zeenk has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<morgrimm> I wonder if `services.xrdp.defaultWindowManager` is what it wanted me to set
<morgrimm> That seems to be the only one that takes in that sort of string
ddellacosta has joined #nixos
jeaye has quit [Quit: WeeChat 2.6]
jeaye has joined #nixos
<morgrimm> That's exactly the message :D Thanks so much
<bqv[m]> Oh, that must have been ages ago
<{^_^}> [nixpkgs] @andir merged pull request #83691 → weechat: v2.7.1 → v2.8 → https://git.io/JvQAj
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/Jv7US
<bqv[m]> Over a year ago, yeah
<morgrimm> Odd
<morgrimm> Nix says that option doesn't exist
lovesegfault has quit [Quit: WeeChat 2.7.1]
<jtojnar> Also, you can try adding the following to your config `assertions = map (w: {assertion = false; message = w;}) config.warnings;`
<morgrimm> `services.xserver.displayManager.defaultSession` does not exist, according to the rebuild
<morgrimm> Oh, will that always assert warnings?
<jtojnar> that should make it stop on module warnings
<morgrimm> Oh, awesome
<jtojnar> yup
<jtojnar> what branch are you on? it should be in release-20.03 at least
<bqv[m]> Hmm, I might steal that
<morgrimm> 19.03, which explains it - that's what the ISO is on right now
<morgrimm> Although idk why I'm getting that message if I'm on a version without that change
<jtojnar> oof that is very outdated
<morgrimm> `nixos-rebuild --upgrade` time it is
<bqv[m]> Oh, right
<jtojnar> it might be nice to add an option to assert warnings upstream
Maxdaman1us is now known as Maxdamantus
<bqv[m]> +1
Zander_ has joined #nixos
<morgrimm> So if I wanted to upgrade to 20.03
kleisli has joined #nixos
<morgrimm> Should I be adding that channel to my root channels
<morgrimm> And the running the `nixos-rebuild switch --upgrade` ?
<morgrimm> then*
johnw has joined #nixos
<morgrimm> Oh, it's in the manual, perfect
magnetophon has quit [Read error: Connection reset by peer]
<alexgood> Is running `nixos-rebuild` within `nixos-enter` supported? The error I'm getting looks a little bit like some errors other people have gotten due to nested chroots disabling clone
ixxie has joined #nixos
Zander_ has quit [Read error: Connection reset by peer]
lovesegfault has joined #nixos
Zander_ has joined #nixos
pluplog has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
edef has quit [Quit: leaving]
edef__ has joined #nixos
edef__ is now known as edef
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<alexgood> Okay, so I've been `strace`ing `nixos-rebuild` to try and figure out why it's erroring. The only thing that looks hopeeful is that it's getting an "operation not permitted" trying to write to `/proc/853.uid_map`, which feels similar to the clone problem other people have mentioned.
drakonis has joined #nixos
<bqv[m]> Writing to /proc?
<bqv[m]> That doesn't sound healthy
magnetophon has joined #nixos
<alexgood> Yeah, but I'm guessing that's part of the sandbox machinery as it's writing to a namespace user mapping?
morgrimm has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<alexgood> Yeah this seems to be the issue, if I run `unshare --user --pid echo YES` within the `nixos-enter` chroot then I get an error
<hpfr[m]> with `mkShell { buildInputs = [ perl.withPackages (p: [ p.ConfigGeneral p.GD p.MathVecStat ]) ];}` in my `shell.nix`, `nix-shell` returns `cannot coerce a function to a string`?
FRidh has quit [Quit: Konversation terminated!]
o1lo01ol1o has joined #nixos
<hpfr[m]> ok I just had to put parens around it... oof
<cole-h> Yep, otherwise it wants `perl.withPackages` and `(p: ....)`
Zander_ has quit [Read error: Connection reset by peer]
Zander__ has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #83705 → buildFHSChrootEnv: link gsettings-schemas to FHS location → https://git.io/Jv7ku
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jv7kz
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging: https://git.io/Jv7kg
<{^_^}> [nixpkgs] @flokli merged pull request #83285 → teeworlds: python2 -> python3; add menu item → https://git.io/Jvy7O
<{^_^}> [nixpkgs] @bhipple merged pull request #83681 → cherrytree: 0.39.0 -> 0.39.1 → https://git.io/JvQbp
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/Jv7k2
<{^_^}> [nixpkgs] @flokli merged pull request #83289 → libbluray: 1.1.2 -> 1.2.0 → https://git.io/Jvy5M
<{^_^}> [nixpkgs] @flokli pushed to master « Revert "make-tarball.nix: Restore the 'commit' field in packages.json" »: https://git.io/Jv7kV
<{^_^}> [nixpkgs] @zimbatm pushed commit from @flokli to master « nixos/gerrit: stop setting jvmPackage (#83696) »: https://git.io/Jv7kw
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jv7kr
phreedom has quit [Remote host closed the connection]
<{^_^}> [nixops] @adisbladis opened pull request #1270 → Add support for non-root deployments → https://git.io/Jv7kP
phreedom has joined #nixos
chloekek has quit [Ping timeout: 256 seconds]
<alexgood> Okay, for anyone who was following this tedious story, the correct incantation was `nixos-rebuild boot --option sandbox false` to disable the sandbox which was causing the unshare problem.
waleee-cl has joined #nixos
ixxie has quit [Ping timeout: 258 seconds]
nschoe has quit [Ping timeout: 252 seconds]
Zander__ has quit [Read error: Connection reset by peer]
Zander__ has joined #nixos
turion has joined #nixos
<{^_^}> [mobile-nixos] @danielfullmer opened pull request #114 → initrd-vendor: mount vendor read-only → https://git.io/Jv7kj
o1lo01ol1o has quit [Ping timeout: 256 seconds]
roosemberth has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
knupfer has joined #nixos
<turion> Has anyone packaged Jitsi Meet (server) successfully?
<bhipple> turion: looks like someone has attempted it in https://github.com/NixOS/nixpkgs/pull/82920
<{^_^}> #82920 (by mmilata, 1 week ago, open): nixos/jitsi-meet: init
<Yaniel> how do I test changes to nixos services?
LysergicDreams has quit [Ping timeout: 250 seconds]
<Yaniel> for packages I could just nix-env -f but for services.foo.* that doesn't work, does it
<bqv[m]> Run them?
<turion> bhipple: Oh great! I'll have a look there
linarcx has quit [Quit: WeeChat 2.8]
<bqv[m]> You could use a container if you're feeling icky
<symphorien> Yaniel: nix-build nixos/tests/foo.nix
linarcx has joined #nixos
alexgood has left #nixos ["User left"]
linarcx has quit [Client Quit]
LysergicDreams has joined #nixos
Zander__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @7c6f434c opened pull request #83706 → pingus: 0.7.6 -> unstable; fixes build conflicts with dependency updates → https://git.io/Jv7IC
Zander__ has joined #nixos
linarcx has joined #nixos
endformationage has joined #nixos
cosimone has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
roosemberth has joined #nixos
linarcx has quit [Read error: Connection reset by peer]
linarcx has joined #nixos
Makaveli7 has joined #nixos
Zander__ has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixos-homepage] @edolstra pushed to master « Check whether 'commit' is defined »: https://git.io/Jv7IA
jbgi_ has joined #nixos
domogled has quit [Quit: domogled]
turion has quit [Ping timeout: 252 seconds]
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c7363c2b97e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
reallymemorable has quit [Client Quit]
lsix1 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #83032 → cockatrice: 2019-08-31-Release-2.7.2 -> 2020-03-20-Release-2.7.4 → https://git.io/Jv7Lq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jv7Lm
reallymemorable has joined #nixos
ixxie has joined #nixos
<makefu> wow https://nixos.org/learn.html looks absolutely fantastic! great to see nixos.wiki mentioned as well
sudoforge has quit [Quit: 404]
<{^_^}> [nixpkgs] @ryantm merged pull request #83648 → pdfsam-basic: 4.1.1 -> 4.1.2 → https://git.io/JvQy2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jv7Ls
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83707 → groonga: 9.1.2 -> 10.0.0 → https://git.io/Jv7Lc
fenedor is now known as fendor
knupfer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #83706 → pingus: 0.7.6 -> unstable; fixes build conflicts with dependency updates → https://git.io/Jv7IC
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jv7LE
<{^_^}> [nixpkgs] @Ma27 merged pull request #83633 → network-interfaces: fix literalExample arguments → https://git.io/JvQVp
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv7Lu
<{^_^}> [nixpkgs] @Ma27 merged pull request #83653 → nixos/nextcloud: add bcmap, mp4 and webm in nginx configuration → https://git.io/JvQSS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv7LV
raingloom has quit [Ping timeout: 264 seconds]
andreas303 has joined #nixos
Maxdaman1us has joined #nixos
Maxdamantus has quit [Ping timeout: 250 seconds]
mehran has joined #nixos
mehran has left #nixos [#nixos]
asheshambasta has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #80751 → treewide: add a debug-output to a few packages → https://git.io/JvRd9
Makaveli7 has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83708 → hwinfo: 21.68 -> 21.69 → https://git.io/Jv7L5
o1lo01ol1o has joined #nixos
zupo has joined #nixos
Maxdaman1us is now known as Maxdamantus
zupo has quit [Client Quit]
knupfer has quit [Read error: Connection reset by peer]
zupo has joined #nixos
knupfer has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @nlewo to release-20.03 « nixos/nextcloud: add bcmap, mp4 and webm in nginx configuration »: https://git.io/Jv7Lb
mehlon has quit [Quit: Leaving]
Nixola has joined #nixos
<Nixola> hi! I wanted to try NixOS on my Raspberry Pi 4, but I can't figure out what image to download
<ixxie> Nixola: maybe https://nixos.wiki/wiki/NixOS_on_ARM will help
<Nixola> the NixOS on ARM page ( https://nixos.wiki/wiki/NixOS_on_ARM ) mentions a link for armv6l and armv7l images, saying those are the most up to date, but I would like to install the aarch64 version
<Nixola> and I can't figure out whether I should get the aarch64 image from the same link, or whether there's a different one somewhere I'm supposed to get since it looks like those images are about one and a half years old
<evils> Nixola: maybe something like this? https://hydra.nixos.org/build/115568140
ambroisie has quit [Ping timeout: 256 seconds]
<Nixola> thanks! had no idea where to get it
<evils> yea, there's a fair bunch of images hidden in hydra
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.6-rc5 -> 5.6-rc7 »: https://git.io/Jv7tM
<cizra> I installed NixOS to a new machine, but I must have messed it up somehow (did I manage to create a per-user profile for root?) Anyway, when I type nixos-rebuiuld switch, it says "warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring" and a bunch of similar errors.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83709 → icewm: 1.6.3 -> 1.6.5 → https://git.io/Jv7ty
<cizra> Oh, I needed to run nix-channel --update. That was nonintuitive.
raingloom has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78827 → nixos/azure: improve azure module, add new maintainer scripts/examples/demo → https://git.io/JvOB9
<{^_^}> [nixpkgs] @jonringer pushed 7 commits to master: https://git.io/Jv7tb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83710 → hevea: 2.33 -> 2.34 → https://git.io/Jv7tp
jbgi_ has quit [Ping timeout: 250 seconds]
<Nixola> ok, I flashed the image on the microSD, now: I don't actually have a cable to connect the rpi to a monitor (I do have one, but I didn't plan to get stuck here due to covid lockdown so I'll have to make do)
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/1bf263773de (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c7363c2b97e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<Nixola> is there a way to enable sshd on it before first boot?
<Nixola> or, alternatively, during/after first boot with just a keyboard and no monitor connected to it
<manveru> Nixola: yeah, you just have to add an ssh key to your user
<manveru> sshd is started by default afaicr
<manveru> but just in case, set `services.openssh.enable = true` :)
<manveru> or `services.openssh.startWhenNeeded = true` to use socket activation
<evils> manveru: without a monitor?
<manveru> the SD already has the full install on it
<manveru> so it'll boot and start ssh, then you don't need to connect a monitor
<manveru> that's how i setup mine
reallymemorable has quit [Quit: reallymemorable]
<Nixola> where do I do that though?
reallymemorable has joined #nixos
<manveru> how do you build your image?
ambro718 has quit [Ping timeout: 256 seconds]
<evils> Nixola: i think you start your pi, ssh to it, then edit /etc/nixos/configuration.nix
<manveru> you can't ssh if it doesn't have an ssh key
<Nixola> manveru: I downloaded it from hydra
<manveru> oh
oida has quit [Remote host closed the connection]
jbgi_ has joined #nixos
o1lo01ol1o has joined #nixos
<Nixola> should I be building an image instead?
<evils> Nixola: are you sure you can't ssh to it to the nixos user?
<hpfr[m]> the Math::Combinatorics perl module is not in nixpkgs? is there something I can do short of having to learn how to package it?
<samueldr> you can boot it, power off using `poweroff` blindly, use your computer to copy a key in /hom/nixos/.ssh/authorized_keys (or whatever the right name is)
<samueldr> it needs to "rehydrate" a system on the first boot
<hpfr[m]> *nixpkgs.
<Nixola> evils: I can certainly try, but I also have no idea at what point I can safely shut it off
<Nixola> or connect to it
<samueldr> Nixola: `sudo poweroff`, forgot that it's not running as root
<samueldr> (though I think since it's at the console the user should be able to poweroff anyway)
ixxie has quit [Ping timeout: 252 seconds]
<Nixola> evils: connection refused
<Nixola> trying again, it's hanging this time
<{^_^}> [nixpkgs] @KoviRobi opened pull request #83711 → libfive: 2018-07-01 -> 2020-02-15 → https://git.io/Jv7qn
<Nixola> it keeps refusing the connection, although sometimes it takes longer
<evils> Nixola: i'd go with samueldr's suggestion and try to shut off the machine blindly, then mount the card on your desktop and copy over your ssh public key into /home/nixos/.ssh/authorized_keys
<samueldr> it will not accept a password-less connection via ssh
reallymemorable has quit [Quit: reallymemorable]
<samueldr> just like the x86_64 iso doesn't
<samueldr> well, key-less and password-less
<Nixola> when is it safe to power it off?
<samueldr> after `sudo poweroff` the raspberry pi's LEDs should all turn off IIRC
<samueldr> maybe one will stay on
<samueldr> another option could be sudo passwd nixos blindly
<Nixola> guess I'll try while pinging it
<evils> Nixola: i think if you can enter the command to shut it down, it's safe to shut down
<samueldr> sudo is password-less
<Nixola> weird, the ethernet LEDs stayed on, green one blinking
<samueldr> that may be correct
Naptra has quit [Remote host closed the connection]
kleisli has quit [Remote host closed the connection]
<Athas> I want to add manpages to a Haskell package in nixpkgs. What would be a good way of doing it? Most of them are thin wrappers around whatever is downloaded from Hackage. The source for the manpages is in the source tarball already, but I need to use a bunch of other tools (Sphinx) to compile them.
kleisli has joined #nixos
<Athas> I guess it goes in configuration-nix.nix somehow?
<Athas> Doesn't look like any other Haskell packages in Nixpkgs installs manpages, which is a bit sad.
<Nixola> is /etc/nixos supposed to be empty?
<evils> Nixola: maybe... you can populate it with nixos-generate-config
lsix1 has quit [Ping timeout: 240 seconds]
<Nixola> with or without sudo? 'cause I think that's something I'll need to do blindly, since I still can't connect via ssh
armin has joined #nixos
reallymemorable has joined #nixos
<evils> how do you know /etc/nixos is empty if you're working blindly?
<Nixola> I powered it off, popped the microSD in my pc, checked /etc/nixos, added my ssh key, popped the microSD back in the rpi, booted it, tried SSH
<evils> ah
<evils> maybe try setting a password and ssh in with that password on the nixos user?
<Nixola> it's still "connection refused"
<Nixola> sshd isn't even running as far as I can tell
<evils> can you type `sudo systemctl start sshd` blindly?
<Nixola> makes sense
ambroisie has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<Nixola> I'm in
granra has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #83712 → python3Packages.dcmstack: init at 0.8 → https://git.io/Jv7qj
adisbladis has quit [Quit: ZNC 1.7.5 - https://znc.in]
miscellaneousbus has joined #nixos
adisbladis has joined #nixos
captjakk has quit [Read error: Connection reset by peer]
ddellacosta has quit [Quit: WeeChat 2.2]
ddellacosta has joined #nixos
__monty__ has quit [Quit: leaving]
<granra> I'm converting attribute set into JSON in my nixos config using builtins.toJSON. I'd like to be able to use lib.mkAfter on a list that's in the attribute set elsewhere in the config and merge them together before converting it to json.
<granra> but everytime I merge them together with just regular // the list becomes an attribute set with _type, content and priority.
<granra> which I'm assuming is used by some function to merge them together.
<granra> How can I do what I want?
<granra> A little pastebin to explain my usecase https://paste.centos.org/view/2c52db8f
linarcx has quit [Ping timeout: 265 seconds]
philr has joined #nixos
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos
tokudan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tokudan opened pull request #83714 → nextcloud: 18.0.2 -> 18.0.3 → https://git.io/Jv7m6
<bhipple> Is there anyone around with enough permissions to help look at https://github.com/NixOS/nixpkgs/issues/83647 ?
<{^_^}> #83647 (by FRidh, 15 hours ago, open): Evaluation error is blocking jobsets
<bhipple> It'd be nice to get back to work on ZHF for 20.03
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @tokudan opened pull request #83715 → nextcloud: 18.0.2 -> 18.0.3 → https://git.io/Jv7my
tokudan has joined #nixos
glittershark has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @athas opened pull request #83716 → futhark: build and install manpages → https://git.io/Jv7mb
<Athas> I was worried adding manpages to the futhark package was going to be a nightmare, because no other Haskell packages seem to build them, but it ended up almost trivial.
<Athas> My compliments to whoever designed the Hackage integration. It was very easy to inject custom steps.
<bqv[m]> it's fine to use callPackage on things that aren't actually packages, right?
<bqv[m]> just for the DI
knupfer has quit [Remote host closed the connection]
miscellaneousbus has quit [Quit: Textual IRC Client: www.textualapp.com]
lovesegfault has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #83717 → nixos/display-managers: don't start pulseaudio → https://git.io/Jv7YY
zarel has quit [Ping timeout: 265 seconds]
zarel has joined #nixos
KeiraT- has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
KeiraT has quit [Ping timeout: 240 seconds]
<arianvp[m]> Not reallt
<arianvp[m]> Not really. It also adds these override functions to the resulting set
<arianvp[m]> Which I think are derivation-specific?
<arianvp[m]> Though do not pin me on it
philr has quit [Ping timeout: 252 seconds]
KeiraT- is now known as KeiraT
emacsoma1 has quit [Quit: WeeChat 2.7.1]
aveltras has quit [Quit: Connection closed for inactivity]
emacsomancer has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
<bqv[m]> right
<bqv[m]> ok
pjt_014 has joined #nixos
bandali has quit [Quit: ZNC - https://znc.in]
bandali has joined #nixos
<{^_^}> [nixpkgs] @cole-h opened pull request #83719 → alacritty: 0.4.1 -> 0.4.2 → https://git.io/Jv7Yr
pjt_014 has quit [Client Quit]
pjt_014 has joined #nixos
jbgi_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #83720 → python27Packages.application: 2.7.0 -> 2.8.0 and fix build → https://git.io/Jv7YD
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83721 → latte-dock: 0.9.9 -> 0.9.10 → https://git.io/Jv7Y7
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
shibboleth has quit [Quit: shibboleth]
vandenoever has quit [Ping timeout: 240 seconds]
Zander has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
Zander is now known as Guest99913
denbrahe[m] has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @andrew-d closed pull request #55156 → corretto8: init at 8.202.08.2 → https://git.io/fhSMD
Victor[m] has quit [Ping timeout: 246 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Pasha[m] has quit [Read error: Connection timed out]
Dagger2 has quit [Ping timeout: 246 seconds]
Pasha[m] has joined #nixos
xavierm02 has quit [Ping timeout: 246 seconds]
denbrahe[m] has joined #nixos
Guest99913 has quit [Read error: Connection reset by peer]
Dagger2 has joined #nixos
risebell[m] has quit [Ping timeout: 246 seconds]
ambro718 has joined #nixos
Guest99913 has joined #nixos
never_released_ is now known as never_released
bricewge has quit [Ping timeout: 246 seconds]
jasom has quit [Ping timeout: 246 seconds]
Sisyphe[m] has quit [Ping timeout: 246 seconds]
bricewge has joined #nixos
Sisyphe[m] has joined #nixos
f0i[m] has quit [Ping timeout: 246 seconds]
risebell[m] has joined #nixos
exprez135[m] has quit [Ping timeout: 246 seconds]
xavierm02 has joined #nixos
<duairc> I'm gonna leave it at that for tonight. I couldn't cope with all the regexes in the thing you sent me so I wrote a parser-combinator library in nix!
dyon[m] has quit [Read error: Connection timed out]
reallymemorable has joined #nixos
f0i[m] has joined #nixos
Victor[m] has joined #nixos
tek[m] has quit [Ping timeout: 246 seconds]
<infinisil> Looks like you're a Haskeller!
exprez135[m] has joined #nixos
dyon[m] has joined #nixos
<infinisil> Nice!
tek[m] has joined #nixos
<duairc> Yep :P
<bqv[m]> ahaha
<gchristensen> oh no
<bqv[m]> excellent
arturo[m] has quit [Ping timeout: 246 seconds]
Guest99913 has quit [Read error: Connection reset by peer]
philr has joined #nixos
Guest99913 has joined #nixos
Ox4A6F has quit [Read error: Connection timed out]
psiperator[m] has quit [Ping timeout: 246 seconds]
xensky has quit [Quit: No Ping reply in 180 seconds.]
<Yaniel> so for https://github.com/NixOS/nixpkgs/pull/76185 how would you actually test the service?
<{^_^}> #76185 (by pmiddend, 14 weeks ago, open): xow: init at 0.2
xensky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83723 → kdiff3: 1.8.1 -> 1.8.2 → https://git.io/Jv7Og
hiroshi[m] has quit [Ping timeout: 246 seconds]
<infinisil> duairc: This might be interesting for applications like this: https://github.com/NixOS/nix/issues/1491
<{^_^}> nix#1491 (by taktoa, 2 years ago, open): Add an Earley parser builtin
xa0[m] has quit [Ping timeout: 246 seconds]
GerdFlaig[m] has quit [Ping timeout: 246 seconds]
edomfjp[m]1 has quit [Ping timeout: 246 seconds]
romildo has joined #nixos
edomfjp[m]1 has joined #nixos
arturo[m] has joined #nixos
flacks_ has quit [Ping timeout: 246 seconds]
reallymemorable has quit [Quit: reallymemorable]
wavirc22 has joined #nixos
blitzclone_ has quit [Read error: Connection timed out]
sleibrock[m] has quit [Ping timeout: 246 seconds]
Guest99913 has quit [Read error: Connection reset by peer]
cosimone has quit [Ping timeout: 256 seconds]
sehqlr[m] has quit [Ping timeout: 246 seconds]
sleibrock[m] has joined #nixos
Guest99913 has joined #nixos
edomfjp[m]1 has quit [Ping timeout: 246 seconds]
das-g[m] has quit [Ping timeout: 246 seconds]
<romildo> What is the difference between using buildInputs and runtimeDependencies with autoPatchelfHook?
the_pumpkin_man[ has quit [Ping timeout: 246 seconds]
ksixty has quit [Ping timeout: 246 seconds]
<DigitalKiwi> duairc: for your next trick are you going to add static typing
aquarial has quit [Ping timeout: 246 seconds]
<DigitalKiwi> with type inference
<DigitalKiwi> (also that's really cool what you did)
hiroshi[m] has joined #nixos
<duairc> DigitalKiwi: lol
psiperator[m] has joined #nixos
<DigitalKiwi> don't listen to gchristensen
noonereally[m] has quit [Ping timeout: 246 seconds]
Leira[m] has quit [Read error: Connection timed out]
blitzclone_ has joined #nixos
Leira[m] has joined #nixos
arturo[m] has quit [Ping timeout: 246 seconds]
<gchristensen> :)
<DigitalKiwi> he's just mad he has to write python
petersjt014[m] has quit [Ping timeout: 246 seconds]
jbbr[m] has quit [Ping timeout: 246 seconds]
M4cheese[m] has quit [Ping timeout: 246 seconds]
Ox4A6F has joined #nixos
petersjt014[m] has joined #nixos
xa0[m] has joined #nixos
GerdFlaig[m] has joined #nixos
<energizer> if nix were written in python it could have static typing already :P
<duairc> I won't add static types to nix, but the closest thing we have are the types in NixOS modules, and the reason I went down this rabbit hole was because I wanted to make an "ip address" type for a NixOS module I'm writing which, given an IP address, will automatically calculate the gateway and some other networky things for a the particular network that I'm deploying to
alexfmpe[m] has quit [Ping timeout: 246 seconds]
flacks_ has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #83724 → ripgrep: 12.0.0 -> 12.0.1 → https://git.io/Jv7OP
codyopel has quit [Ping timeout: 246 seconds]
Guest99913 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @bhipple merged pull request #83719 → alacritty: 0.4.1 -> 0.4.2 → https://git.io/Jv7Yr
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jv7OX
Guest99913 has joined #nixos
ksixty has joined #nixos
val2229[m] has quit [Ping timeout: 246 seconds]
parsnip has joined #nixos
sehqlr[m] has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
WillW has quit [Ping timeout: 246 seconds]
edomfjp[m]1 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to staging-next « gnome3.gpaste: 3.36.0 → 3.36.3 »: https://git.io/Jv7O5
das-g[m] has joined #nixos
peelz has joined #nixos
reallymemorable has joined #nixos
<pie_[bnc]> duairc: nice
<DigitalKiwi> duairc: any chance you could/would write a blog post about that
<{^_^}> [nixpkgs] @garbas merged pull request #83136 → rofi-calc: init at 1.6 → https://git.io/Jv7Ox
<{^_^}> [nixpkgs] @garbas pushed commit from @luc65r to master « rofi-calc: init at 1.6 (#83136) »: https://git.io/Jv7Op
kaychaks[m] has quit [Ping timeout: 246 seconds]
<peelz> uhh why did the sha256 for one of my github patches change? log: https://termbin.com/xku7 overlay: https://termbin.com/p4f28
<duairc> DigitalKiwi: I'll need to make a blog first! But maybe! Hopefully I'll get the time to finish this off next weekend
the_pumpkin_man[ has joined #nixos
aquarial has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #83725 → Factor out fetcher of Maven dependencies → https://git.io/Jv7Oh
<DigitalKiwi> if you want to guest post on my blog you could
<DigitalKiwi> it doesn't have a lot of posts :(
<DigitalKiwi> https://mostlyabsurd.com/gallery/ has more content as that's what i do more of these days is make art
<parsnip> can nix print to stdout?
<parsnip> trying to write a hello world
arturo[m] has joined #nixos
<gchristensen> no
<DigitalKiwi> speaking of anyone want to buy some stickers :D
noonereally[m] has joined #nixos
<gchristensen> Nix isn't a general purpose programming language, so a hello world would be more like, building something which prints "hello world" to $out
kaychaks[m] has joined #nixos
<parsnip> so bash or C are examples of canonical hello worlds?
M4cheese[m] has joined #nixos
<gchristensen> sur
<{^_^}> [nixpkgs] @Profpatsch merged pull request #83162 → Skaware 2020 03 → https://git.io/JvDDr
<gchristensen> e
<{^_^}> [nixpkgs] @Profpatsch pushed 3 commits to master: https://git.io/Jv73k
<parsnip> so weird
<gchristensen> why so?
<parsnip> i mean, i haven't encountered many languages that can't do hello world themselves
<gchristensen> I guess Nix is more pure than those other languages you've tried :)
<parsnip> :)
alexfmpe[m] has joined #nixos
val2229[m] has joined #nixos
<infinisil> I guess from that perspective, Nix is a bit like Haskell without IO
ambro718 has quit [Quit: Konversation terminated!]
<energizer> it might be missing some other features too
<DigitalKiwi> all of the jokes people made about haskell not being able to do IO apply to nix too don't they
<parsnip> so then, if one wanted to do projecteuler with nix, you'd want like C or something to do IO?
<gchristensen> or have the output be a build
<infinisil> Oh yeah projecteuler is terrible for trying to learn Nix
<gchristensen> yeah
<pittma> I'm trying to build something with `buildRustPackage` where `src = "./.";`. I must not understand something here because it's tell me, during unpacking sources, that ./. and ./. are the same files.
codyopel has joined #nixos
jbbr[m] has joined #nixos
<parsnip> granted
<gchristensen> you could print to stderr
<pittma> which, ha, yeah, they definitely are. But not sure why that is bad.
<parsnip> stderr, build as output, these are all things i'm willing to look into
<gchristensen> pittma: try src = ./.;
<infinisil> pittma: Did you mean to do `src = ./.`?
iceypoi has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<pittma> ha
<pittma> probably
WillW has joined #nixos
<DigitalKiwi> could you make the program in a package and put it in a *Phase ?
<energizer> i want to override this and remove the ./0002-Restore-PATH-and-PYTHONPATH.patch from patches. https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/qtile/default.nix#L21 Can I somehow refer to it by value, or can i only get the reference by "second element of patches"?
granra has quit [Remote host closed the connection]
<infinisil> parsnip: I guess you could do project euler by writing every exercise with a different programming language, all built with Nix
<infinisil> That would actually be not half bad :)
<pittma> thanks, y'all.
<parsnip> so the nix repl could output results, right?
<parsnip> internet search for "nix io" doesn't work very well
<gchristensen> parsnip: what are you trying to actually do?
<parsnip> hello world
<DigitalKiwi> nix-repl> "hello world"
<DigitalKiwi> "hello world"
<parsnip> okay, now in a .nix file
orivej has quit [Ping timeout: 256 seconds]
<infinisil> Put that string in a Nix file, and `nix-instantiate --eval file.nix` :)
<gchristensen> parsnip: try this: echo '"hello world"' > foo.nix; nix-instantiate --eval --strict ./foo.nix
jasom has joined #nixos
<Profpatsch> DigitalKiwi: on the contrary, I can give you a Haskell hello world: `nix-shell -p ghc --run 'runhaskell $(tmp=$(mktemp) && echo "main = putStrLn \"hello world\"" > $tmp && echo "$tmp")'` but I can’t give you a nix hello world
icey__ has quit [Ping timeout: 240 seconds]
fendor has quit [Quit: Leaving]
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @davidak opened pull request #83726 → [20.03] Backport small doc improvements → https://git.io/Jv738
<Profpatsch> hm, one could probably argue that nix-instantiate --eval -E '"hello world"' is a nix hello world.
<parsnip> Profpatsch: i don't think they meant nix jokes apply to haskell, but the other way around
bvdw has joined #nixos
<pie_[bnc]> parsnip:
* pie_[bnc] rubs his hands together
<pie_[bnc]> importNative
<Profpatsch> STOP
<Profpatsch> STOP RIGHT THERE
<pie_[bnc]> AHAHAHAAHAHAHAHA
<parsnip> is that like unsafePerformIO
<pie_[bnc]> also uhh what was it
xelxebar has joined #nixos
* pie_[bnc] scratches ead
<pie_[bnc]> there was some invisible builtin
<bqv[m]> Lmao
<DigitalKiwi> Profpatsch: lol
* pie_[bnc] brings little tidbits of evil
<bqv[m]> Oh god
<bqv[m]> what does importNative do, out of curiosity?
<{^_^}> [nixpkgs] @Profpatsch merged pull request #79705 → skawarePackages: support static builds via pkgsStatic → https://git.io/JvcMQ
<{^_^}> [nixpkgs] @Profpatsch pushed to master « skawarePackages: support static builds via pkgsStatic »: https://git.io/Jv73u
<parsnip> awesome. nix-instantiate gets me off the ground.
<pie_[bnc]> builtins.__exec
<parsnip> gosh the nix clis api is tricky
<pie_[bnc]> oh hey looks like theres some sort of flag for it https://github.com/NixOS/nix/blob/master/src/libexpr/primops.cc#L2184
<infinisil> I didn't know about __importNative, but it's apparently different from __exec
<pie_[bnc]> parsnip: its not great at all
<parsnip> you've got as many nix clis as you have haskell.el files
<infinisil> But both are enabled with the monster flag
<infinisil> ,exec
<{^_^}> builtins.exec is a hidden unsafe impure Nix 2.0 feature that can be used to execute arbitrary commands during a Nix evaluation. Use with caution! Enable with `--option allow-unsafe-native-code-during-evaluation true`, simple example: https://gist.github.com/Infinisil/bb59b5258ccf17801179c249a9bb3342 More info: https://github.com/NixOS/nix/commit/0bb8db25
<pie_[bnc]> i keep forgetting the bot has some secrets like this
<parsnip> pie_[bnc]: reminds me of how cabal cli is still improving
<parsnip> new-install, etc
<bqv[m]> Oh no
<gchristensen> ,forget exec
<pie_[bnc]> >:D
<andi-> Why forget? It is such a great feature ;-)
<gchristensen> ,forget andi-
kleisli has quit [Remote host closed the connection]
<Profpatsch> Well, nix with a different set of builtins is not nix anymore
<Profpatsch> lol
<pie_[bnc]> <gchristensen> why do you enjoy destruction
<andi-> now we lost our only piece of docuumentation on that
<Profpatsch> LOL
<Profpatsch> ^ that
<pie_[bnc]> andi- is now an undocumented builtin
kleisli has joined #nixos
<andi-> pie_[bnc]: I know.
mbrgm_ has joined #nixos
<parsnip> can't you make a factoid of, "don't do any of these"
reallymemorable has joined #nixos
<Profpatsch> also great nickname parsnip
<Profpatsch> parsnip++
<{^_^}> parsnip's karma got increased to 3
<bqv[m]> Why is it there if not to be used?
<adisbladis> I'd much rather have builtins.andi- than builtins.exec
<andi-> adisbladis++
<{^_^}> adisbladis's karma got increased to 43
<Profpatsch> adisbladis++
<{^_^}> adisbladis's karma got increased to 44
<pie_[bnc]> but think of the parser
<pie_[bnc]> the poor poor parser
<parsnip> thank you, it was one of several monikers i considered in my youth, for the simple trait of sounding a bit silly. a similar one was "spatula"
<infinisil> bqv[m]: So I can write https://github.com/infinisil/nix-rts :)
<peelz> I'm fetching a patch from github and the hash seems to change every now and then... what's up with that?
<pie_[bnc]> having to disambiguate andi's trailer and the minus sign
<infinisil> parsnip: Don't use nix-rts btw, but it kind of adds IO to Nix lol
<Profpatsch> pie_[bnc]: haha, true
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<pie_[bnc]> entries wanted
<Profpatsch> infinisil: ah, yes, the old `inherit world;`
<bqv[m]> infinisil: ahaha oh god thats unholy
<bqv[m]> peelz: is the patch between two static refs?
<peelz> bqv[m]: two static refs? I'm fetching a specific commit by hash
ekleog has quit [Quit: WeeChat 2.6]
<bqv[m]> Oh, well, try .diff instead
<peelz> uhh but this shouldn't happen o.O
<bqv[m]> less …random
<peelz> I guess lol
<bqv[m]> It might if github reshuffles the file order
<bqv[m]> Afaik theres no guarantee that the patch ends up in the same order each time
<peelz> I'm not sure what changed tbh
<peelz> but yeah diff sounds like a saner alternative
<bqv[m]> Might be different for diff, since thats more deterministic
<peelz> lol it better be deterministic
<bqv[m]> Yeah
<pie_[bnc]> huh
cr4y1 has quit [Ping timeout: 252 seconds]
<parsnip> i will serve them a cease and desist
ekleog has joined #nixos
<parsnip> not me
Guest99913 has quit [Quit: Leaving]
<bqv[m]> Lol
<parsnip> my most significant contributions to programming are, doing a few euler problems in haskell, doing a few clrs problems in proofs and python, and writing a shitty ledger app in flutter.
<parsnip> oh, and fighting people on #emacs
<gchristensen> hey now don't violate one of the only rules of #emacs
<parsnip> it puts the -Q on the cli or it gets the hose
<parsnip> lol
<parsnip> btw, do not ask me to install emacs on macos via nix.
<parsnip> thar be dragons
<parsnip> i swear it left ghosts
<parsnip> so is this nix-instantiate --eval hello-world.nix just using the idea of builds as output?
<bqv[m]> Pfft. I used to use emacs on windows
<bqv[m]> Windows I tell you
<gchristensen> nix-instantiate doesn't build anything, just evaluates to Nix primitives
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<parsnip> okay, random conjecture. thank you.
jlv has joined #nixos
<parsnip> i got as far as "nix-instantiate - instantiate store derivations from Nix expressions"
<avn> Have a question, folks. Are possible to make shell.nix for package.json (npm?) based project using IFD for instant regeneration of package.json.nix?
<bqv[m]> Hey if you really want output, try `print = builtins.abort`
<bqv[m]> Warning: one time use only
<andi-> avn: IIRC node2nix (or another one of those?) supports OFD
<andi-> *IFD
<adisbladis> Neither requires codegen.
init_6 has joined #nixos
<bqv[m]> Why are these not in nixpkgs again?
<adisbladis> yarn2nix is
<adisbladis> pnpm2nix is not because it requires IFD to convert the YAML lock file
<adisbladis> napalm I don't know
<Yaniel> how do I use systemd.pacckages from a service definition?