gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<asymmetric> Ok, I’m reading about fixed-point now :)
<asymmetric> Kind of a mind-fuck ;)
goibhniu has joined #nixos
sanscoeur has quit [Ping timeout: 245 seconds]
asymmetric has quit [Client Quit]
sanscoeu_ has quit [Ping timeout: 252 seconds]
jperras has quit [Ping timeout: 250 seconds]
<azazel> I've still to understand how it works... the fixed-point thing i mean
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
mulderr has joined #nixos
jperras has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
bpye has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1d8470b1640 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Guanin_ has quit [Ping timeout: 268 seconds]
emerson has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
maximiliantagher has quit [Remote host closed the connection]
asymmetric has joined #nixos
jperras has joined #nixos
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #50336 → refind: 0.11.3 -> 0.11.4 → https://git.io/fpOuw
asymmetric has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 244 seconds]
Lisanna has quit [Quit: Lisanna]
slack1256 has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
dbmikus_ has joined #nixos
zopsi has quit [Quit: Oops]
sigmundv__ has quit [Ping timeout: 264 seconds]
zopsi has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #50258 → mosquitto: enable websockets support → https://git.io/fpq01
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fpOgb
rprije has joined #nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #50337 → transcribe: 8.40 -> 8.72 → https://git.io/fpO2f
m0rphism has quit [Quit: WeeChat 2.2]
dbmikus_ has quit [Ping timeout: 244 seconds]
mayhewluke has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #50293 → Add setup-hooks for scons and waf → https://git.io/fpmNO
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to staging-next: https://git.io/fpO23
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #49776 → atlas: remove → https://git.io/fxj4t
<{^_^}> [nixpkgs] @matthewbauer pushed 9 commits to master: https://git.io/fpO2G
thedavidmeister has joined #nixos
<thedavidmeister> hi
<thedavidmeister> i'm having problems getting a GUI to work with nixos on a system76 laptop
<thedavidmeister> anyone had experience with that?
<samueldr> what are the symptoms?
<clever> thedavidmeister: ive got no issues on my system76 machine
<thedavidmeister> keeps trying to start x11 server
<thedavidmeister> trys a few times then says "failed to start x11 server"
<samueldr> did you configure a `services.xserver.videoDrivers` ?
<samueldr> if so, it could be that the one configured is wrong or causing issues :/
<thedavidmeister> yes, i set it to "intel"
<thedavidmeister> ok so what do you have it set to?
<clever> nh2: ah, i had seen that before, but couldnt remember the right name to search for, but i'm nnnnnnnnnnnnnnnnot sure how to use it right now: https://github.com/NixOS/nixpkgs/blob/dd3aca2d0b9dcb4888779bfb08805d79596607c9/pkgs/top-level/stage.nix#L98-L103
<samueldr> (I don't have a system76 laptop) thedavidmeister trye modesetting instead of intel
<ottidmes> thedavidmeister: no more info with `sudo journalctl -b`?
<samueldr> and the default value is [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ], which is good for anything non-nvidia AFAIK
<clever> thedavidmeister: let me check mine
<samueldr> and yeah, probably a good idea to look at the journal
<{^_^}> [nixpkgs] @AmineChikhaoui opened pull request #50338 → networkmanagerapplet: 1.8.16 -> 1.8.18. → https://git.io/fpO2P
<clever> nix-repl> config.services.xserver.videoDrivers
<clever> [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ]
<samueldr> clever: looks like you didn't set one :)
<clever> thedavidmeister: heh, i'm still on the default, and it works perfectly
<clever> checking to see what its using...
<ottidmes> clever: but what does your journal say it chooses?
<thedavidmeister> main process exited, code=exited, status=1/FAILURE
<clever> 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
<clever> Oct 30 07:09:46 system76 X[4073]: (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
<clever> ottidmes: looks like it went with intel
orivej has joined #nixos
<clever> Oct 30 07:09:46 system76 X[4073]: (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
<clever> Oct 30 07:09:46 system76 X[4073]: (II) intel(0): [DRI2] VDPAU driver: va_gl
<samueldr> (looking back at my intel machine config, I may have been wrong about modesetting being preferred)
<clever> thats interesting, thats an nvidia api...
<ottidmes> I assume not all System76 laptops have Intel GPUs, do you know which one you have, thedavidmeister?
<clever> i should test it out and see how it performs
<thedavidmeister> hang on, i'll try the default
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpO2S
<clever> Oct 30 07:09:46 system76 X[4073]: (II) Unloading modesetting
stepcut has joined #nixos
<clever> ottidmes: after xorg loaded all the drivers, and probed hardware, it unloaded modesetting, so thats definitely not in use
<{^_^}> [nixpkgs] @peterhoeg closed pull request #43978 → sddm: 0.17.0 -> 0.18.0 → https://git.io/fNl4m
<ottidmes> otherwise try just modesetting, that should always work on modern GPUs as I understand it (its actually my driver being used on my desktop right now)
<thedavidmeister> x11 also hangs when i try to power down
<clever> thedavidmeister: what does it mention in the journal?
<clever> journalctl -u display-manager
<ottidmes> thedavidmeister: not some rights issue? I tend to forget to chown my home folder after setting up my file systems, just because the user is only made when I run my actual NixOS config
<thedavidmeister> i'm root
<thedavidmeister> it says starting
<thedavidmeister> started
<clever> it should also include logs for the whole session
<thedavidmeister> main process exited, code=exited, status=1/FAILURE
<thedavidmeister> failed with result 'exit-code'
<clever> thedavidmeister: nix-store --verify --check-contents
<thedavidmeister> service rstartsec=200ms expired, scheduling restart
<thedavidmeister> then it stops
<thedavidmeister> and restarts
<thedavidmeister> and loops til it fails
<ottidmes> clever: BTW, I am now trying my last plan, create my own socket (/dev/log is a socket), and mount bind /dev/log to my own socket that filters the data before writing it to the actual /dev/log :P
<aanderse> anyone feel like merging a security related PR? https://github.com/NixOS/nixpkgs/pull/49840
<{^_^}> #49840 (by markuskowa, 1 week ago, open): nixos/postgresqlBackup: set to umask to 0077
<clever> ottidmes: :D
<thedavidmeister> verify did not show problems
<thedavidmeister> i'll try modesetting
<ottidmes> thedavidmeister: about being root, I meant, if you have like user david, make absolutely sure your /home/david is completey owned by david, those .Xauthority files and such, can cause it to die
<clever> thedavidmeister: what display manager did you configure?
<clever> thedavidmeister: there should be a lot more in the journal then what you listed above
<{^_^}> [nixpkgs] @samueldr merged pull request #49840 → nixos/postgresqlBackup: set to umask to 0077 → https://git.io/fpfFm
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fpO2x
<ottidmes> clever: I even tried checking what strings where in the files, maybe one contained /dev/log, did find some others, like /dev/zero and /dev/urandom, but no /dev/log
dycan has joined #nixos
lassulus_ has joined #nixos
<clever> ottidmes: run nix-store -qR on the storepath, then grep ALL of those for /dev/log
<thedavidmeister> display manager is lightdm
<clever> thedavidmeister: was there anything else in the logs that you omited?
<thedavidmeister> desktop manager is plasma5
<thedavidmeister> nope
<thedavidmeister> just what i put on repeat until it died
<{^_^}> [nixpkgs] @samueldr pushed commit from @markuskowa to release-18.09 « nixos/postgresqlBackup: set to umask to 0077 »: https://git.io/fpOav
<clever> thedavidmeister: can you pastebin the entire hardware-configuration and configuration.nix files?
<thedavidmeister> how would i do that?
<aanderse> samueldr: awesome!
<clever> thedavidmeister: ssh into the laptop from another system, scp can copy files, gist can upload from the CLI
<dycan> hi! does anyone know another way to Install NixOS on GCE? https://nixos.wiki/wiki/Install_NixOS_on_GCE isn't working.
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
<thedavidmeister> ok give me a bit then
stepcut has quit [Remote host closed the connection]
<aminechikhaoui> dycan maybe use nixops ? it should make it easier
<dycan> aminechikhaoui: thanks for the advice! I'll take a look.
<thedavidmeister> http://termbin.com/n6k7 <-- hardware configuration
<thedavidmeister> http://termbin.com/na8e <-- config
<thedavidmeister> http://termbin.com/6a3m <--- desktop
<clever> thedavidmeister: you have verbose = 0;, that would explain why all logs are missing
o1lo01ol1o has joined #nixos
<thedavidmeister> it was 7 before
<thedavidmeister> i wasn't sure if high or low was more verbose
<thedavidmeister> same result either way
<aanderse> anyone feel like merging a dead simple change that has been waiting a week? https://github.com/NixOS/nixpkgs/pull/49838
<clever> the default shows messages for me
<{^_^}> #49838 (by dasJ, 1 week ago, open): nixos/mysql: Explicitly set datadir in my.cnf
<clever> thedavidmeister: try also commenting out the layout and libinput
<{^_^}> [nixpkgs] @bendlas pushed to master « chromium: 70.0.3538.77 -> 70.0.3538.102 »: https://git.io/fpOaV
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Rusty1 has joined #nixos
<thedavidmeister> http://termbin.com/sll8
sigmundv has quit [Ping timeout: 252 seconds]
<samueldr> clever: IIRC lightdm still doesn't log to journald, right?
<clever> samueldr: oh, that could be it
<clever> thedavidmeister: try switching to slim for example, just temporarily
<thedavidmeister> http://termbin.com/z9ewm
<thedavidmeister> sure ok
<samueldr> #26172 seems to say it would be /var/log/X.0.log (and it matches with my memories)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/26172 (by lheckemann, 1 year ago, open): LightDM logs to /var/log rather than journal
<aanderse> samueldr: still trying to learn here... why would grahamcofborg say the mysql test doesn't evaluate on x86_64?
<samueldr> no idea
<samueldr> (as in, I wasn't watching)
carlosdagos has joined #nixos
<aanderse> yeah the bot said "The following builds were skipped because they don't evaluate on x86_64-linux: tests.mysql"
<aanderse> so confused
<samueldr> yeah, the full output is required in that case
<aanderse> oh... nevermind... not listed in release.nix
<samueldr> hum, uh, it is?
<samueldr> (not always confident in the tests infra)
<aanderse> hmm ignore me... it is listed in all-tests.nix
<samueldr> hmm, tests infra had changes between nixos-unstable and master
* samueldr checks
<samueldr> it's related to the restricted mode, AFAICT
<aanderse> still have no idea why the test didn't run then :\
<samueldr> hmmm, smells like IFD?
<samueldr> >access to path '/nix/store/mb4ghk1cf1fr473na3kkhbrf1878vlpx-rbvermaa-spot'
<samueldr> sorry eval-bot
<aanderse> IFD?
<samueldr> Import From Derivation
<samueldr> not entirely sure though
<samueldr> on master, `nix-build -I . --option restrict-eval true ./nixos/release.nix -A tests.mysql` fails with the same error
<samueldr> (different store path being imported, obv.)
tomberek has joined #nixos
<thedavidmeister> seems the same with default
<thedavidmeister> i'll try sddm
<samueldr> thedavidmeister: the laptop is quite recent or not?
<samueldr> if it is, you may have more luck with `boot.kernelPackages = pkgs.linuxPackages_latest;`, which on 18.09 would be 4.18 currently
<thedavidmeister> i got it this week
<samueldr> you're using 4.14
<samueldr> (it defaults to the current LTS, which was 4.14 at the release of 18.09)
<thedavidmeister> ok sure that sounds worth trying
<ottidmes> good point, I had to use 4.15 at least, for one of my devices to get it to work
<samueldr> do reboot in-between
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
<thedavidmeister> same with sddm
Supersonic112 is now known as Supersonic
<thedavidmeister> i will try this kernelPackages
<thedavidmeister> sddm is slightly better
<thedavidmeister> after failing to launch i at least get my console back
<thedavidmeister> don't need to put it into rescue mode every time -_-
mekeor has quit [Remote host closed the connection]
eric88 has joined #nixos
<eric88> Hey all, where's the discord? I'm struggling to find it w/ search engine
<eric88> I've found https://discourse.nixos.org but I don't know if that's... the right place
<eric88> Looks active though
EarlDeLaWarr has quit [Quit: Textual IRC Client: www.textualapp.com]
<emily> there's a discord?
<samueldr> I don't think there's a known discord
<samueldr> though yes, there's the discourse
<samueldr> which is the mailing list replacement
maximiliantagher has quit [Remote host closed the connection]
<thedavidmeister> woooooo
<thedavidmeister> new linux kernel = login screen
maximiliantagher has joined #nixos
<thedavidmeister> time for lunch :D
<thedavidmeister> thanks for helping!
<jasongrossman> samueldr++
<{^_^}> samueldr's karma got increased to 37
<samueldr> great, you probably can undo every other changes :)
<samueldr> (if you want to)
maximiliantagher has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @bendlas pushed 2 commits to release-18.09: https://git.io/fpOw3
vidbina_ has joined #nixos
drakonis has joined #nixos
vidbina has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #50339 → motion: 4.1.1 -> 4.2 → https://git.io/fpOwg
vk3wtf has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4c72d0ce207 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
vidbina_ has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @fpletz opened pull request #50340 → nixos/switch-to-configuration: restart changed socket units → https://git.io/fpOrL
vk3wtf has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<thedavidmeister> samueldr++
<{^_^}> samueldr's karma got increased to 38
<thedavidmeister> ottidmes++
<{^_^}> ottidmes's karma got increased to 1
<thedavidmeister> clever++
<{^_^}> clever's karma got increased to 47
<clever> thedavidmeister: aha
<clever> thedavidmeister: let me see what kernel i'm on...
<clever> thedavidmeister: Linux system76 4.14.67 #1-NixOS SMP Fri Aug 24 11:09:23 UTC 2018 x86_64 GNU/Linux
ottidmes has quit [Ping timeout: 250 seconds]
Zer000 has joined #nixos
maximiliantagher has joined #nixos
<Zer000> So I'm still trying to figure out why upgrading my server from 18.03 to 18.09 caused gitlab to wipe my database. The postgres version was not changed from pkgs.postgresql100. The databsase itself still has all my data from hydra, it was just the gitlab db that was seemingly dropped and re-created fresh. clever suggested that there is another directory that was being used before but I don't think that's it.
maximiliantagher has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @corngood opened pull request #50341 → WIP: chicken: 4.13.0 -> 5.0.0 → https://git.io/fpOrh
rprije has quit [Ping timeout: 268 seconds]
rprije has joined #nixos
eric88 has quit [Ping timeout: 252 seconds]
freeman42x]NixOS has quit [Remote host closed the connection]
<Zer000> I have files in /var/lib/postgresql/10.0/base modified Nov12, /var/lib/postgresql/9.4/base modified Apr 18 (probably when I upgraded to 10 because i have a db dump dated Apr 17) but I also have files in /var/db/postgresql/base dated Apr 17
dycan has quit [Remote host closed the connection]
<Zer000> I guess I'm going to just restore the dump from April since these are just personal projects I don't think there would be comments or anything missing. But this is a shitshow of an upgrade
<simpson> Yeah, that sounds rough.
rprije has quit [Ping timeout: 252 seconds]
sirkha has joined #nixos
sirkha has quit [Client Quit]
sirkha has joined #nixos
<sirkha> Hi, weird problem. just upgraded to 18.09 and in my user profile i try nix-env --upgrade and get error: anonymous function at /nix/store/43vrvm0isa550h06c43ckx935hzqd6mp-nixos-18.09.1228.a4c4cbb613c/nixos/pkgs/applications/misc/qpdfview/default.nix:1:1 called with unexpected argument 'qt4', at /nix/store/43vrvm0isa550h06c43ckx935hzqd6mp-nixos-18.09.1228.a4c4cbb613c/nixos/lib/customisation.nix:69:12
<sirkha> quick google didn't help, don't know where to start troubleshooting
<lopsided98> sirkha: do you override qpdfview anywhere in your config?
<sirkha> hmm, its possible (been a while since I installed it)
<lopsided98> qpdfview was moved from qt4 to qt5 which explains why the qt4 argument no longer exists
<sirkha> i tried uninstalling qpdfview and that doesn't change anything... probably because it is overridden somewhere and this is keeping my nix-env from evaluating properly
<clever> sirkha: do you have a ~/.nixpkgs/config.nix or ~/.config/nixpkgs/config.nix?
orivej has quit [Ping timeout: 268 seconds]
<sirkha> clever, yes, thanks
<sirkha> removed override, trying again
<sirkha> yup, that worked, thanks
maximiliantagher has joined #nixos
freeman42x]NixOS has joined #nixos
iyzsong has joined #nixos
maximiliantagher has quit [Ping timeout: 244 seconds]
wykurz has joined #nixos
jperras has quit [Ping timeout: 272 seconds]
iyzsong has quit [Ping timeout: 250 seconds]
stepcut has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
<thedavidmeister> ok so next question...
<thedavidmeister> what would cause my x11 to hang on shutdown?
<romanofskiWork> thedavidmeister: some process still reading from a socket or whatever?
<romanofskiWork> if the process is still around you could strace it and see what's happening
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
<romanofskiWork> strace -p <pid>
maximiliantagher has joined #nixos
<thedavidmeister> how do i check that if it is hanging on shutdown?
<thedavidmeister> how do i run commands at that point?
jperras has quit [Ping timeout: 240 seconds]
<Rusty1> ctl-alt-f1 perhaps?
maximiliantagher has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a964a334470 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
jperras has joined #nixos
<thedavidmeister> ok i'll try that
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
maximiliantagher has joined #nixos
vk3wtf has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @volth closed pull request #48587 → chromiumCanary: init at 72.0.3598.0 → https://git.io/fxgI8
jperras has joined #nixos
hxrts has quit [Ping timeout: 244 seconds]
fresheyeball has joined #nixos
<fresheyeball> hey folks
<fresheyeball> I have a problem.
<fresheyeball> I am trying to upgrade my system from 18.03 -> 18.09
<fresheyeball> and I ran
<fresheyeball> nix-channel --add https://nixos.org/channels/nixos-18.09 nixos
jtojnar has joined #nixos
<fresheyeball> and sudo nixos-rebuild switch --upgrade
<fresheyeball> but it tells me it requires nix 2.0
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<jasongrossman> fresheyeball: Have you run sudo nix-channel --add https://nixos.org/channels/nixos-18.09 nixos ?
<fresheyeball> jasongrossman: yes
<jasongrossman> And then sudo nix-channel update +?
<jasongrossman> (Sorry, the "+" there is a typo.)
<fresheyeball> jasongrossman: no let me try that
<jasongrossman> :-)
<fresheyeball> jasongrossman: that did it
<fresheyeball> jasongrossman++
<{^_^}> jasongrossman's karma got increased to 5
maximiliantagher has quit [Ping timeout: 272 seconds]
jperras has quit [Ping timeout: 268 seconds]
<jasongrossman> \o/
jperras has joined #nixos
fresheyeball has quit [Quit: WeeChat 1.9.1]
o1lo01ol1o has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
sb0 has quit [Quit: Leaving]
reinhardt has joined #nixos
jperras has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ekleog opened pull request #50342 → Fix test evaluation in restrict-eval → https://git.io/fpO6N
tomberek has quit [Quit: Page closed]
Rusty1 has quit [Quit: Konversation terminated!]
fresheyeball has joined #nixos
<fresheyeball> crapes that didn't work
<fresheyeball> anyone gotten steam play stuff to work?
<clever> fresheyeball: ive had one or 2 games in my library work
<clever> fresheyeball: if you get a python3 error in the stdout of steam (run it in a terminal) then you need to update nixpkgs
<clever> fresheyeball: the fix is definitely on nixos-unstable
<fresheyeball> clever I didn't think to run steam from the command line
<fresheyeball> let me try that
vk3wtf has quit [Ping timeout: 260 seconds]
<fresheyeball> clever: https://pastebin.com/E5Fqi55Q
<fresheyeball> that is what I get out to the command line when I try to run a game
<fresheyeball> Looks more and more like I need to learn about this ELF thing
maximiliantagher has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
maximiliantagher has quit [Ping timeout: 246 seconds]
endformationage has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
reinhardt has quit [Quit: Leaving]
<romanofskiWork> fresheyeball: is it possible that you created the steam client installation on a Ubuntu machine and switched distros?
vmandela has joined #nixos
<fresheyeball> romanofskiWork: no, the client was installed via nix
<fresheyeball> on a nixos install
<romanofskiWork> did you start the client on a fresh home directory tho?
<romanofskiWork> e.g. did the ~/.steam folder exist before you installed nixos
<fresheyeball> I formatted the drive and installed nixos on it 2 years ago
fractal has quit [Ping timeout: 264 seconds]
<fresheyeball> I have been running nixos on this drive ever since
freeman42x]NixOS has joined #nixos
<romanofskiWork> hm odd.. you could try: unset LD_PRELOAD; <your steam client or path to game> from the terminal
<romanofskiWork> something adds the libraries to be loaded during the start of the game via the LD_PRELOAD env variable... gotta find where
jperras has quit [Ping timeout: 240 seconds]
<romanofskiWork> but might be on the wrong food there... so not sure
jperras has joined #nixos
Watcher7 has quit [Quit: h]
boegel has quit [Remote host closed the connection]
jasongrossman has quit [Ping timeout: 244 seconds]
boegel has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
divansantana has joined #nixos
<divansantana> Greetings all :)
jD91mZM2 has joined #nixos
maximiliantagher has joined #nixos
mkoenig has quit [Remote host closed the connection]
vk3wtf has joined #nixos
jordansinn has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
Guanin_ has joined #nixos
wykurz has quit [Quit: Leaving]
Itkovian has joined #nixos
Lisanna has joined #nixos
<Lisanna> So, nix-store has a --repair-path option, which attempts to substitute the path from a binary substituter. Is there a technical reason why it couldn't just rebuild the path as a 'fallback' repair method?
<Lisanna> You'd think that would work if the build was deterministic
<Lisanna> context: *attempts to substitute the path from a binary substituter if the existing one in the /nix/store is corrupted in some way (hash mismatch, size mismatch)
hyper_ch2 has joined #nixos
reinhardt has joined #nixos
<divansantana> Nix is very cool. Was up and running with it on a foreign distro quickly. I've installed google-chrome and qutebrowser. google-chrome has a font issue. Wondering if I have to install some font pkg for it to work. qutebrowser crashes on launch too. https://paste.debian.net/1051652/ Any ideas?
<romanofskiWork> divansantana: perhaps Xorg running without 3D accelleration?
Maxdamantus has quit [Ping timeout: 276 seconds]
<romanofskiWork> not sure if it should run without
<divansantana> romanofskiWork: Hmm. I'm on guixsd. Not sure. I can have a look into that. If so, would one have to modify the nix recipe/install to work on guixsd?
shabius has joined #nixos
<angerman> how do you figure out why your download (only some) in a sandbox fail with `nix-build`?
<romanofskiWork> divansantana: yeah not sure.. you can check if you have 3D accelleration in a terminal by running: glxinfo
shabius_ has quit [Ping timeout: 264 seconds]
<Lisanna> I just realized... I can use my nix-shell "trick" I discovered yesterday to repair corrupted /nix/store paths that way
<romanofskiWork> perhaps you need to install the Xorg driver package for your graphics card ...
<Lisanna> screw it, I'll write a whole tool to do it
<divansantana> romanofskiWork: Cool. Let me look into this. Will report back.
<divansantana> romanofskiWork: thanks
lopsided98 has quit [Ping timeout: 252 seconds]
lopsided98 has joined #nixos
maximiliantagher has joined #nixos
<divansantana> glxinfo | grep rendering, says direct rendering: Yes . glxgears works too. 60fps.
<divansantana>
gm152 has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
Ridout has quit [Ping timeout: 268 seconds]
maximiliantagher has quit [Ping timeout: 252 seconds]
Maxdamantus has joined #nixos
<divansantana> think qutebrowser crashing because its using my system python and not nix python. https://paste.debian.net/1051652/
jperras has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #50343 → ocamlPackages.camlp5: 7.06 -> 7.07 → https://git.io/fpOMB
jperras has quit [Ping timeout: 246 seconds]
crmlt has joined #nixos
jperras has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 252 seconds]
<thedavidmeister> i'm struggling to debug hanging shutdown
<thedavidmeister> tried to hit ctrl + alt + f1
<thedavidmeister> didn't do anything
Guanin_ has quit [Remote host closed the connection]
Zer000 has quit [Ping timeout: 268 seconds]
fractal has joined #nixos
<thedavidmeister> gets to Sarted mdadm-shutdown.service then stops
<thedavidmeister> gets to Started mdadm-shutdown.service then stops
<thedavidmeister> ACPI Error: Method parse/execution failed \_SB.PCI0.PGON, AE_AML_LOOP_TIMEOUT ...
<tommyangelo> how can I get nixops to use its saved private key to ssh to a vm? It has a valid key in its state, but it doesn't want to use it
johanot has joined #nixos
crmlt has quit [Ping timeout: 246 seconds]
sigmundv has joined #nixos
Ariakenom has joined #nixos
crmlt has joined #nixos
<Lisanna> tommyangelo not sure there's a way to do that ): although that definitely seems weird that it wouldn't do that by default
jperras has quit [Ping timeout: 244 seconds]
zolk3ri has joined #nixos
thedavidmeister has quit [Ping timeout: 256 seconds]
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
hyperfekt has joined #nixos
vbernat has joined #nixos
Tucky has joined #nixos
hyperfekt has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48044 → treewide: Use fetchFromGitHub instead of fetchurl → https://git.io/fxG6e
<{^_^}> [nixpkgs] @c0bw3b pushed 17 commits to master: https://git.io/fpOSS
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49906 → Update all supported postgresql versions (Fixes CVE-2018-16850) → https://git.io/fpT7Z
<{^_^}> [nixpkgs] @c0bw3b pushed 7 commits to staging: https://git.io/fpOSH
<Lisanna> aarrgghh, I wish the sandbox had an option to control time ):
<Lisanna> ...or, rather, that doing so was feasible in the first place
FRidh has joined #nixos
<puffnfresh> zimbatm: thanks for your awesome work on linuxkit-nix!
<ekleog> Lisanna: I guess you're not looking for nix.conf's `timeout` nor for the `--timeout` option?
<zimbatm> puffnfresh: thanks!
<zimbatm> is it working for you?
goibhniu has joined #nixos
<zimbatm> I think a bunch of packages have to be upgraded to support Mojave
<zimbatm> but then I ran out of energy :)
peacememories has joined #nixos
periklis has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nixos
maximiliantagher has joined #nixos
jperras has joined #nixos
crmlt has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a06177e65ac (from 9 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
av4h has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
maximiliantagher has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50204 → mod_wsgi: 4.6.4 -> 4.6.5 → https://git.io/fptCt
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpOQ7
thc202 has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
Taneb has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yurb> Is there anything I can do to help getting this merged? https://github.com/NixOS/nixpkgs/pull/49556
<{^_^}> #49556 (by yurkobb, 1 week ago, open): supercollider: build with alsa (midi) support on non-darwin
jperras has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #49556 → supercollider: build with alsa (midi) support on non-darwin → https://git.io/fxNft
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpO7Q
<srhb> yurb: Done :)
<yurb> srhb: thanks a lot:)
<srhb> yurb: (The more general answer is: It's fine to ping here if things get forgotten for a while) :-) Thanks for contributing
smolboye has quit [Ping timeout: 272 seconds]
tommyangelo has quit [Ping timeout: 252 seconds]
peacememories has joined #nixos
smolboye has joined #nixos
jperras has quit [Ping timeout: 272 seconds]
peacememories has quit [Client Quit]
maximiliantagher has joined #nixos
jperras has joined #nixos
Diagon has quit [Quit: Leaving]
maximiliantagher has quit [Ping timeout: 240 seconds]
tommyangelo has joined #nixos
carlosdagos has quit [Quit: Connection closed for inactivity]
<Lisanna> ekleog I mean, since time is an impurity
<ekleog> Lisanna: oh, you mean changing gettimeofday? it may be possible to do through seccomp&ptrace, ISTR there's a tool to run the subtool in time fixed to 0
<ekleog> like “faketime my_command” or something like that
<ekleog> now, I don't think linux disables rdtsc so it wouldn't be perfect
<ekleog> (unless you start hot-patching rdtsc calls out of memory, but that starts getting *really* hacky)
<Lisanna> I'm just looking for something to deal with annoying build scripts that feel that stamping the output of 'date' into a binary so that you can know when the build was done is more important than determinism
<Lisanna> or equivalents of date
<NickHu> What's the correct way to get into a nix-shell with a gcc arm cross compile toolchain?
<ekleog> that doesn't it nix-sandbox-wide, though… maybe this could be requested as a feature, idk
<NickHu> I tried nix-shell '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A stdenv.cc.cc but it seems to give me everything I need, including a linker, except for gcc itself
<ekleog> Lisanna: now, I guess some compilers may react strangely if their time is frozen to 0
<ekleog> see eg. pkgs/applications/audio/axoloti/default.nix for a use of it
<tilpner> dtz++
<{^_^}> dtz's karma got increased to 1
<Lisanna> also, I just finished a little tool for repairing corrupted nix store paths, nix-surgeon: https://gist.github.com/ledettwy/b06f767f9aa30f5d68861799fa169ce9
<ekleog> maybe there could be a timeFrozenStdenv?
<Lisanna> it can be used to deal with errors like "hash mismatch importing path"
<Lisanna> ekleog maybe a build hook
<ekleog> Lisanna: totally possible too, indeed, most likely cleaner :)
<ekleog> NickHu: for gcc there's gcc-arm-embedded
civodul has joined #nixos
<NickHu> I figured out it's nix-shell '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A gcc.cc that seems to give me what I need
<symphorien> NickHu: nix-shell -A foo gives you the dependies needed for A, not A itself
<symphorien> for foo, not foo itself*
<NickHu> symphorien: Ah, I see - so is there a better invocation?
<symphorien> you can run nix-shell on a dummy derivation you wrote yourself like here https://github.com/NixOS/nixpkgs/issues/49526#issue-375977003
<symphorien> put what you want to be available in the (native)buildInputs
<symphorien> the actual content of phases will be ignored
jperras has quit [Ping timeout: 250 seconds]
<ekleog> NickHu: actually for a cross-compile toolchain you're going to want targetPlatform, not crossSystem
<ekleog> crossSystem is “runs on crossSystem”
<ekleog> the reason why it works with -A is that it requires a localSystem->crossSystem compiler to compile the one you asked
<NickHu> I see
<NickHu> When I actually tried to use the compiler I got an error: fatal error: linux/compiler-gcc7.h: No such file or directory
__monty__ has joined #nixos
<symphorien> NickHu: you got the dependencies to build stdenv.cc
<ekleog> NickHu: what exactly are you wanting to compile for?
<symphorien> that is stdenv.cc.cc which is gcc-unwrapped
<symphorien> so this gcc does not know where to find the libc and so on
<NickHu> ekleog: I'm trying to compile an arm linux kernel for a raspberry-pi-eqsue device
<puffnfresh> zimbatm: I might upgrade my VM to Mojave and give it a go
<ekleog> NickHu: have you tried just `-p gcc-arm-embedded`? if it's going to run without runtime (as I think the arm linux kernel is going to), then it'd maybe do it
<ekleog> gcc upstream is missing some stuff IIRC
jperras has joined #nixos
<NickHu> ekleog: It gives a similar error: fatal error: linux/compiler-gcc6.h: No such file or directory
<symphorien> NickHu: https://nixos.wiki/wiki/Linux_Kernel#Developing_Kernel_Modules << add the crossSystem argument to the shell.nix here
<ekleog> NickHu: there's nix-shell -I nixpkgs=channel:nixos-unstable -p 'gdb.override {stdenv = stdenv.override { targetPlatform = lib.systems.examples.riscv32; };}' that I once used to build a gdb for riscv32
<ekleog> (the -I nixpkgs=channel:nixos-unstable being most likely unnecessary if you're already on unstable)
<ekleog> symphorien: it needs be targetPlatform, not crossSystem
<symphorien> huh maybe, the point being using -A stdenv.cc won't work
<ekleog> (or even on 18.09, at the time I was 18.03)
<ekleog> NickHu: you may be more lucky by trying to directly ask nix to build your kernel with crossSystem=..., btw
<NickHu> symphorien: nix-shell '<nixpkgs>' --arg targetSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A linux.dev doesn't seem to work
<symphorien> how does it not work ?
<NickHu> symphorien: It doesn't give me any arm-*-eabi-* binaries
<NickHu> The only thing that seemed to was stdenv.cc.cc or gcc.cc
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/1d8470b1640 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
maximiliantagher has joined #nixos
<symphorien> NickHu: with crossSystem instead of targetSytem, it downloads armv7a-unknown-linux-gnueabihf-gcc
tommyangelo has quit [Remote host closed the connection]
<symphorien> I think you mixed targetSystem and targetPlatform, actually
<symphorien> mh targetPlatform does not work better
maximiliantagher has quit [Ping timeout: 260 seconds]
vidbina_ has joined #nixos
<zimbatm> puffnfresh: let me know how it goes. do you want access to the repo? the staging branch is built on hydra
<NickHu> symphorien: Ah, I do indeed get armv7l-unknown-linux-gnueabihf-, but I still end up getting the fatal error: linux/compiler-gcc7.h: No such file or directory
<ekleog> NickHu: did you try compiling with gcc6? maybe your kernel sources don't support gcc7 (I can never remember which kernels support which compilers)
jperras has quit [Ping timeout: 264 seconds]
alienpirate5 has quit [Ping timeout: 250 seconds]
<NickHu> ekleog: Any idea how to get into a shell with arm gcc6 (preferably wtihout having to compile gcc myself)?
<puffnfresh> zimbatm: oh yeah access to the repo would be good
<NickHu> And when I used gcc-arm-embedded it gave me the same error anyway, with 6 instead of 7
<puffnfresh> thanks for setting up Hydra
<NickHu> Since then I did a nix-channel --update and it looks like gcc-arm-embedded is gone now...
<ekleog> that's definitely not normal
spluko has joined #nixos
jperras has joined #nixos
<symphorien> NickHu: to change the compiler you needto use overrideCC stdenv gcc6 instead of stdenv iirc
<zimbatm> puffnfresh: invite sent!
<symphorien> but with linux it is complicated because linuxPackages is a scope
<Taneb> Why might my hydra server not be running builds even though the queue is not empty?
Mateon3 has joined #nixos
iyzsong has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
erictapen has joined #nixos
<spluko> Can anyone tell me how I get avr-gcc now? package nixos.avrgcc has gone from unstable.
jperras has quit [Ping timeout: 252 seconds]
<symphorien> spluko: the commit message suggests pkgsCross.avr.buildPackages.gcc
jperras has joined #nixos
<Taneb> hydra-queue-runner says something like "priorty of build 54986 increased; checking the queue for builds > 56382" when I bump one of the not-building builds
<NickHu> ekleog: how might I go about asking nix to build my kernel directly?
iyzsong has quit [Ping timeout: 268 seconds]
iyzsong has joined #nixos
jasongrossman has quit [Ping timeout: 244 seconds]
jperras has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.3.0.15 -> 3.3.0.16 »: https://git.io/fpOpG
<spluko> symphorien: wow, that is a long name, but it seems to work, thanks
<flokli> hmm… writeTextDir "foo/bar" "baz" complains about invalid character '/' in name 'foo/bar', I guess that shouldn't be, especially given the examples list explicitly list slashes in the filename: https://github.com/NixOS/nixpkgs/commit/024eb9a5a52d9b7876c352ca2471f1829ec12777#diff-01dd94f2fedecb513404b17bb097fd34R97
<ekleog> NickHu: something like (untested) `nix-build '<nixpkgs>' --arg crossSystem ...arm -A linuxPackages.whatever`
<ekleog> and then if it works you can try replacing nix-build with nix-shell and hope for it to give you a proper build toolchain :)
<infinisil> flokli: oh yeah the docs are wrong there
<spluko> How do I find such package names generally? I use https://nixos.org/nixos/packages.html, but it does not match unstable
<flokli> infinisil: is that nix further down the chain trying to add it to a path?
<flokli> can we get it to work somehow? I don't see any usages of writeTextDir with slashes in nixpkgs, but can imagine some usecases for it
<NickHu> ekleog: I tried nix-shell '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A linuxPackages.kernel but it still gives the gcc7 error
<NickHu> fails to find #include gcc_header(__GNUC__)
<ekleog> NickHu: did you try with nix-build? that'd help knowing whether the problem is with your sources or the crossSystem
<arianvp> morning
jperras has joined #nixos
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50006 → rust: 1.30.0 -> 1.30.1 → https://git.io/fpIWt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fpOhk
<arianvp> oh man, docbook
<arianvp> :/
<arianvp> do I dispise you
<NickHu> ekleog: It starts compiling the kernel, so presumably it doesn't hit that error
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49821 → Docs: Add chapter on Profiles → https://git.io/fpv9j
<{^_^}> [nixpkgs] @Mic92 pushed 18 commits to master: https://git.io/fpOhW
asymmetric has joined #nixos
iyzsong-x has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #49736 → glusterfs service: Switch to simple unit instead of forking → https://git.io/fxhy8
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fpOhV
<ekleog> NickHu: so it's now time to read the source of the derivation for `linuxPackages.kernel` and figure out what changes from your own build :D now, the alternative if you just want to build a patched kernel once (and don't need incremental rebuilds) is to just add a linux kernel patch to linuxPackages.kernel and use nix-build only
__monty__ has quit [Read error: Connection reset by peer]
__monty__ has joined #nixos
<NickHu> ekleog: It's some out of tree custom kernel because the board isn't well supported... I guess I'll just start up a ubuntu vm and compile it or something, should only need to do it once
jperras has quit [Ping timeout: 268 seconds]
<NickHu> I'm fairly sure this used to work with no problem on nixos when I tried to use the codesourcery toolchain
<NickHu> (Which seems to have disappeared)
alienpirate5 has joined #nixos
<ekleog> NickHu: you can `diff` between the out-of-tree kernel and the linux sources by your linuxPackages
<ekleog> and use the diff as a patch
<ekleog> and yeah, cross- is in a big refactor since last year or so, so things are stabilizing currently
nuncanada has joined #nixos
<ekleog> though your issue appears not really cross-related, tbh
johanot has joined #nixos
vmandela has quit [Quit: Leaving]
jperras has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #50101 → gmsh: 4.0.2 -> 4.0.4 → https://git.io/fpLHD
<{^_^}> [nixpkgs] @markuskowa pushed 4 commits to master: https://git.io/fpOjI
hedning has joined #nixos
mayhewluke has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
mayhewluke has joined #nixos
spluko has left #nixos [#nixos]
Chiliparrot has joined #nixos
erictapen has quit [Ping timeout: 268 seconds]
jperras has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
jasongrossman has joined #nixos
vk3wtf has quit [Ping timeout: 264 seconds]
__monty__ has quit [Remote host closed the connection]
__monty__ has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
zolk3ri has quit [Quit: Lost terminal]
jperras has joined #nixos
jperras has quit [Ping timeout: 272 seconds]
vk3wtf has joined #nixos
jperras has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has quit [Ping timeout: 252 seconds]
smolboye has quit [Ping timeout: 252 seconds]
smolboye has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
steshaw has quit [Quit: Connection closed for inactivity]
iyzsong has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #49762 → nixos/fontconfig/make-fonts-cache: don't fail to clean the cache → https://git.io/fxjqY
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fp3T7
iyzsong has joined #nixos
jperras has joined #nixos
Theuni2 has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
primeos has quit [Quit: WeeChat 2.1]
primeos has joined #nixos
iyzsong has joined #nixos
orivej has joined #nixos
<MasseR> I know how to override haskell packages, but if I wanted to override the compiler (ghcjs from a different commit hash), how would I go about that?
<MasseR> I would prefer staying in a self contained nix file (so no ~/.config/nixpkgs/config.nix)
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @DzmitrySudnik opened pull request #50348 → exhibitor: fix paths for zookeeper shell scripts → https://git.io/fp3ID
Lisanna has quit [Quit: Lisanna]
crmlt has joined #nixos
vidbina_ has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #50349 → rust-cbindgen: 0.6.3 -> 0.6.7 → https://git.io/fp3t3
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jD91mZM2 has quit [Ping timeout: 260 seconds]
jD91mZM2 has joined #nixos
<symphorien> you can eschew using ~/.config/nixpkgs/config.nix by using import <nixpkgs> { config = content of config.nix; } instead of import <nixpkgs> {}
<{^_^}> [nixpkgs] @hedning pushed 4 commits to gnome-3.30: https://git.io/fp3ti
jD91mZM2 has quit [Client Quit]
Rusty1 has joined #nixos
hedning has quit [Quit: hedning]
Itkovian has joined #nixos
cfricke has joined #nixos
juliendehos has joined #nixos
Itkovian has quit [Read error: Connection reset by peer]
hedning has joined #nixos
<ottidmes> symphorien: I do it the other way around, I set a different nixpkgs/config.nix location via NIXPKGS_CONFIG that points to a .nix file in my nixos config directory, and then in my nixos config I do: nixpkgs.config = import /my/nixpkgs/config.nix;
maximiliantagher has joined #nixos
juliendehos has quit [Quit: Leaving]
__Sander__ has joined #nixos
dbmikus_ has joined #nixos
maximiliantagher has quit [Ping timeout: 264 seconds]
periklis has quit [Ping timeout: 244 seconds]
klntsky has joined #nixos
nschoe has joined #nixos
locallycompact has joined #nixos
<locallycompact> ls
<locallycompact> if I just have a loose stack script I'm running as an executable how do I avoid this error error: attribute 'ghc862' missing, at (string):1:43
maximiliantagher has joined #nixos
<ottidmes> locallycompact: thats not enough context, but my guess would be that ghc862 is defined only in a nixpkgs channel/checkout thats not your default, so you probably have to make explicit to use a particular channel/checkout where it is defined
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50104 → hiawatha: 10.8.1 -> 10.8.3 → https://git.io/fpLQh
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp3YQ
maximiliantagher has quit [Ping timeout: 272 seconds]
<infinisil> locallycompact: updating nixpkgs should do it
dhess has quit [Quit: ZNC - https://znc.in]
<infinisil> Stack uses NIX_PATH, and uses the ghc version it gets from the resolver to determine the nix ghc to use
iyzsong has quit [Ping timeout: 250 seconds]
swflint has quit [Ping timeout: 252 seconds]
swflint has joined #nixos
<locallycompact> Why does stack care what host I'm on
<locallycompact> it doesn't use host ghc on other systems
<locallycompact> I thought the whole point of stack was to sandbox ghc
<locallycompact> and libraries
<locallycompact> when I pull a resolver on ubuntu/arch it just downloads whatever ghc I need
<cocreature> locallycompact: stack has nix integration that is enabled by default on nixos and that tries to get GHC via nix (since the regular bindists don’t work on nixos)
<locallycompact> oh
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #50350 → houdini: 16.5.439 -> 17.0.352 → https://git.io/fp33G
vmandela has joined #nixos
<{^_^}> [nixpkgs] @copumpkin merged pull request #50348 → exhibitor: fix paths for zookeeper shell scripts → https://git.io/fp3ID
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to master: https://git.io/fp338
<{^_^}> [nixpkgs] @dtzWill opened pull request #50351 → mtools: 4.0.19 -> 4.0.20 → https://git.io/fp33r
asymmetric_ has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #50350 → houdini: 16.5.439 -> 17.0.352 → https://git.io/fp33G
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fp3sT
dramforever has joined #nixos
<azazel> what's the simplest way to fold a list of sets to one set, ignoring possible key collisions?
asymmetric has quit [Ping timeout: 276 seconds]
maximiliantagher has joined #nixos
<infinisil> > lib.foldl (a: e: a // e) {} [ { foo = 1; } { bar = 2; } { foo = 2; } ]
<{^_^}> { bar = 2; foo = 2; }
<infinisil> azazel: ^^
<azazel> infinisil: thanks!
<azazel> infinisil++
<{^_^}> infinisil's karma got increased to 35
<dramforever> I have a script on this non-NixOS box in /usr/lib/systemd/system-sleep that reloads my ethernet drivers on resume. What's the equivalent on NixOS?
<azazel> dramforever: systemd.services.system-sleep = ....
maximiliantagher has quit [Ping timeout: 260 seconds]
<azazel> dramforever: see https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
<dramforever> Oh okay, checking that out
mkoenig has joined #nixos
jabranham has joined #nixos
<dramforever> I'm not 100% sure, but I think I found powerManagement.resumeCommands
<dramforever> That sounds like it
<dramforever> azazel: Thanks anyway :) I think I'll check when I do make the switch to NixOS
<azazel> dramforever: of course NixOS may have specific coverage ;-)
<dramforever> I don't think I have system-sleep.service (or systemd-sleep.service) on this box
<divansantana> cool beans. Got qutebrowser to run on guixsd. Needed this https://github.com/guibou/nixGL
<dramforever> From the source I think the option I mentioned just creates a new service and orders it to run on resume
<azazel> dramforever: also it may be worthwhile to check the nixos-hardware repo for a configuration that supports your specific hardware
<dramforever> Wow
<dramforever> No, nothing for me
<divansantana> Next, how to get google chromes fonts to not look crazy. Any clues? :)
camsbury has quit [Quit: Leaving...]
o1lo01ol1o has joined #nixos
maximiliantagher has joined #nixos
<dramforever> I have no idea. This box is currently running Arch, and it didn't need that reload driver thing last week
<dramforever> So maybe the specific set of software in NixOS also works just fine
<dramforever> In any case, it's nice to know that if nixos options doesn't cover my needs, someone here will
<dramforever> :)
endformationage has joined #nixos
vmandela has quit [Quit: Leaving]
maximiliantagher has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @DzmitrySudnik opened pull request #50352 → exhibitor: fix paths for zookeeper shell scripts to point to local fo… → https://git.io/fp3Zc
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50102 → gp2c: 0.0.11 -> 0.0.11pl1 → https://git.io/fpLQ0
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp3ZC
<divansantana> These are the errors I get with google-chrome. https://paste.debian.net/1051703/ Not sure if it's related to the weird looking fonts.
reinhardt has quit [Quit: Leaving]
<{^_^}> [cabal2nix] @peti pushed to master « fix typo »: https://git.io/fp3nT
asymmetric_ has quit [Ping timeout: 252 seconds]
hedning has quit [Quit: hedning]
erasmas has joined #nixos
<__monty__> divansantana: Can you use any nix expression on guixsd, so nixpkgs for example?
crmlt has quit [Remote host closed the connection]
<dramforever> Are .drv files compatible between Guix and Nix?
<dramforever> Feels like it could be
mayhewluke has quit [Ping timeout: 246 seconds]
<civodul> dramforever: mostly, but there are different built-in derivation builders, for instance
<dramforever> That of course
mayhewluke has joined #nixos
<dramforever> And /gnu/store means you would need to re-compile everything
__red__ has quit [Quit: leaving]
<simpson> Slightly sad it's not /gnu/linux/store
<simpson> Indeed, given GCC's design, why not /gnu/linux/amd64/store
sigmundv has quit [Ping timeout: 252 seconds]
<dramforever> I want to think that they bootstrapped Guix by doing s|/nix/store|/gnu/store| on various Nix files
<dramforever> Keeping the length identical meant that binaries would more likely work fine
<dramforever> But I didn't even try to find evidence to back me
v0|d has quit [Remote host closed the connection]
<civodul> dramforever: the switch to /gnu/store came after Guix was bootstrapped
<civodul> in the very early days, Guix would call out to Nix to get derivations for core packages
<civodul> the good'ol days ;-)
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49549 → [18.09] openjpeg: adding patch for CVE-2018-7648 → https://git.io/fxb5U
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging-18.09: https://git.io/fp3C0
v0|d has joined #nixos
hedning has joined #nixos
dramforever has quit [Ping timeout: 256 seconds]
<yurb> Is there a nix package for Emacs nix-mode?
Chiliparrot has joined #nixos
<manveru> zimbatm: can i get permissions for builtwithnix repo?
<{^_^}> [nixpkgs] @vbgl opened pull request #50353 → ocamlPackages.menhir: 20181026 -> 20181113 → https://git.io/fp3l0
<manveru> zimbatm: anyway, i made the new design as far as i could without the psd... lemme know when you finally get it :)
drakonis has quit [Quit: WeeChat 2.3]
<manveru> zimbatm: and while it's not a 1:1 copy (i suck at that apparently), it's at least responsive and pretty minimal in dependencies
hyper_ch2 has quit [Quit: Page closed]
Ariakenom has quit [Ping timeout: 264 seconds]
cfricke has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @copumpkin merged pull request #50352 → exhibitor: fix paths for zookeeper shell scripts to point to local fo… → https://git.io/fp3Zc
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to release-18.09: https://git.io/fp38o
<mog> im not sure what i did or what changed but a lot of things that use dbus seemed to stop working on my nixos box
<mog> so i cant open blueman-manger, or issue a reboot, suspend etc. both reboot and suspend work via sudo though
<WilliamHamilton[> does the package alsaLib expose or use the package portmidi?
<WilliamHamilton[> I'm not sure which attribute of alsaLib I should look in `nix repl` to answer this question
<jabranham> yurb: yes, all emacs packages on MELPA are available through nix
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @pbogdan opened pull request #50354 → miro: remove → https://git.io/fp34g
codygman has joined #nixos
<yurb> jabranham: sorry for a noob question, but how do I install it? nix-env -i ...?
<codygman> How can I boot to /bin/sh in nixos? I tried just changing the init to `init=/bin/sh` but it booted normally into my "fsck needs to be run manually error". I need to boot into a shell and run fsck.
<yurb> jabranham: thanks.
<NickHu> So today I was trying to install nix on a fedora machine on which I don't have root access
<NickHu> I learned about nix v2 which supports arbitrary store paths by user namespaces
<NickHu> But unfortunately there's no nix binaries for fedora anymore
maximiliantagher has joined #nixos
<NickHu> Is there any way to get a nix v2+ binary without much hassle?
shabius has joined #nixos
<qyliss^work> NickHu: doesn't the install script do that?
shabius has quit [Max SendQ exceeded]
maximiliantagher has quit [Ping timeout: 272 seconds]
shabius has joined #nixos
<qyliss^work> (Checksum available in https://nixos.org/nix/install)
shabius has quit [Client Quit]
shabius has joined #nixos
Ariakenom has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<ottidmes> codygman: you mean like this: https://nixos.org/nixos/manual/#sec-boot-problems
Itkovian has joined #nixos
smolboye has quit [Ping timeout: 246 seconds]
smolboye has joined #nixos
freeman42x]NixOS has joined #nixos
<codygman> ottidmes: I can't access the filesystem or boot. It looks like those things require being in the OS.
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> codygman: if you use grub, you can add them on the fly by going into the edit menu
<copumpkin> I'm stumped at nix-store -r not substituting a path from a private S3 cache of mine
<copumpkin> if I run with -vvvvv I see it say "checking substituter" and not say that it failed, but then it tries to build the deirvation
<copumpkin> if I check the s3 bucket myself, the narinfo and nar is there
<aminechikhaoui> copumpkin some local disk cache maybe ?
<copumpkin> niksnut: is there some secret "nix debug-cache" command to make it tell me more? :P
<copumpkin> it's just the system's configured binary cache
<copumpkin> I'm guessing it doesn't like something about the nar or narinfo
<copumpkin> but doesn't seem to say anything, just doesn't substitute
<aminechikhaoui> yeah but if for some reason it returned a negative lookup for it previously it will be cache in .cache/nix/binary-cache-v5.sqlite
<aminechikhaoui> you can probably check that sqlite db if it has a cached result for that hash
<copumpkin> ooh
<copumpkin> good idea
<aminechikhaoui> both for root and your user ;)
<copumpkin> argh
<copumpkin> you were right :)
<copumpkin> sigh
<clever> copumpkin: have you checked the .narinfo url?
<copumpkin> would be nice if it printed a message about the cached negative lookup
<clever> ah, nvm, negative cache stored
<copumpkin> like "I'm not going to bother looking because my local db says it's not there"
<clever> yeah, -vvvvv should mention that
codygman has quit [Ping timeout: 256 seconds]
<aminechikhaoui> btw I once added some options to set the ttl
<aminechikhaoui> I think it should be available in the current release
<clever> ive seen ttl ooptions for both postive and negative ttl
<copumpkin> thanks!
<clever> ive also had trouble with the positive ttl before, due to hydra GC
<aminechikhaoui> yeah there it is:
<aminechikhaoui> [amine@nixos:~]$ nix show-config | grep ttl
<aminechikhaoui> narinfo-cache-negative-ttl = 3600
<aminechikhaoui> narinfo-cache-positive-ttl = 2592000
<aminechikhaoui> tarball-ttl = 3600
<clever> if the cache claims a given file exists, nix will hard fail when you GC that file from the cache
<clever> and you must wipe the local cache
<aminechikhaoui> so you can disable that by setting it to 0
<aminechikhaoui> just for one command for example
Ariakenom has quit [Ping timeout: 246 seconds]
<ottidmes> clever: lame as it is, the only thing that ended up working for me is to just have a global mount --bind for /dev/log to a socket that filters out all lines of that spamming program
<coconnor> morning all!
<ottidmes> coconnor: good evening! :P
johanot has quit [Quit: WeeChat 2.2]
<clever> ottidmes: you could probably also just overwrite the /dev/log symlink
<coconnor> hehe I wonder what portion of NixOS is US vs EU? Seems EU is good 3/4
rihardsk has joined #nixos
<Taneb> coconnor: I guess there's a reason NixCon has been in Germany twice and the UK once ;)
<coconnor> haha aye
<ottidmes> clever: I prefer the bound, less mutable, that way if I disable the program in NixOS, /dev/log remains functional
locallycompact has quit [Remote host closed the connection]
asymmetric has joined #nixos
<clever> ottidmes: yeah, you would have to undo the symlink when turning the filter program off
<asymmetric> is there any eta for when the staging branch will be merged into master?
<clever> ottidmes: also of note, unix sockets allow you to query the PID of the remote process
<clever> ottidmes: that both helps (you can verify the binary of a msg when filtering), and harms (journald now thinks your filter prog is the only thing logging)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ottidmes> clever: Hmm, that is better than my regex approach right now, I will look into it, thanks :)
<ottidmes> clever: the only other program so far writing to /dev/log is sudo, had not expected that
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
<Mic92> 3000 stars on github!
<Mic92> mhm. but it seems we have some fake-stars looking at some stargazers: https://github.com/NixOS/nixpkgs/stargazers
aleph- has joined #nixos
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50354 → miro: remove → https://git.io/fp34g
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp3uD
<{^_^}> [nixpkgs] @Mic92 merged pull request #50232 → qgroundcontrol: fixes #49870 → https://git.io/fpt7Y
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp3ud
Baughn has joined #nixos
<{^_^}> [nixpkgs] @cillianderoiste merged pull request #47596 → TBS: fix modules → https://git.io/fxJdK
<{^_^}> [nixpkgs] @cillianderoiste pushed 2 commits to master: https://git.io/fp3zV
<NickHu> qyliss^work: no, it tries to install nix by making /nix and asking for sudo permissions etc
<NickHu> maybe I was supposed to give it some flag
<clever> NickHu: but if you manually create a /nix and chown it to the right user, it wont ask for sudo
<NickHu> clever: I'm not able to create /nix because I don't have root access on this machine
<clever> NickHu: ah, then you mayb want a user namespace, look into nix-user-chroot
<NickHu> clever: Yeah, I got that working fine - I wanted to try to use the --store flag in the shiny nix v2
<clever> ah
<{^_^}> [nixpkgs] @matthewbauer merged pull request #47684 → Add pkgs.nixosTest → https://git.io/fxkhl
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to master: https://git.io/fp3zH
<clever> --store works for downloading and i think building, but running itself will try to read /nix/store based paths
<NickHu> And in principle it would be fine except I have to manually compile nix myself
fpob has quit [Ping timeout: 252 seconds]
<clever> you can build a nix with nix, that has different paths
<NickHu> clever: It ought to be fine if I can compile nix and link it to the libraries already on the system, no?
hoek has joined #nixos
<clever> one sec
<NickHu> clever: I tried to do something like that but I didn't get it working properly
<qyliss^work> NickHu: can't you just grab the binary the install script downloads? Or do you need a custom build?
<clever> ive written the nix expressions already
fpob has joined #nixos
<NickHu> qyliss^work: Nope, because the interpreter of the binary the script downloads is /nix/store/...
<NickHu> So when you try to run it it says "no such file or directory"
<qyliss^work> The interpreter of the binary?
<qyliss^work> Binaries aren't interpreted
<clever> qyliss^work: elf files still have a interpreter
<NickHu> qyliss^work: of the nix binary
<qyliss^work> oh, TIL
<clever> qyliss^work: its set to the path of ld.so
<asymmetric> any idea why the hardware.pulseaudio module doesn't install pavucontrol?
<qyliss^work> my mistake
<qyliss^work> In that case, you'll have to build it yourself, and it should be fine.
<clever> qyliss^work: ld.so is responsible for "interpreting" the elf, and performing dynamic linking
<clever> NickHu: found it
<NickHu> qyliss^work: Yeah, it's a little bit painful because I'd have to build all the dependencies manually too
<clever> NickHu: the NIX_REMOTE will tell the local nix, to chroot into /home/clever/rootfs
<clever> NickHu: NIX_CONF_DIR, NIX_LOG_DIR, NIX_STORE, NIX_STATE_DIR, all mutate where the local nix thinks things are, for its next build
<clever> so a standard nix build, can act on /home/clever/nix/store
<clever> and due to the chroot, its actually /home/clever/rootfs/home/clever/nix/store/
<clever> then i use that standard nix build, to build nix, with a .override, to bake those changes into the resulting binary
<NickHu> wow
<clever> so now you copy /home/clever/rootfs/home/clever/nix to /home/clever/nix on a remote machine
<clever> and it will just work
<clever> put the same override into your local config.nix, to ensure nix doesnt un-patch itself, and install anything else you want
<clever> Unode: cc ^^^
<clever> NickHu: oh, some of those clever's should be example's
<clever> it expects the username to be clever on the build system, and example on the target
<clever> and its a var (line 3) so it can target another user easily
<NickHu> Ok, so I can build this on my existing nixos system and then transfer it over
Tucky has quit [Quit: WeeChat 2.2]
<clever> exactly
<NickHu> are the parameters for stateDir and confDir relatively standard?
<NickHu> I don't know how it interacts with the --store flag of nix
<clever> i believe they are all standard
<NickHu> Ok, great, I'll try it out, thanks!
<NickHu> While you're here, do you happen to know anything about the current state of the arm cross compile toolchain?
<NickHu> I'm trying to compile the linux kernel for a raspberry pi-like device and can't seem to get a working toolchain
<NickHu> The closest I got was with nix-shell '<nixpkgs>' --arg targetPlatform '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A linux.dev, which seemed to give me the arm gcc compiler but then it couldn't find some gcc headers
<NickHu> erm, that should be nix-shell '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.armv7l-hf-multiplatform' -A linux.dev
<Mic92> asymmetric: pavucontrol is not strictly required some users may use the plasma widget or pavucontrol-qt.
<NickHu> And it gives include/linux/compiler-gcc.h:106:1: fatal error: linux/compiler-gcc7.h: No such file or directory
<clever> NickHu: not sure on that
<asymmetric> Mic92: makes sense. but would make for a good option, don't you think?
<NickHu> clever: Thanks anyway, maybe I'll file an issue for help
c0bw3b_ has joined #nixos
hyperfekt has joined #nixos
johnw_ has joined #nixos
johnw has quit [Ping timeout: 252 seconds]
nschoe has quit [Ping timeout: 244 seconds]
<asymmetric> hey, i'm trying to write a default.nix where i override a dependency that is too old in nixpkgs, can anyone help me figure out why it doesn't build?
<asymmetric> not sure if it should be prettytable = import fetchPypi, or just prettytbale = fetchPyi
<{^_^}> [nixpkgs] @Infinisil merged pull request #50182 → nixpkgs idris docs: Update and improve → https://git.io/fpttx
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fp3af
<Mic92> asymmetric: I don't think this should be the reponsibility of hardware.pulseaudio, but rather set by a high-level desktop profile as described here: https://discourse.nixos.org/t/user-friendly-nixos-distro/1348
pie_ has joined #nixos
<{^_^}> [nixpkgs] @globin opened pull request #50356 → gitlab: fix stmp setting → https://git.io/fp3ak
asymmetric_ has joined #nixos
<pie_> is nixos bad on uefi systems?
<pie_> i got a dell xps 15 at work and im running into all kinds of issues
<pie_> not really sure what to attribute them to
<{^_^}> [nixpkgs] @Mic92 merged pull request #49794 → openarena: fix loading libGL.so with libglvnd → https://git.io/fpeaM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp3as
<pie_> reboots seem to hang at some point in shutdown
<pie_> i just tried to switch users in kde and that seems stuck
<{^_^}> [nixpkgs] @Mic92 pushed commit from @avnik to release-18.09 « openarena: fix loading libGL.so with libglvnd »: https://git.io/fp3a8
<ottidmes> pie_: doubt it, I am using NixOS on an UEFI system without any problems
<fresheyeball> \leave
<samueldr> pie_: I only have used nixos on uefi systems and... there shouldn't be anything specific to UEFI in nixos :/
fresheyeball has left #nixos ["WeeChat 2.2"]
<qyliss> NixOS works fine on the several UEFI systems I’ve used
<pie_> ottidmes, ok thanks. ugh. idk why im running into so many issues
<samueldr> at least, nothing not present in other distros, except the bootloady parts, but by the time the kernel is started, it should be the same
<ottidmes> pie_: did you try the latest kernel
<pie_> ottidmes, idk? im on 18.09
FRidh has quit [Quit: Konversation terminated!]
asymmetric has quit [Ping timeout: 264 seconds]
<samueldr> defaults are always "current LTS at release", which was 4.14
<ottidmes> pie_: some modern hardware need things that are put in after 4.14 (default of 18.09, the LTS version)
<samueldr> you can try 4.18 (and keep being updated to the latest) using `boot.kernelPackages = pkgs.linuxPackages_latest;`
sanscoeur has joined #nixos
<pie_> also i tried to install virtualbox with oracle extensions and somehow it keeps mismatching the kernel version and the userspace version so its not working for me
<pie_> samueldr, ok ill try that
<samueldr> (though there's no guarantees it'll fix anything in your case :/)
<pie_> samueldr, any reason thats not the default?
<samueldr> LTS releases are updated for longer and "stabler"
<samueldr> as such, 4.18 will stop being updated during the lifetime of 18.09, keeping a stable kernel version is probably better
<samueldr> (as a default)
<{^_^}> [nixpkgs] @Mic92 merged pull request #50339 → motion: 4.1.1 -> 4.2 → https://git.io/fpOwg
<samueldr> 4.19 is the next LTS, so for 19.03 the default will be a more recent kernel
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp3aK
<ottidmes> latest tends to be most stable on recent hardware, LTS is better on older hardware (in my experience)
<dtz> I don't rem the details but FWIW I use nixos w/uefi on an xps 15 and works great :). So, have hope! I think info such as this[1] contains everything I encountered and more: [1] https://github.com/NixOS/nixos-hardware/issues/24
<{^_^}> nixos-hardware#24 (by domenkozar, 1 year ago, open): dell/xps/15-9560: add
<dtz> big show-stopper was needing to set kernel params, forget if that's still needed w/latest kernel or not :3 sorry
<samueldr> don't know about "LTS better on older hardware", but definitely sure it's better not to change major versions in stable updates :)
<pie_> dtz, thanks
<pie_> dtz, time to test the reporducibility of nixos ;P
<pie_> otoh idk about my bios settings, etf
<pie_> *etc
orivej has quit [Ping timeout: 244 seconds]
<pie_> well, technically uefi settings right?
<pie_> what would i lose by going back to bios?
<samueldr> not sure, but it may not be possible if it's recent enough
<samueldr> (and I wouldn't bet on it fixing anything)
<pie_> meh :P
<{^_^}> [nixpkgs] @globin closed pull request #46571 → prometheus-alertmanager module: implement meshing → https://git.io/fAobS
<{^_^}> [nixpkgs] @Mic92 closed pull request #25770 → nodePackages.lumo-cljs: init at 1.5.0 → https://git.io/v97LL
maximiliantagher has joined #nixos
sirkha has quit [Remote host closed the connection]
jperras has quit [Quit: WeeChat 2.2]
<ottidmes> samueldr: I have had to downgrade back to a LTS version multiple times on my 9 year old hardware, it was not that it broke completely, but things like suspend/hibernate did break a few times I tried, but that kind of breakage is often fixed quickly enough. Just recently it caused a less stable ethernet connection
<samueldr> ottidmes: yeah, breakage can happen :) mostly the wholesale "better on older hardware" isn't necessarily right, though it's a good thing LTS releases happen for those cases; it hopefully can be relied on in those situations
polman has joined #nixos
<ottidmes> samueldr: hence the disclaimer "in my experience" ;) but indeed, good thing they exist, I had to use 4.4 for quite some time due to a GPU driver that only worked max that version of Linux
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fp3wN
<{^_^}> [nixpkgs] @Infinisil merged pull request #50183 → .github/CODEOWNERS: Add infinisil to idris-modules → https://git.io/fptqQ
maximiliantagher has quit [Remote host closed the connection]
nuncanada has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
zolk3ri has joined #nixos
nuncanada has joined #nixos
hlolli has joined #nixos
maximiliantagher has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
hyperfekt has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #50357 → elfinfo: init at 0.7.4 → https://git.io/fp3oJ
<{^_^}> [nixpkgs] @dtzWill opened pull request #50358 → termite: 13 -> 14 → https://git.io/fp3oR
<cocreature> has anyone managed to launch a digitalocean droplet with nixos using custom images? I tried to create an image using the nova infrastructure in nixpkgs but my droplet seems to be stuck at "Booting the kernel"
<tilpner> cocreature - Yes, stand by while I find it
<bpye> I imagine it should be possible to have an image that lets you specify your configuration.nix as the cloud-data
<{^_^}> [nixpkgs] @jfrankenau opened pull request #50359 → gurobi: install Java library files → https://git.io/fp3o5
<tilpner> cocreature - I built an image from https://tx0.co/2t (you'll have to fix the imports) by accessing config.system.build.diskImage
<tilpner> cocreature - I then uploaded it to a DO space, because the file upload wouldn't work
<tilpner> ssh.nix enabled opensshd and configures root login
<cocreature> tilpner: thanks!
<{^_^}> [nixpkgs] @smaret opened pull request #50360 → astroquery: init at 0.3.8 → https://git.io/fp3Kv
<v0|d> got pi3B, where to start? :)
<v0|d> nice, thnx.
pie_ has quit [Ping timeout: 244 seconds]
leotaku has joined #nixos
hedning has quit [Quit: hedning]
<leotaku> are the modules imported using "imports = []" in configuration.nix called with the "<nixpkgs>" environment variable?
drakonis has joined #nixos
hedning has joined #nixos
<tilpner> Not explicitly, but they do have access to <path-elements>
<clever> leotaku: nope, they get the pkgs from config.nixpkgs.pkgs, which itself comes from the nixpkgs that nixos itself is in
<clever> leotaku: and nixos-rebuild will use <nixos> in $NIX_PATH by default
<clever> (which may be <nixpkgs>)
freeman42x]NixOS has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<leotaku> clever: That makes sense, thank you!
<hlolli> infinsil: r u here? This merge came trough, was bit confused, it means that `{ pkgs ? import <nixpkgs> {} }:` would not be allowed in nixpks according to https://github.com/NixOS/nixpkgs/commit/ccb2dead1bceed4cef4bfef739b33ab2748e4f64#diff-6e4d5e8162f31db43c2f3f9df8b06fd7 ?
<{^_^}> [nixpkgs] @Mic92 opened pull request #50361 → Node packages springclean → https://git.io/fp36l
dbmikus_ has quit [Read error: Connection reset by peer]
<Mic92> ekleog: lol, nix-review now also builds tests.nixos-functions.nixos-test tests.nixos-functions.nixosTest-test
dbmikus_ has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @wucke13 to release-18.09 « qgroundcontrol: fixes #49870 »: https://git.io/fp3Pe
elgoosy has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #50362 → x265: 2.7 -> 2.9 → https://git.io/fp3PY
<{^_^}> [nixpkgs] @c0bw3b closed pull request #49540 → x265: 2.7 -> 2.9 → https://git.io/fxb1s
jperras has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fp3X7
orivej has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #50280 → xorg: init xf86-video-vboxvideo at 1.0.0 → https://git.io/fpmBN
<azazel> is there a way to pass additional arguments to a configuration module other than using lib/eval-config.nix and its extraArgs parameter?
<infinisil> azazel: The `_module.args` option
<azazel> infinisil: I saw traces of it in lib/modules.nix, but it's not clear how it should be used, maibe I'm missing the docs somewhere?
<azazel> s/maibe/maybe
<infinisil> azazel: Just set the option, e.g. `_module.args.foo = "foo"`
<infinisil> Which will pass foo as an argument to every module
<azazel> infinisil: it is to be used in a call to eval-config too?
<infinisil> No, it's a normal option
<infinisil> can be set in any module
<azazel> like if I set it in a module, all the modules required by it will receive such argument?
<infinisil> No, allll modules
zolk3ri has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
zolk3ri has joined #nixos
asymmetric_ has quit [Ping timeout: 245 seconds]
<azazel> infinisil: oh... not so useful then, I have this container's configuration that I split up in "container-types" and this indirection is managed my a specific enum option in a config set. Now, for ease of developing this container types I would prefer be able to manage it like a group of modules which all receive specific /per type/ additinal parameters and so I tried to use eval-config, but it seem to have some weird interaction with
<azazel> nixops and/or the container management which both in turn use eval-config...
<infinisil> Use submodules then
<neonfuz> Hello
<infinisil> azazel: Won't be able to set nixos options directly with submodules, will need an additional layer for that, but they seem like the thing you want
<neonfuz> I want to do some web development that is gonna have chinese content, and I want to make sure I have the fonts I would otherwise have on a windows or mac machine
<neonfuz> do you guys know if there are any font packages that might include OS default chinese fonts from windows or mac?
<azazel> infinisil: i get " The option `containers.<name>.extraArgs' defined in `/home/azazel....nix' does not exist" even when I commented every instance of extraArgs in the code
<neonfuz> is there a like "msfonts" package?
<neonfuz> I looked in pkgs/data/fonts, I didn't see anything but I might have missed it
<infinisil> azazel: I can't help very much on such error if I don't see the code
<azazel> infinisil: of course, of course... maybe you saw it already ;-) thanks anyway
<azazel> infinisil: you mean using some kind of "polymorphic" submodules? (Sorry for the OO idiom :-D)
<infinisil> Hmm
<symphorien> neonfuz: corefonts
<neonfuz> symphorien: thanks
<{^_^}> [nixpkgs] @matthewbauer opened pull request #50363 → Fallout fixes from #50293 → https://git.io/fp3Di
<samueldr> (right now the results are woefully out of date, but yeah, that one probably still is accurate)
<symphorien> this index is soo useful
<infinisil> azazel: Okay, very simple solution: Just do your container specific files like this: `container-type: { pkgs, lib, ... }:` then import them with `imports = [ (import ./file.nix "footype") ];`
* infinisil finally understands what you want, he thinks
<neonfuz> alright that doesn't have any chinese fonts, thanks though infinisil
<neonfuz> that was what I was looking for though
<infinisil> Um
<infinisil> That wasn't me :)
hedning has quit [Quit: hedning]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #50364 → nixos-version: use version_ instead of version → https://git.io/fp3ye
<{^_^}> [nixpkgs] @Infinisil merged pull request #49947 → far2l: fix Darwin bug → https://git.io/fpkwK
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fp3yr
<leotaku> I would like to deploy a nixops machine using a specific nixpkgs rev (different from the systems nixpkgs). How can I best achive that without having to redefine "$NIX_PATH"?
<{^_^}> [nixpkgs] @Infinisil opened pull request #50365 → xpra: Mark as broken → https://git.io/fp3yd
<infinisil> leotaku: You can just set NIX_PATH for the nixops command
<infinisil> Even an alias `alias nixops="NIX_PATH=... nixops"` should work
<leotaku> infinisil: Well, the problem is that I would like to deploy my home network, which contains a raspberry pi as well as an x64 server. I need to use different nixpkgs checkouts, because only "unstable-aarch64" has the aarch64 binary cache.
<infinisil> Nixops unfortunately doesn't support different nixpkgs for different machines in the same deployment
acarrico has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #49816 → plymouth: 0.9.3 -> 0.9.4 → https://git.io/fpvBy
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fp3SW
<leotaku> well that's a bummer... But should I not be able to just call the "system-function" with an imported secondary nixpkgs?
JonReed has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
JonReed has quit [Client Quit]
<infinisil> leotaku: nixops#649
<{^_^}> https://github.com/NixOS/nixops/issues/649 (by grahamc, 1 year ago, open): Support multiple versions of nixpkgs in one network
<leotaku> infinisil: Thanks, that looks very helpful.
<cocreature> tilpner: got it working, thanks again!
primeos has quit [Quit: WeeChat 2.3]
<infinisil> leotaku: I actually tried to implement something once which could solve this problem, but it turned out to be rather hard and I couldn't do it
primeos has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #50365 → xpra: Mark as broken → https://git.io/fp3yd
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fp392
<sphalerite> asdad
<sphalerite> oops
maximiliantagher has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.3]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 272 seconds]
<azazel> infinisil: you mean an explicit import of each module, a by hand composition of the final by-type configuraiton?
<infinisil> Not sure what you mean by-hand, but yeah probably
<{^_^}> [nixpkgs] @dywedir merged pull request #50358 → termite: 13 -> 14 → https://git.io/fp3oR
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fp3HA
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PolarIntersect has joined #nixos
<azazel> but with that means loose al the merging capability of module definitions.. or am I missing something?
<infinisil> azazel: Nah, should all still work
Ariakenom has joined #nixos
<v0|d> so whats the main reason for not being able to cross-compile armv7 on amd64? ie do (import release.nix {}).sd-image "armv7.."
<{^_^}> [nixpkgs] @Mic92 merged pull request #50361 → nodePackages: springclean → https://git.io/fp36l
<{^_^}> [nixpkgs] @Mic92 pushed 13 commits to master: https://git.io/fp37x
<azazel> infinisil: oh, sorry, i was strangely convinced that the attr name for specifying other config modules was "requires", it sometimes happens... with nix only. I dunno whym sorry :-)
kingemp has joined #nixos
srl295 has joined #nixos
pie_ has joined #nixos
<kingemp> Hi all, I'm trying to install MKL from https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/science/math/mkl/default.nix but `nix search mkl` returns nothing. Any tips?
elgoosy has quit [Ping timeout: 245 seconds]
<clever> $ grep math/mkl ~/apps/nixpkgs -r
<clever> /home/clever/apps/nixpkgs/pkgs/top-level/all-packages.nix: mkl = callPackage ../development/libraries/science/math/mkl { };
<clever> > pkgs.mkl
<{^_^}> attribute 'mkl' missing, at (string):206:1
<clever> :S
hedning has joined #nixos
ckauhaus is now known as ckauhaus[afk]
<clever> its visible in the local nix repl
<leotaku> kingemp: It seems to be unfree, do you have nixpkgs.config.allowUnfree set to true?
<kingemp> leotaku, yes I do
<simpson> Ah, that would be why I can't see it on my local checkout. Nice find, leotaku.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49859 → ncurses: 6.1 -> 6.1-20181027 → https://git.io/fpJ0E
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fp356
<clever> kingemp: which channel are you on?
asymmetric_ has joined #nixos
hedning has quit [Client Quit]
<kingemp> clever, ah I think I'm on 18.09 and need to be on unstable? `nix-channel --add https://nixos.org/channels/nixos-unstable nixos` does the trick?
<{^_^}> [nixpkgs] @dywedir opened pull request #50370 → tiled: 1.2.0 -> 1.2.1 → https://git.io/fp359
<clever> if ran as root, that will switch the entire system to unstable
<clever> and if ran without root, it will cause confusion due to 2 channels called nixos
vk3wtf has quit [Ping timeout: 250 seconds]
<kingemp> what's best practice here--switch whole system to unstable, or should I do on a package by package basis?
<clever> kingemp: i just run unstable on all of my machines, its surprisingly stable
<kingemp> not that I know how to do the latter yet ;)
<kingemp> cool good to know!
<clever> and you can always switch back to 18.09 if you do have trouble
<v0|d> NIX_PATH=nixpkgs=./some-local-nixpkgs:$NIX_PATH nix-env -iA mkl might help.
erictapen has joined #nixos
<kingemp> thanks symphorien. I'm going to try my whole system on unstable but it's great to know that option is there
<v0|d> mkl a system package?
<v0|d> i thought this is for system packages.
<kingemp> intel math library, I will install as a system package
divansantana has quit [Ping timeout: 264 seconds]
<symphorien> ah for a library you can't install it
<kingemp> ah k
<symphorien> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<symphorien> for libraries, replace <nixpkgs> by <unstable> in the shell.nix example of https://nixos.wiki/wiki/FAQ/I_installed_a_library_but_my_compiler_is_not_finding_it._Why%3F
<symphorien> (in the article it is <nixos-unstable>, sorry)
<kingemp> thank you very helpful.
hamishmack has joined #nixos
kingemp has quit [Remote host closed the connection]
dbmikus_ has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
hedning has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
<PolarIntersect> Not asking, saying
<PolarIntersect> oops
vidbina_ has joined #nixos
<PolarIntersect> Does anyone know why grub would install fine w/ nixos-rebuild but for some reason systemd-boot doesn't ever update my bootloader?
<PolarIntersect> Can't access my machine because X keeps trhing to start and failing, but it locks the screen whenever it restarts >.<
<infinisil> PolarIntersect: Ctrl-Alt-F1 to switch to a console window
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<the-kenny> Ctrl-Alt-F1?
<the-kenny> Ah :)
hedning has quit [Ping timeout: 272 seconds]
hakujin has joined #nixos
<hakujin> bumped our pinned nixpkgs to a recent rev and now get variants of `strict.pm did not return a true value at /nix/var/nix/profiles/system/bin/switch-to-configuration line 3.`
<hakujin> `strict.pm did not return a true value at /nix/store/9g4wc31j7a2xp22xpgwr0qssfxahxdzl-builder.pl line 3.`
<hakujin> happy to open an issue; is this currently known?
<{^_^}> [nixpkgs] @andir merged pull request #50349 → rust-cbindgen: 0.6.3 -> 0.6.7 → https://git.io/fp3t3
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/fp3b4
<samueldr> PolarIntersect: are you adding `--install-bootloader` to `nixos-rebuild`, when switching bootloaders?
maximiliantagher has joined #nixos
v0|d has quit [Ping timeout: 272 seconds]
<PolarIntersect> samueldr: nope, but will try it!
<PolarIntersect> Just trying to get X to work
<PolarIntersect> --install-bootloader didn't do anything different
<PolarIntersect> Is weird, X says it can't load module "nv" even though nvidia is installed... https://gist.github.com/monokrome/f7a9601fdfe1d35c82759046e6b8925b
<PolarIntersect> I think maybe there just isn't Linux support for GTX 1070M yet?
dbmikus_ has joined #nixos
<PolarIntersect> is weird, because the `nvidia` module is loaded in `lsmod`
<infinisil> hakujin: An issue would be appreciated, haven't seen that before
<hakujin> infinisil: will do!
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<hakujin> since this is also in perl land: I'm also seeing perl throwing a warning re: locale. https://gist.github.com/hakujin/39a7fea9d33ea2720f9fd42cfe39c241
maximiliantagher has quit [Remote host closed the connection]
<samueldr> PolarIntersect: (not directly useful) `nv` is the old, like 2010 old, module
<hakujin> traced that to here: https://github.com/NixOS/nixpkgs/issues/38991
<{^_^}> #38991 (by peti, 30 weeks ago, closed): glibc 2.27 breaks locale support
maximiliantagher has joined #nixos
<hakujin> not entirly clear what the correct solution is
haitlah has joined #nixos
dbmikus__ has joined #nixos
<haitlah> Hey everyone
<haitlah> I have a quick question for you
<samueldr> PolarIntersect: how did you enable the nvidia drivers? (in case I missed a line)
<haitlah> I'm building a haskell package that depends on some other packages
<haitlah> Cabal is actually crying of conflicting packages dependencies
<haitlah> But something very strange is there, it say X requires mtl-2.2.2, Y requires mtl-2.2.2-{HASH}
<haitlah> What is generating the extra {HASH} ?
<clever> haitlah: all packages built by nix have that extra hash on the end
dbmikus_ has quit [Ping timeout: 244 seconds]
<clever> haitlah: but the boot packages (that are baked into the ghc derivation) lack that hash
<clever> the error is likely due to there being 2 mtl's (the bootpkg and the one from the haskellPackages set)
<haitlah> How can I remove the bootpkg
<haitlah> Do you mean its a package delivered witch GHC like when doing ghcWithPackages ?
<clever> haitlah: i dont think you can, its required for ghc to work
<clever> even a bare haskellPackages.ghc still has the boot packages
<haitlah> Okay
<haitlah> Any way I can make it working with both (its the same version)
vk3wtf has joined #nixos
<clever> not sure
<PolarIntersect> Yeah... is weird, because the `nvidia` module is loaded
<PolarIntersect> in lsmod
<clever> PolarIntersect: note, xorg also has its own modules, seperate from kernel modules
<PolarIntersect> yeah
<PolarIntersect> Do I need to install the xf86 video driver separately from setting `videoDrivers = [ "nvidia" ]`?
<clever> PolarIntersect: videoDrivers = [ "nvidia" ] automatically installs the correct drivers
<samueldr> pretty sure you don't, neither my conf nor the manual seem to say otherwise https://nixos.org/nixos/manual/#sec-x11-graphics-cards-nvidia
mayhewluke has quit [Ping timeout: 245 seconds]
<clever> PolarIntersect: can you pastebin the journal logs?
<PolarIntersect> Yeah, I linked above
<samueldr> though, PolarIntersect, maybe try upgrading the kernel? `boot.kernelPackages = pkgs.linuxPackages_latest;`
<PolarIntersect> This is my journal grepping for display-manager
<clever> PolarIntersect: you can also `journalctl -u display-manager`
<haitlah> clever: How should I handle this failure ?
<clever> [ 1037.927] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
<clever> PolarIntersect: is X being ran by systemd?, why does it lack permission to open some things?
<clever> [ 1037.927] (EE) Please also check the log file at "/home/polar/.local/share/xorg/Xorg.0.log" for additional information.
<clever> PolarIntersect: why are the logs going to $HOME?
<PolarIntersect> clever: It is, and no idea
<PolarIntersect> Logs go to home when I run it via `xinit` because I have a custom $PREFIX
<clever> PolarIntersect: can you pastebin your configuration.nix?
rihardsk has quit [Quit: rihardsk]
<PolarIntersect> oh heh
<clever> PolarIntersect: xinit isnt supported on nixos
<PolarIntersect> The logs I linked are the xinit ones
<PolarIntersect> oops
<PolarIntersect> one sec
<PolarIntersect> clever: ya, accident
<clever> PolarIntersect: there are a lot of special paths that have to be setup for it to find anything (hence, the nv not being found)
<PolarIntersect> I only installed it trying to debug
mayhewluke has joined #nixos
<PolarIntersect> ah, makes sense
<PolarIntersect> trying newest kernel
<PolarIntersect> so nvidia atuff is compiling again
<PolarIntersect> stuff*
<PolarIntersect> ok rebooting :)
<clever> [clever@amd-nixos:~]$ grep SLIM_CFG /etc/systemd/system/display-manager.service
<clever> Environment="SLIM_CFGFILE=/nix/store/229c1v4niq50i3qr887mmm8dmn6bcfls-slim.cfg"
<clever> [clever@amd-nixos:~]$ grep xserver_arguments /nix/store/229c1v4niq50i3qr887mmm8dmn6bcfls-slim.cfg
<clever> xserver_arguments -config /nix/store/y9a7mwc8khh94fhn1csqb0r788nj4v6s-xserver.conf -xkbdir /nix/store/92if66bdzz2rcr3zjb1bibbxmrripsrn-xkeyboard-config-2.24/etc/X11/xkb -logfile /dev/null :0 vt7 -verbose 3 -nolisten tcp -terminate
<clever> PolarIntersect: in my case, slim must run X with these args for it to work
<clever> and those are half of what your missing
<PolarIntersect> weird
<PolarIntersect> now my terminal is a higher resolution
<PolarIntersect> but X still can't start
<PolarIntersect> posting new journalctl
<clever> thats the modesetting drivers
<PolarIntersect> one sec
<clever> the kernel supports full 2d graphics, and is taking advantage of that to give a high-res text console
<PolarIntersect> ya
<PolarIntersect> It's just weird that it just stated happening :)
<PolarIntersect> started*
<clever> journalctl -u display-manager -b 0
<clever> that will show only 1 unit, and limit it to the current bootup
<PolarIntersect> It's only this, and I can't figure out where the logs go: https://gist.github.com/monokrome/1d5f4e79894289ee834c1c1e3de40dd8
<clever> PolarIntersect: which display manager are you using?
<PolarIntersect> gdm
<clever> PolarIntersect: try switching to slim and see what the difference is
<PolarIntersect> okie
<PolarIntersect> Is slim sddm?
<clever> slim is slim
<clever> 437 displayManager.slim.enable = true;
steshaw has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to staging: https://git.io/fp3xj
<PolarIntersect> cool
<PolarIntersect> new error now at least
<clever> you only have the nvidia driver enabled, and it didnt detect anything, so xorg shut off
<clever> what does lspci report?
<samueldr> 390.87 seems weird to me
<{^_^}> [nixpkgs] @matthewbauer merged pull request #50363 → Fallout fixes from #50293 → https://git.io/fp3Di
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to staging-next: https://git.io/fp3pO
<samueldr> though 1070 should be supported according to the download page :/
<PolarIntersect> lspci here
<PolarIntersect> samueldr: It's 1070 Mobile though
<samueldr> nah, I was "wrong", I thought 390 was older than that
<PolarIntersect> I can try plugging in my exgernal GPU to see if it "fixes" it
<PolarIntersect> external*
<PolarIntersect> I got this laptop becauseI thought the hardware looked A+ for Linux
<PolarIntersect> very wrong haha
<clever> PolarIntersect: what happens if you just leave the videoDrivers field unset?
<PolarIntersect> omfg it worked
<PolarIntersect> :O
<ottidmes> PolarIntersect: I bought a AMD card thinking there is good support for it on Linux, little did I know it happened to be one of the few cards that has had problems ever since its release on Linux...
<samueldr> it could be using nouveau, PolarIntersect, check the logs
<clever> PolarIntersect: what does the log say when it worked?
<PolarIntersect> one sec, I got excited and rebooted to see if it still worekd
<clever> ottidmes: ive had a wide range of problems with my amd card, one of them nixos specific
<PolarIntersect> hmm
<PolarIntersect> worked again after rebooting
<PolarIntersect> this is exciting :D
<clever> ottidmes: nixos xorg packages are made by a perl script that parses an http directory listing (yes, lol)
<clever> ottidmes: and its auto-generating definitions for deprecated packages, that have since been merged into another repo
<clever> ottidmes: that results in 3 year old code being used, rather then the maintained version in another repo!
<clever> so bugs that have already been fixed occur only on nixos!
thedavidmeister has joined #nixos
<ottidmes> clever: yikes!
<clever> ottidmes: one of the bugs i saw a lot, was the gpu using a buffer, before the buffer was initialized
<clever> ottidmes: EVERY single time chrome rendered a tooltip, it was total garbage, uninitialized buffer
<PolarIntersect> Looking now, here it is if interested: https://gist.github.com/monokrome/cc7a1bad3e7f82a76604a74487b0a567
<clever> if i hide, and re-render it, then it works
<ottidmes> clever: In my case all other distros failed on the GPU as well, even like the Ubuntu installer
<clever> ottidmes: also, at login, my xfce desktop, briefly shows my ..... windows wallpaper!!!
<__monty__> That doesn't sound like a reasonable thing to do. Who the hell figured perl was a good choice? : >
<PolarIntersect> It's using modesetting it seems
thedavidmeister has quit [Client Quit]
<samueldr> PolarIntersect: yeah, from nouveau
<PolarIntersect> -.-
<samueldr> I think I see
<clever> Nov 14 14:43:37 tibet.home.monokro.me display-manager[997]: (II) modeset(G0): [DRI2] DRI driver: nouveau
<samueldr> your previous boot was using nouveau too, right?
<clever> Nov 14 14:43:37 tibet.home.monokro.me display-manager[997]: (II) intel(0): [DRI2] DRI driver: i965
<samueldr> the nouveau and nvidia drivers are incompatible
<PolarIntersect> don't think so
<clever> samueldr: hmmm, both nouveua and intel are being listed...
<PolarIntersect> nvidia package blacklists nouveau, yeah?
<samueldr> set back videoDrivers = [ "nvidia" ]; rebuild boot and reboot?
<ottidmes> clever: hah, Ive seen that one too! so weird! but so far on modesetting it works (except regular errors in the log, but apparantly non-fatal)
<PolarIntersect> I don't want nouveau if there's an option
haitlah has quit [Ping timeout: 245 seconds]
<PolarIntersect> hmm ok
<nh2> clever: here's a thing for you: ASRock mainboards seem to delete mdadm RAIDs in some cases: http://forum.asrock.com/forum_posts.asp?TID=10174
<samueldr> PolarIntersect: I'm saying so since you talked about a high resolution console
<samueldr> if you had a high resolution console I *think* this means nouveau was used
<clever> PolarIntersect: i think its using "intel", not nvidia, for some reason
<samueldr> (not sure for recent hardware, but older hardware it is a sur thing)
<PolarIntersect> ah
<PolarIntersect> even w/ nvidia in that list?
<{^_^}> [nixpkgs] @markuskowa opened pull request #50371 → Add licenses → https://git.io/fp3ht
<PolarIntersect> The blacklisting wouldn't have worked, and nouveau didn't show in lsmod - just ncvidia
<clever> Nov 14 14:43:38 tibet.home.monokro.me display-manager[997]: (II) intel(0): Modeline "1920x1080"x0.0 342.05 1920 2028 2076 2080 1080 1090 1100 1142 +hsync -vsync (164.4 kHz eP)
<clever> PolarIntersect: the very last line in the log is intel related
<PolarIntersect> ah
<PolarIntersect> so it was trying to use nvidia driver but w/ intel modesetting?
<samueldr> hm, right, laptop, might be those bumblebee or optimus things I have zero experience with :/
<clever> PolarIntersect: when videoDrivers is unset, it will try to use 5 or 6 different drivers at once
<clever> PolarIntersect: and then whatever detects hardware stays, and the rest get unloaded
<PolarIntersect> samueldr: It's MXM
kingemp has joined #nixos
<PolarIntersect> put it back to nvidia nd now X won't start again
<clever> nh2: i recently discovered that my sata SSD's have a firmware bug, that causes the SSD to just lock up solid
<PolarIntersect> is there a way to use a more recent nvidia driver?
<clever> nh2: that explains why my machine has been having so many hanging problems
<clever> nh2: and because its a zfs mirror, with the same firmware on both disks, they tend to both hang at the same time!
dbmikus__ has quit [Ping timeout: 245 seconds]
c0bw3b_ has quit [Remote host closed the connection]
<clever> PolarIntersect: what if you set the driver to "intel" ?
<PolarIntersect> same issue, but I will try again
<clever> PolarIntersect: also check "modesetting"
carlosdagos has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #50372 → nixos/tests/all-tests.nix: Fix incron test path → https://git.io/fp3hi
thedavidmeister has joined #nixos
thedavidmeister has quit [Client Quit]
<PolarIntersect> clever: Hmm! intel worked
<clever> oh!
<clever> 00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
<clever> 01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)
<clever> you do have 2 GPU's!
<clever> from what ive heard, the intel card controls the display and handles all 2d actions
<clever> and the nvidia is 3d only, and renders directly into the 2d buffer of the intel card
romildo has joined #nixos
romildo has left #nixos [#nixos]
<clever> PolarIntersect: hardware.bumblebee = { enable = true; driver = "nvidia"; }; i think this is how you enable that stuff
<clever> while keeping videoDrivers = [ "intel" ]; i think
<clever> the reason for that design, is that the nvidia card can just be 100% disabled, and then you have a very low-power 2d-only card, and better battery life
__monty__ has quit [Quit: leaving]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<emily> I don't think it's about 2D vs. 3D.
<emily> but yeah, the intel card is always the one driving the display
<emily> also the modesetting DDX driver is often preferable to intel
<emily> which is kinda unmaintained i think
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
thedavidmeister has joined #nixos
<simpson> I think that that Intel chipset is i915-ish, so it can technically do 3D but not very fast.
<simpson> On the flip side, `nvidia` is well-known to be pitiful at 2D work.
<clever> that reminds me, one of the bugs i had on my amd card (since fixed), is that 2d rendering was horid slow
<simpson> I never really liked these dual-chipset setups; there's next-to-no documentation on how the OS is supposed to drive them.
<clever> as in, `ls -l /nix/store` took 5 minutes slow
<clever> but 3d was fine
<clever> if i turned hw accel off, 2d was fast, and it lacked 3d entirely
<romanofskiWork> would anyone be able to help me with what command line or expression I can install this package: https://github.com/kubek2k/chunkwm.nix ?
drakonis has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #50372 → nixos/tests/all-tests.nix: Fix incron test path → https://git.io/fp3hi
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpseJ
<ottidmes> romanofskiWork: follow the instructions on that link and do nix-env -iA chunkwm or nix-env -iA nixos.chunkwm, I guess? Not sure about darwin
thedavidmeister has quit [Quit: WeeChat 2.3]
* romanofskiWork curses the darn macbook
vk3wtf has quit [Ping timeout: 252 seconds]
<PolarIntersect> clever: hmm... So, now random syscalls are hanging
<azazel> romanofskiWork: you can just install Nixos into a partition on a macbook too
<clever> PolarIntersect: if you dont care about 3d accel, you can just go back to pure intel
<PolarIntersect> like, if I SSH then the machine hangs when strace says it's getting the system time O_o
<PolarIntersect> clever: Sadly, I do care about that :(
<romanofskiWork> ottidmes: hm.. no... just tried it again, but the package can't be found... I've also thought about putting the config in a separate e.g. release.nix file and try to install that, but no luck
<clever> PolarIntersect: have you checked the nixos-hardware repo on github?
jtojnar has quit [Quit: jtojnar]
makefu has quit [Ping timeout: 246 seconds]
<PolarIntersect> Yeah, but my laptop isn't there
jtojnar has joined #nixos
<PolarIntersect> It's an MSI
makefu has joined #nixos
thedavidmeister has joined #nixos
<clever> PolarIntersect: try the other driver, hardware.bumblebee = { enable = true; driver = "nouveau"; };
<clever> PolarIntersect: also, reboot things between each test
<Church-> PolarIntersect: Graphics not working?
<thedavidmeister> hey, what does it mean if enabling bumblebee gives me a black screen when i login?
c0bw3b_ has joined #nixos
jtojnar has quit [Ping timeout: 272 seconds]
<neonfuz> infinisil: oh sry, names were same length and color on my irc client lol
polman has quit [Ping timeout: 272 seconds]
polman has joined #nixos
Ariakenom has quit [Quit: Leaving]
<PolarIntersect> Church-: ya -.-
<PolarIntersect> clever: I have been rebooting for each test to make sure kernel modules don't conflict or anything
<PolarIntersect> Is there a way to use beta drivers or something?
<Ralith> how do I force a cmake package to turn off -Werror?
<PolarIntersect> I think you can use `cmake -D CFLAGS=whatever`
<PolarIntersect> maybe check out the advanced sections of `ccmake`
<clever> Ralith: there is also cmakeFlags = [ "-D" "CFLAGS=whatever" ];
<Ralith> clever: are you sure those are supposed to be separate arguments?
<clever> not entirely sure
<PolarIntersect> they aren't, sorry
<PolarIntersect> My bad
<PolarIntersect> cmake gets mad if you put a new ar between -D and it's argument
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<PolarIntersect> clever: I don't think bumblebee will work since it's an MXM card?
<clever> PolarIntersect: ah, that indeed may need special drivers then
<clever> PolarIntersect: see if you can figure out how its installed/configured on other distros, then we could try to reproduce it on nixos
<{^_^}> [nixpkgs] @pbogdan opened pull request #50373 → firefoxen: remove unused gstreamer dependencies → https://git.io/fpsfT
<Ralith> this package's build seems to unconditionally apply -Wall
<PolarIntersect> clever: Software for MXM cards are the same as desktop GPUs afaik
jackdk has joined #nixos
<Church-> PolarIntersect: Nvidia card?
<clever> 2018-11-14 18:58:04 < clever> 00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
<clever> 2018-11-14 18:58:06 < clever> 01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)
<clever> Church-: both of these appear in PolarIntersect's lspci
c0bw3b_ has quit [Remote host closed the connection]
<clever> Church-: videoDrivers = [ "intel" ]; works, but [ "nvidia" ]; fails, bumblebee also fails
<PolarIntersect> haven't tried bumblebee yet
<PolarIntersect> Didn't try it because the docs said not to
<PolarIntersect> due to the first paragraph here:
jperras has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #50374 → [staging] nss, libpng, sqlite updates → https://git.io/fpsfD
erictapen has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #50375 → haskellPackages: Add shell completion for 18.09 → https://git.io/fpsJn
vidbina_ has quit [Ping timeout: 240 seconds]
shabius_ has joined #nixos
<PolarIntersect> hmm
<ottidmes> Could it have to do with the kernel version? I assume nvidia is closed source? I had to use kernel 4.4 LTS with for my AMD GPU driver (now I just use modesetting with only 2D)
<PolarIntersect> nvidiaBeta also broken
<kingemp> For the build phase, anyone know how to get nix to run parallel jobs? I see it's -j 1 by default, and I can't seem to override with makeFlags
<clever> kingemp: enableParallelBuilding = true;
<kingemp> clever, already have that set
<clever> kingemp: nix show-config | grep core
<kingemp> clever, eek! cores = 1
shabius has quit [Ping timeout: 252 seconds]
<clever> kingemp: nixos or other?
<kingemp> clever, nixos
<clever> kingemp: nix.buildCores = 10; in configuration.nix
<kingemp> clever, awesome thx! I wonder if this should be done by default in hardware-configuration..?
<kingemp> happy to make an issue if you think so, but maybe there's a good reason
<clever> kingemp: nixos-generate-config should fill that in, check what your generated config has