gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
<mfiano> ottidmes: Ah I didn't see that all the way at the bottom. That seems pretty trivial to get going within an isolated environment then
<sphalerite_> nix-shell isn't an isolated environment
<sphalerite_> I'm guessing that something in the bootstrap/configure/make process does nasty impure stuff like downloading tarballs
<sphalerite_> and yes, it should be fairly simple to generate an epub from the pills too, they're written in docbook like the manuals
<mfiano> He argues it doesn't make sense for Roswell on NixOS, but I don't think he is using it for anything more than managing multiple versions of Common Lisp implementations
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 4 new commits to python-unstable: https://git.io/vAKAw
<NixOS_GitHub> nixpkgs/python-unstable d6e25bf Robert Schütz: home-assistant: pin astral version to 1.5
<NixOS_GitHub> nixpkgs/python-unstable 31a9465 Robert Schütz: pythonPackages.stripe: add simplejson dependency for python 2
<NixOS_GitHub> nixpkgs/python-unstable c5fab86 Robert Schütz: pythonPackages.astral: fix build
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> mfiano: Here: https://pastebin.com/cheH1nmQ it builds roswell
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8821d6ab3bc (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<ottidmes> mfiano: No idea if it actually works, never used it or common lisp, but it at least compiles and matches what Arch Linux and the compile from source page says
smichel17 has joined #nixos
<mfiano> ottidmes: Great. I'll just have to make a proper package out of it so I can deploy my config to a bunch of machines
pxc has quit [Ping timeout: 252 seconds]
<mfiano> When I learn that part :)
<sphalerite_> oh neat
ryanartecona has quit [Quit: ryanartecona]
BlessJah has quit [Ping timeout: 240 seconds]
humid has quit [Remote host closed the connection]
dhess has joined #nixos
<ottidmes> mfiano: You might also add which and git, it uses which to determine git and git to determine its version, not sure if it actually is necessary, but without which you will get message about it missing during the build, and you can actually see it using git to determine the version, so I have added them as well
<mfiano> Oh thanks!
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mfiano> sphalerite_: I can't figure out how to generate nix-pills epub version.
TonyTheLion has quit [Ping timeout: 260 seconds]
<sphalerite_> I don't know either, sorry. Just assumed it would be simple since it's basically the same setup
smichel17_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vAKxS
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 94ebc13 Nikolay Amiantov: tensorflow: disable XLA without CUDA...
<mfiano> Oh well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vAKxd
<NixOS_GitHub> nixpkgs/master 4db787b Nikolay Amiantov: displaylink: 1.3.52 -> 4.1.9...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f5b0462 Nikolay Amiantov: linuxPackages.evdi: disable fortify hardening...
smichel17 has quit [Ping timeout: 260 seconds]
smichel17_ is now known as smichel17
<mfiano> I tried to understand the differences in the nix script of nixpkgs, but I need to read the book first to understand what's going on better :)
sigmundv has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] griff opened pull request #35690: nixos/rspamd: Preserve runtime directory when using socket activation (master...rspamd-socketruntime) https://git.io/vAKxA
NixOS_GitHub has left #nixos [#nixos]
noam has quit [Read error: Connection reset by peer]
alexteves_ has quit [Ping timeout: 276 seconds]
BlessJah has joined #nixos
noam has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #34194: displaylink: 1.3.52 -> 4.1.9 and refactor (master...displaylink) https://git.io/vNreC
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #35691: feh: 2.23.2 -> 2.24 (master...feh) https://git.io/vAKpC
NixOS_GitHub has left #nixos [#nixos]
noam has quit [Read error: Connection reset by peer]
coot has quit [Quit: coot]
kelleyNif has quit [Quit: Leaving.]
noam has joined #nixos
pxc has joined #nixos
aarvar has left #nixos [#nixos]
erasmas has quit [Quit: leaving]
Mateon3 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 4 new commits to release-17.09: https://git.io/vAKpp
<NixOS_GitHub> nixpkgs/release-17.09 0f18644 schuppentier: evdi: 1.4.1+git2017-06-12 -> unstable-2018-01-12 (#33907)...
<NixOS_GitHub> nixpkgs/release-17.09 82ad868 Nikolay Amiantov: linuxPackages.evdi: disable fortify hardening...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 4030f92 Nikolay Amiantov: displaylink: 1.3.52 -> 4.1.9...
pxc has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vAKpj
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 1acf9f3 Nikolay Amiantov: linuxPackages.evdi: mark as broken on Linux 4.15
aarvar has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
pkill9 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vAKhY
<NixOS_GitHub> nixpkgs/master bc2c0b2 Tuomas Tynkkynen: trinity: Fix build by upgrading...
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
fuyuuri has quit [Quit: WeeChat 2.0.1]
noam has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master e7876fb Vladyslav M: feh: 2.23.2 -> 2.24
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAKhb
<NixOS_GitHub> nixpkgs/master b63297b adisbladis: Merge pull request #35691 from dywedir/feh...
jackdk has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
roberth has joined #nixos
noam has joined #nixos
digitus has quit [Quit: digitus]
noam has quit [Read error: Connection reset by peer]
noam has joined #nixos
justanotheruser has joined #nixos
noam has quit [Read error: Connection reset by peer]
noam has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
<Guanin> Is it possible to calculate the hash of some string inside configuration.nix?
kelleyNif has joined #nixos
<dhess> builtins.hashString "sha256" str
<Guanin> Thanks :)
<dhess> np
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 1 new commit to python-unstable: https://git.io/vA6vP
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable 12c2f2a Robert Schütz: pythonPackages.green: 2.12.0 -> 2.12.1
aarvar has quit [Ping timeout: 256 seconds]
pkill9 has joined #nixos
troydm has joined #nixos
<troydm> any good tutorials for learning Nix language?
<troydm> simpson: thx
Arcaelyx_ has joined #nixos
Arcaelyx has quit [Ping timeout: 245 seconds]
<Sonarpulse> --indirect no longer works with nix-build?
<ryantrinkle> nix-shell 1.11 had a feature (bug?) where you could do nix-shell path/to/some.drv, and it would enter the nix-shell for that drv without re-evaluating it
<Sonarpulse> also that ^
<Sonarpulse> shlevy: 2.0.1 time!
<ryantrinkle> since evaluation of large nix expressions can take a few seconds, it's nice to avoid that evaluation
<Sonarpulse> if its released before the nixpkgs master pr lands......that's good!
<ryantrinkle> is it possible to do that some other way with the new nix-shell?
jtojnar_ has joined #nixos
smichel17 has quit [Ping timeout: 252 seconds]
m3lst4d has joined #nixos
<duncan^> /buffer 55
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
coot has quit [Quit: coot]
jtojnar_ has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/93bfd8921fa (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
jtojnar has quit [Ping timeout: 260 seconds]
jtojnar_ is now known as jtojnar
Arcaelyx has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chisui has quit [Ping timeout: 260 seconds]
Arcaelyx_ has quit [Ping timeout: 268 seconds]
ryantm has joined #nixos
Drakonis has joined #nixos
m3lst4d has quit [Quit: Leaving]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #34687: libinput-gestures: init at 2.32 (master...libinput-gestures-2.32) https://git.io/vAv6W
NixOS_GitHub has left #nixos [#nixos]
abathur has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
acarrico has quit [Ping timeout: 245 seconds]
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vA6Up
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e0c82dc adisbladis: nodejs: Remove "havvy" from maintainers list...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #35694: rdma-core: 16.1 -> 17 (master...rdma-core-pr) https://git.io/vA6Tk
NixOS_GitHub has left #nixos [#nixos]
dbmikus has quit [Quit: WeeChat 2.0.1]
MP2E has joined #nixos
smichel17 has joined #nixos
smichel17 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35695: swift: add include for <functional> (#35689) (master...fix/swift-gcc7) https://git.io/vA6TM
NixOS_GitHub has left #nixos [#nixos]
<abathur> anyone around do much with python/pip?
<simpson> Sure. I am very experienced at being grumpy at pip.
<abathur> grin
<samueldr> grumpip?
duckwho has joined #nixos
<abathur> getting my bearings to set up development environments, and I got something that "works", but it seems like cheating, and after having some trouble with a few of the commonly-recommended tools
duckwho has quit [Client Quit]
<abathur> so just trying to get a sense of what the pitfalls are with how I'm approaching it
pxc1 has joined #nixos
<elvishjerricco> infinisil: Noticed that your https://github.com/Infinisil/system/ uses nixops. I'm curious how you deal with nixops state. Don't you always have to deploy from the same machine, meaning you can't make trivial system updates locally (except on the machine that has the state)?
<abathur> so, setting up a python dev environment for a web app that doesn't have a setup.py or other python build config because it's just deployed to heroku via git
<abathur> so I tried uh, I think it was pypi2nix first
<abathur> and that choked on a private-repo dependency
<abathur> so I moved on to pip2nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #33708: nginx: Add option for enabling pagespeed, option for additional modules (master...feature/nginx-pagespeed-nixos) https://git.io/vNY14
NixOS_GitHub has left #nixos [#nixos]
<abathur> which worked with the private dependency, but seemed like it was oriented around the assumption that we would have a setup.py, I couldn't figure out how to specify a module at least
<abathur> so I eventually fell back to one of the recommendations I've seen around, which was just mkDerivation with python, pip, and virtualenv
d4g_ has joined #nixos
pxc1 has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35696: hal-flash: 0.3.0 -> 0.3.3 (master...auto-update/hal-flash-0.3.0-to-0.3.3) https://git.io/vA6kK
d4g has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35697: hamlib: 1.2.15.3 -> 3.1 (master...auto-update/hamlib-1.2.15.3-to-3.1) https://git.io/vA6ki
NixOS_GitHub has left #nixos [#nixos]
<abathur> on a related note, I read something about nix-shell that I couldn't find any more elaboration on... https://nixos.org/nixpkgs/manual/#temporary-python-environment-with-nix-shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35698: hatari: 1.8.0 -> 2.1.0 (master...auto-update/hatari-1.8.0-to-2.1.0) https://git.io/vA6kD
NixOS_GitHub has left #nixos [#nixos]
<abathur> specifically it mentions the first command creating an environment
<abathur> and says the latter doesn't
<simpson> This'd go in shell.nix and then you'd run it with nix-shell.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35699: galen: 2.3.0 -> 2.3.6 (master...auto-update/galen-2.3.0-to-2.3.6) https://git.io/vA6k9
NixOS_GitHub has left #nixos [#nixos]
<simpson> So if you don't have a setup.py, but you do have a list of dependencies, then you could `with pythonPackages; [ twisted treq ampoule ]` or whatever.
<abathur> I have something along those lines, though including pip, virtualenv, and then with a shellHook to actually run 'pip install -r requirements.txt', start up postgres, etc.
<simpson> You should read the nixpkgs manual on Python packaging, including a section on developing with Python: https://nixos.org/nixpkgs/manual/#python
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35700: gammu: 1.38.2 -> 1.39.0 (master...auto-update/gammu-1.38.2-to-1.39.0) https://git.io/vA6k7
NixOS_GitHub has left #nixos [#nixos]
<simpson> Ah, interesting. You'll ultimately reap more of Nix's rewards by getting your Python modules from Nix, but that'll work for now.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35702: hiawatha: 10.5 -> 10.7 (master...auto-update/hiawatha-10.5-to-10.7) https://git.io/vA6k5
NixOS_GitHub has left #nixos [#nixos]
kelleyNif has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35703: html-tidy: 5.4.0 -> 5.6.0 (master...auto-update/html-tidy-5.4.0-to-5.6.0) https://git.io/vA6kh
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35704: herwig: 7.1.1 -> 7.1.2 (master...auto-update/herwig-7.1.1-to-7.1.2) https://git.io/vA6Ie
NixOS_GitHub has left #nixos [#nixos]
<abathur> yes, looking forward to doing more through nix (though probably not for this specific project...)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35705: gdbm: 1.14 -> 1.14.1 (master...auto-update/gdbm-1.14-to-1.14.1) https://git.io/vA6IU
NixOS_GitHub has left #nixos [#nixos]
aarvar has joined #nixos
<abathur> did you see my message above about nix shell with/out environment?
nuncanada has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35706: geos: 3.6.1 -> 3.6.2 (master...auto-update/geos-3.6.1-to-3.6.2) https://git.io/vA6II
NixOS_GitHub has left #nixos [#nixos]
<abathur> I linked to a subsection in the python section of the manual, but I'm not really sure I understand the distinction it's making, aside from the use of the withPackages function?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35707: getmail: 5.4 -> 5.5 (master...auto-update/getmail-5.4-to-5.5) https://git.io/vA6It
NixOS_GitHub has left #nixos [#nixos]
<abathur> ah, maybe I'm confused because of this: https://github.com/NixOS/nixpkgs/issues/32372
duckwho has joined #nixos
joncfoo has quit [Ping timeout: 256 seconds]
joncfoo has joined #nixos
<abathur> though I'm still a little fuzzy on what thhe implications of between being with and without environment are in this context
Tobba has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35708: fossil: 2.3 -> 2.5 (master...auto-update/fossil-2.3-to-2.5) https://git.io/vA6IZ
NixOS_GitHub has left #nixos [#nixos]
<abathur> oh, hmm, no, that issue's actually a few lines later
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35709: fpart: 0.9.3 -> 1.0.0 (master...auto-update/fpart-0.9.3-to-1.0.0) https://git.io/vA6Ic
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35710: fprintd: 0.7.0 -> 0.8.0 (master...auto-update/fprintd-0.7.0-to-0.8.0) https://git.io/vA6I8
NixOS_GitHub has left #nixos [#nixos]
markus1199 has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/87c057a9c16 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
markus1189 has quit [Ping timeout: 248 seconds]
<palo> somebody using xmonad ? and has the same problem : https://github.com/NixOS/nixpkgs/issues/35445 (or maybe does not have this problem) ?
Drakonis has quit [Read error: Connection reset by peer]
joshie_ has quit [Quit: No Ping reply in 180 seconds.]
joshie has joined #nixos
pxc has quit [Ping timeout: 252 seconds]
pxc1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 88850c1 Will Dietz: swift: add include for <functional> (#35689)
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 4a9c363 Will Dietz: swift: fix broken ar symlink
<NixOS_GitHub> [nixpkgs] dtzWill pushed 3 new commits to master: https://git.io/vA6Lf
<NixOS_GitHub> nixpkgs/master 5069ad2 Will Dietz: Merge pull request #35695 from dtzWill/fix/swift-gcc7...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35711: freecell-solver: 4.8.0 -> 4.16.0 (master...auto-update/freecell-solver-4.8.0-to-4.16.0) https://git.io/vA6Lq
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35712: freetds: 1.00.70 -> 1.00.80 (master...auto-update/freetds-1.00.70-to-1.00.80) https://git.io/vA6L3
NixOS_GitHub has left #nixos [#nixos]
mckeankylej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35713: fricas: 1.3.1 -> 1.3.2 (master...auto-update/fricas-1.3.1-to-1.3.2) https://git.io/vA6Ls
NixOS_GitHub has left #nixos [#nixos]
pxc1 has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35714: frostwire: 6.4.5 -> 6.6.3 (master...auto-update/frostwire-6.4.5-to-6.6.3) https://git.io/vA6LZ
NixOS_GitHub has left #nixos [#nixos]
<mckeankylej> Hey all Im on a 2017 macbook pro and im trying to boot the nixos minimal unstable iso but when I boot into it the keyboard is unresponsive. Do I need to rebuild the iso with some kernel module? If so is it possible to cross compile the iso anyway?
<palo> mckeankylej: do you have a usb keyboard, maybe this works.
<mckeankylej> I dont I guess I could go get one
<palo> I installed a linux a while a go on a macintosh, and I remembered similar problems.
<clever> mckeankylej: is secure-boot turned off?
<palo> But this was my only tip so far :D, I guess not really a help
<clever> mckeankylej: oh wait, nvm, mixing things up
LT^ has joined #nixos
<clever> mckeankylej: yeah, id find a usb keyboard
Supersonic has joined #nixos
fragamus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vA6Lw
<NixOS_GitHub> nixpkgs/master d7f97c7 Elis Hirwing: sequeler: 0.5.3 -> 0.5.4
NixOS_GitHub has left #nixos [#nixos]
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/87c057a9c16 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
mckeankylej has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35678: sequeler: 0.5.3 -> 0.5.4 (master...upgrade-sequeler) https://git.io/vAKYq
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35715: ipmiutil: 3.0.7 -> 3.0.8 (master...auto-update/ipmiutil-3.0.7-to-3.0.8) https://git.io/vA6LH
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35716: impressive: 0.11.1 -> 0.12.0 (master...auto-update/impressive-0.11.1-to-0.12.0) https://git.io/vA6Ld
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35717: imgur-screenshot: 1.7.1 -> 1.7.4 (master...auto-update/imgur-screenshot-1.7.1-to-1.7.4) https://git.io/vA6Lb
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35718: iio-sensor-proxy: 2.2 -> 2.4 (master...auto-update/iio-sensor-proxy-2.2-to-2.4) https://git.io/vA6LA
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35719: ii: 1.7 -> 1.8 (master...auto-update/ii-1.7-to-1.8) https://git.io/vA6tU
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> jeepers ryantm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35720: igv: 2.4.6 -> 2.4.8 (master...auto-update/igv-2.4.6-to-2.4.8) https://git.io/vA6tk
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35721: inboxer: 1.0.0 -> 1.0.2 (master...auto-update/inboxer-1.0.0-to-1.0.2) https://git.io/vA6tq
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35722: ipset: 6.34 -> 6.35 (master...auto-update/ipset-6.34-to-6.35) https://git.io/vA6tm
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35723: iasl: 20170303 -> 20180209 (master...auto-update/iasl-20170303-to-20180209) https://git.io/vA6tO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35724: iana-etc: 20180108 -> 20180131 (master...auto-update/iana-etc-20180108-to-20180131) https://git.io/vA6ts
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35725: jansson: 2.10 -> 2.11 (master...auto-update/jansson-2.10-to-2.11) https://git.io/vA6tZ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35726: hwinfo: 21.50 -> 21.52 (master...auto-update/hwinfo-21.50-to-21.52) https://git.io/vA6tc
NixOS_GitHub has left #nixos [#nixos]
<clever> gchristensen: lol
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35727: hwdata: 0.308 -> 0.309 (master...auto-update/hwdata-0.308-to-0.309) https://git.io/vA6tW
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35728: hugin: 2017.0.0 -> 2018.0.0 (master...auto-update/hugin-2017.0.0-to-2018.0.0) https://git.io/vA6t4
NixOS_GitHub has left #nixos [#nixos]
marusich has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35729: hubicfuse: 3.0.0 -> 3.0.1 (master...auto-update/hubicfuse-3.0.0-to-3.0.1) https://git.io/vA6tE
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35730: httplab: 0.1.0 -> 0.3.0 (master...auto-update/httplab-0.1.0-to-0.3.0) https://git.io/vA6tu
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35731: http-parser: 2.7.0 -> 2.8.0 (master...auto-update/http-parser-2.7.0-to-2.8.0) https://git.io/vA6tz
NixOS_GitHub has left #nixos [#nixos]
Sonarpulse has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35732: html-xml-utils: 7.1 -> 7.6 (master...auto-update/html-xml-utils-7.1-to-7.6) https://git.io/vA6t2
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35733: jgmenu: 0.8 -> 0.8.2 (master...auto-update/jgmenu-0.8-to-0.8.2) https://git.io/vA6tV
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35734: jmeter: 3.3 -> 4.0 (master...auto-update/jmeter-3.3-to-4.0) https://git.io/vA6tr
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> hot dog!
<gchristensen> ^ auto-scaling of linux builders
<elvishjerricco> Anybody use Xmonad with Gnome3 on NixOS?
<ryantm> gchristensen: ut oh did I greak something...
<ryantm> break*
<gchristensen> nope
acarrico has joined #nixos
<gchristensen> but if you give me a heads up next time, I can pre-launch some extra ofborg capacity :D
<gchristensen> I can't launch it tonight, I'm about to go to bed though.
<ryantm> gchristensen: my build server is churning through the alphabet right now, probably more to come for the next few hours before I go to bed.
<gchristensen> wow!
<gchristensen> I was able to add one more evaluator for the night
jgt has joined #nixos
<gchristensen> also: the linux builders have never scaled up past ~4 linux builders. you managed to hit the cap of 10 :)
<gchristensen> ryantm: the testing it does seems to be pretty great!
<jgt> I'm building a Haskell project with Nix, and I have a default.nix that looks like this:
<jgt> { pkgs ? import <nixpkgs> { nixpkgs.system = "x86_64-linux"; }, compiler ? "ghc802" }:
<jgt> pkgs.haskell.packages.${compiler}.callPackage ./comparestack.nix { }
<ryantm> :)
<jgt> If I change ghc802 to ghc822, it recompiles GHC from scratch
<jgt> why is that?
<jgt> ghc802 packages all just download from the cache
pkill9 has quit [Ping timeout: 248 seconds]
* adisbladis[m] rolls up the sleeves
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35735: jsoncpp: 1.8.0 -> 1.8.4 (master...auto-update/jsoncpp-1.8.0-to-1.8.4) https://git.io/vA6td
NixOS_GitHub has left #nixos [#nixos]
<dtz> haha
<gchristensen> ryantm: let's coordinate on your next run :)
<ryantm> gchristensen: I'd be okay if you somehow gave me less priority in general.
<gchristensen> I don't have that kind of capability
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35736: jruby: 9.1.13.0 -> 9.1.16.0 (master...auto-update/jruby-9.1.13.0-to-9.1.16.0) https://git.io/vA6tN
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill pushed 2 new commits to master: https://git.io/vA6tA
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ec6ce86 Will Dietz: Merge pull request #35682 from volth/patch-110...
<NixOS_GitHub> nixpkgs/master 7e4c8db volth: nixos/tests: add forgotten xrdp.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vA6qv
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6e14edc Ryan Mulligan: html-xml-utils: 7.1 -> 7.6...
<NixOS_GitHub> nixpkgs/master c556c33 adisbladis: Merge pull request #35732 from ryantm/auto-update/html-xml-utils-7.1-to-7.6...
<gchristensen> oh ryantm you can skip the `build` command if the package name prefix in the commit message exactly identifies the attribute name
<ryantm> prefix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35739: kapacitor: 1.0.0 -> 1.4.0 (master...auto-update/kapacitor-1.0.0-to-1.4.0) https://git.io/vA6qJ
NixOS_GitHub has left #nixos [#nixos]
<vaibhavsagar> ryantm: e.g. in the commit message "pkgs.vlc: blah"
<vaibhavsagar> "pkgs.vlc" is the prefix
<ryantm> Ah, so I need to add pkgs. to my commit messages?
<gchristensen> no need for the pkgs.
<ryantm> gchristensen: I thought you commented that that wasn't working currently
<gchristensen> oh, no, it works :)
<gchristensen> or should be ...
* gchristensen looks
<ryantm> oh, great; less work for me :) All of mine match attributes.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35740: keychain: 2.8.3 -> 2.8.5 (master...auto-update/keychain-2.8.3-to-2.8.5) https://git.io/vA6qt
NixOS_GitHub has left #nixos [#nixos]
<abathur> gchristensen: I've been wondering, without much context for knowing if it makes architectural sense, if nix receives or seeks donations of off-peak cloud capacity for builds?
<ryantm> I just PR kapacitor but didn't tell your bot to build it.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35741: joker: 0.8.7 -> 0.8.9 (master...auto-update/joker-0.8.7-to-0.8.9) https://git.io/vA6qm
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35742: kid3: 3.4.2 -> 3.5.1 (master...auto-update/kid3-3.4.2-to-3.5.1) https://git.io/vA6qO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35743: kompose: 1.5.0 -> 1.9.0 (master...auto-update/kompose-1.5.0-to-1.9.0) https://git.io/vA6qG
NixOS_GitHub has left #nixos [#nixos]
pxc1 has joined #nixos
<jgt> does my default.nix need ghcWithPackages to not have to compile all the standard GHC packages?
<clever> jgt: when used correctly, ghcWithPackages can give you pre-built copies of anything on hackage
<clever> as long as hydra is building it
<jgt> clever: Here's my current default.nix:
<jgt> { pkgs ? import <nixpkgs> { nixpkgs.system = "x86_64-linux"; }, compiler ? "ghc822" }:
<jgt> pkgs.haskell.packages.${compiler}.callPackage ./comparestack.nix { }
<jgt> when I use "ghc802" it downloads all the pre-built stuff
<vaibhavsagar> jgt: it's the ghc822 that's making a difference
<jgt> but with "ghc822", it compiles everything
<vaibhavsagar> because hydra isn't building all those packages
<clever> yeah
<jgt> vaibhavsagar: Right. Is there a way to know which packages Hydra is building?
dbmikus has joined #nixos
<vaibhavsagar> that is an excellent question
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35744: fix maintainer name 'gavin' to match GitHub username (master...fix-gavin) https://git.io/vA6qg
NixOS_GitHub has left #nixos [#nixos]
<vaibhavsagar> jgt: you can rely on anything in nixos-17.09 to be built by hydra
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35745: kpcli: 3.1 -> 3.2 (master...auto-update/kpcli-3.1-to-3.2) https://git.io/vA6qa
NixOS_GitHub has left #nixos [#nixos]
ryantrinkle has quit [Ping timeout: 252 seconds]
<vaibhavsagar> same with the earlier stable releases of NixOS
<jgt> vaibhavsagar: IIRC, there was some website for searching packages in a channel. Is that where I should look?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35746: kops: 1.8.0 -> 1.8.1 (master...auto-update/kops-1.8.0-to-1.8.1) https://git.io/vA6qo
NixOS_GitHub has left #nixos [#nixos]
<vaibhavsagar> jgt: hmm, I haven't heard of this website, but clever might know more
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35747: kronometer: 2.1.3 -> 2.2.1 (master...auto-update/kronometer-2.1.3-to-2.2.1) https://git.io/vA6q6
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35748: kwalletcli: 3.00 -> 3.01 (master...auto-update/kwalletcli-3.00-to-3.01) https://git.io/vA6qi
NixOS_GitHub has left #nixos [#nixos]
<jgt> vaibhavsagar: otherwise, how do I know what's inside nixos-17.09? Is that the name of the stable channel? (as opposed to nixpkgs-unstable)
<vaibhavsagar> yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35749: latex2html: 2016 -> 2018 (master...auto-update/latex2html-2016-to-2018) https://git.io/vA6qX
NixOS_GitHub has left #nixos [#nixos]
<ryantm> jgt: you could look at the code in https://github.com/nixos/nixpkgs-channels/tree/nixos-17.09
<vaibhavsagar> jgt: basically if you override something, all bets are off
<vaibhavsagar> in this case it's the GHC version
dbmikus has quit [Quit: WeeChat 2.0.1]
dbmikus has joined #nixos
taktoa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm closed pull request #35744: fix maintainer name 'gavin' to match GitHub username (master...fix-gavin) https://git.io/vA6qg
NixOS_GitHub has left #nixos [#nixos]
jtojnar_ has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
LT^ has quit [Ping timeout: 245 seconds]
<ryantm> 45 somethings?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vA6mk
<NixOS_GitHub> nixpkgs/master 02fd566 adisbladis: Merge pull request #35715 from ryantm/auto-update/ipmiutil-3.0.7-to-3.0.8...
<NixOS_GitHub> nixpkgs/master af2649d Ryan Mulligan: ipmiutil: 3.0.7 -> 3.0.8...
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> scaling up evaluators to catch up and keep up with the automatic chehcking
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35750: lgogdownloader: 3.2 -> 3.3 (master...auto-update/lgogdownloader-3.2-to-3.3) https://git.io/vA6mt
NixOS_GitHub has left #nixos [#nixos]
<ryantm> gchristensen: thanks! Any word on if I need to ask for builds?
<gchristensen> one moment
LT^ has joined #nixos
LT^ has quit [Max SendQ exceeded]
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35751: leocad: 17.07 -> 18.02 (master...auto-update/leocad-17.07-to-18.02) https://git.io/vA6mq
NixOS_GitHub has left #nixos [#nixos]
LT^ has joined #nixos
LT^ has quit [Max SendQ exceeded]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35752: libchewing: 0.4.0 -> 0.5.1 (master...auto-update/libchewing-0.4.0-to-0.5.1) https://git.io/vA6mY
NixOS_GitHub has left #nixos [#nixos]
schoppenhauer has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35753: libabw: 0.1.1 -> 0.1.2 (master...auto-update/libabw-0.1.1-to-0.1.2) https://git.io/vA6mO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35754: lemonbar: 1.2 -> 1.3 (master...auto-update/lemonbar-1.2-to-1.3) https://git.io/vA6m3
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35755: leatherman: 1.3.0 -> 1.4.0 (master...auto-update/leatherman-1.3.0-to-1.4.0) https://git.io/vA6mG
jtojnar_ has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35756: lcms2: 2.8 -> 2.9 (master...auto-update/lcms2-2.8-to-2.9) https://git.io/vA6mn
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35757: latte-dock: 0.7.1 -> 0.7.3 (master...auto-update/latte-dock-0.7.1-to-0.7.3) https://git.io/vA6mC
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35758: libbson: 1.8.0 -> 1.9.2 (master...auto-update/libbson-1.8.0-to-1.9.2) https://git.io/vA6mW
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35759: libconfuse: 3.0 -> 3.2.1 (master...auto-update/libconfuse-3.0-to-3.2.1) https://git.io/vA6m8
NixOS_GitHub has left #nixos [#nixos]
schoppenhauer has joined #nixos
<gchristensen> ryantm: we'll just need to hold off a minute before I'll know. everything is so backed up and I don't have adequate logging of the automatic schedulin7g.
<gchristensen> but: it _SHOULD_ be auto-scheduling for you.
slyfox has quit [Ping timeout: 268 seconds]
slyfox has joined #nixos
<ryantm> gchristensen: Ok, I'll hold off on asking for builds and if the PRs don't have builds when I wake up, I'll check in with you.
<gchristensen> OK thanks!
<ryantm> Sorry for backing up your server!
<gchristensen> haha it is okay
Myrl-saki has quit [Read error: Connection reset by peer]
jtojnar has quit [Quit: jtojnar]
<gchristensen> also, you're pushing record #'s of logs through the log collector
<ryantm> stress test!
<gchristensen> no kidding ;)
jgt has quit [Ping timeout: 240 seconds]
jtojnar has joined #nixos
<gchristensen> tbh the #1 reason I'm spinning up extra capacity is so the system in the room by the bedroom will quiet down :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35760: libdvbpsi: 0.2.2 -> 1.3.2 (master...auto-update/libdvbpsi-0.2.2-to-1.3.2) https://git.io/vA6mP
NixOS_GitHub has left #nixos [#nixos]
<ryantm> And these are just the packages my script can update in its incredibly dumb way...
<gchristensen> :o
<ryantm> there are like 3500 packages that repology.org says we are behind on
<gchristensen> are you going to open 3,500 PRs tonight?
<abathur> :D
<ryantm> gchristensen: No, my bot can't figure out how to update a lot of them
<abathur> distorting the commit frequency graphs
<gchristensen> ah ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35761: libebur128: 1.0.2 -> 1.2.4 (master...auto-update/libebur128-1.0.2-to-1.2.4) https://git.io/vA6mN
NixOS_GitHub has left #nixos [#nixos]
Myrl-saki has joined #nixos
<ryantm> It can only figure out how to update packages that are in package-name/default.nix and have the old version available for download and the new version available for download, and I don't make a update branch unless the build completes on my NixOS machine
<gchristensen> oh wow, cool
<abathur> is there a common idiom/pattern for where to put things like postgres' datadir within a nix-shell? I see a number of people specifying it in their shell/default.nix, but no consistent location
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35762: libevdev: 1.5.7 -> 1.5.8 (master...auto-update/libevdev-1.5.7-to-1.5.8) https://git.io/vA6mx
NixOS_GitHub has left #nixos [#nixos]
<abathur> but it seems like I would want to set it to something distinct per-project?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35763: libedit: 20160903-3.1 -> 20170329-3.1 (master...auto-update/libedit-20160903-3.1-to-20170329-3.1) https://git.io/vA6mp
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35764: libffcall: 2.0 -> 2.1 (master...auto-update/libffcall-2.0-to-2.1) https://git.io/vA6mj
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35765: libexttextcat: 3.4.1 -> 3.4.5 (master...auto-update/libexttextcat-3.4.1-to-3.4.5) https://git.io/vA6Ye
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35766: libdvdcss: 1.4.0 -> 1.4.1 (master...auto-update/libdvdcss-1.4.0-to-1.4.1) https://git.io/vA6YJ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35767: libgap: 4.8.3 -> 4.8.6 (master...auto-update/libgap-4.8.3-to-4.8.6) https://git.io/vA6YU
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35768: libdap: 3.18.3 -> 3.19.1 (master...auto-update/libdap-3.18.3-to-3.19.1) https://git.io/vA6YT
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35769: libcue: 2.1.0 -> 2.2.0 (master...auto-update/libcue-2.1.0-to-2.2.0) https://git.io/vA6Yk
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35770: libcouchbase: 2.7.6 -> 2.8.4 (master...auto-update/libcouchbase-2.7.6-to-2.8.4) https://git.io/vA6Yq
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35771: libgme: 0.6.1 -> 0.6.2 (master...auto-update/libgme-0.6.1-to-0.6.2) https://git.io/vA6Ym
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35772: libgsf: 1.14.41 -> 1.14.42 (master...auto-update/libgsf-1.14.41-to-1.14.42) https://git.io/vA6YO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm closed pull request #35734: jmeter: 3.3 -> 4.0 (master...auto-update/jmeter-3.3-to-4.0) https://git.io/vA6tr
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #35773: nrsc5: 20171129 -> 1.0 (master...nrsc5-pr) https://git.io/vA6YW
NixOS_GitHub has left #nixos [#nixos]
ryantrinkle has joined #nixos
<abathur> such update
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35774: libisoburn: 1.4.4 -> 1.4.8 (master...auto-update/libisoburn-1.4.4-to-1.4.8) https://git.io/vA6Y6
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35775: libinput: 1.9.4 -> 1.10.0 (master...auto-update/libinput-1.9.4-to-1.10.0) https://git.io/vA6Yi
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35776: libinfinity: 0.6.5 -> 0.7.1 (master...auto-update/libinfinity-0.6.5-to-0.7.1) https://git.io/vA6YX
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35777: libiodbc: 3.52.8 -> 3.52.12 (master...auto-update/libiodbc-3.52.8-to-3.52.12) https://git.io/vA6YD
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35778: libivykis: 0.41 -> 0.42.1 (master...auto-update/libivykis-0.41-to-0.42.1) https://git.io/vA6Yy
NixOS_GitHub has left #nixos [#nixos]
<ryantm> there are a lot of Ls
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35779: libkate: 0.3.8 -> 0.4.1 (master...auto-update/libkate-0.3.8-to-0.4.1) https://git.io/vA6Y7
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35780: liblo: 0.26 -> 0.29 (master...auto-update/liblo-0.26-to-0.29) https://git.io/vA6Y5
NixOS_GitHub has left #nixos [#nixos]
athan has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35781: liblogging: 1.0.5 -> 1.0.6 (master...auto-update/liblogging-1.0.5-to-1.0.6) https://git.io/vA6YF
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35782: libltc: 1.1.4 -> 1.3.0 (master...auto-update/libltc-1.1.4-to-1.3.0) https://git.io/vA6Yb
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35783: libHX: 3.21 -> 3.22 (master...auto-update/libHX-3.21-to-3.22) https://git.io/vA6YA
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35784: libmaxminddb: 1.2.0 -> 1.3.2 (master...auto-update/libmaxminddb-1.2.0-to-1.3.2) https://git.io/vA6Yp
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35785: libmbim: 1.14.2 -> 1.16.0 (master...auto-update/libmbim-1.14.2-to-1.16.0) https://git.io/vA6Yh
NixOS_GitHub has left #nixos [#nixos]
athan has joined #nixos
<gchristensen> it would be neat if nearby (nixops) machines could be used to copy closures around
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35786: libmediainfo: 17.10 -> 17.12 (master...auto-update/libmediainfo-17.10-to-17.12) https://git.io/vA6OT
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35787: libmodbus: 3.0.6 -> 3.1.4 (master...auto-update/libmodbus-3.0.6-to-3.1.4) https://git.io/vA6Om
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35788: libmng: 2.0.2 -> 2.0.3 (master...auto-update/libmng-2.0.2-to-2.0.3) https://git.io/vA6OO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35789: libmicrohttpd: 0.9.58 -> 0.9.59 (master...auto-update/libmicrohttpd-0.9.58-to-0.9.59) https://git.io/vA6Os
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35790: libmodplug: 0.8.8.5 -> 0.8.9.0 (master...auto-update/libmodplug-0.8.8.5-to-0.8.9.0) https://git.io/vA6OG
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35791: libmtp: 1.1.13 -> 1.1.14 (master...auto-update/libmtp-1.1.13-to-1.1.14) https://git.io/vA6On
NixOS_GitHub has left #nixos [#nixos]
hamishmack has quit [Quit: hamishmack]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #35792: frostwire: 6.4.5 -> 6.6.3-build-253 (master...patch-112) https://git.io/vA6OR
NixOS_GitHub has left #nixos [#nixos]
<abathur> heh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35793: libofx: 0.9.10 -> 0.9.12 (master...auto-update/libofx-0.9.10-to-0.9.12) https://git.io/vA6Oz
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35794: libpfm: 4.8.0 -> 4.9.0 (master...auto-update/libpfm-4.8.0-to-4.9.0) https://git.io/vA6Og
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35795: libpipeline: 1.4.1 -> 1.5.0 (master...auto-update/libpipeline-1.4.1-to-1.5.0) https://git.io/vA6OV
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
<abathur> ty :)
<gchristensen> :)
<abathur> 'twas that or a drinking game
<gchristensen> why not both
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
pxc1 has quit [Ping timeout: 252 seconds]
hamishmack has quit [Ping timeout: 245 seconds]
<abathur> is there a norm or a pattern regarding something like a database's storage path with nix-shell? it looks like the default is in /var/lib/postgres, but I assume with nix-shell I should be moving it into ~/ somewheres
<abathur> not sure if I should be setting it distinctly per shell/default.nix or not
<Izorkin> clever: hi. need create issue to nix 2.0?
<ryantm> abathur: Does your shell start up postgre too?
<abathur> yes, sorry, should have specified that
<abathur> not defining the service, just in the local .nix
<ryantm> abathur: I haven't done that before, and I don't know if there is a standard, but I would probably keep it in some hidden ignored directory of the project. You could also consider using some kind of chroot for your project?
pxc1 has joined #nixos
<ryantm> gchristensen: yay it auto built kapacitor!
<gchristensen> w00t
<abathur> grin
<gchristensen> ok finally the # of pending evaluations has started to go down instead of continuing up
<ryantm> So basically it's caught up to about when we started talked about it being behind :)
<gchristensen> it took a whole hour to provision extra capacity :(
<abathur> ryantm: ok, that's roughly my intuition on it; just a little thrown because I see a mix in various online shell/default.nix files, some people specifying a PGPATH somewhere in /var/, and others specifying paths that are definitely or probably in ~/
<ryantm> To me, it makes not sense to use /var/ or ~/ because you might want to have multiple copies of the project on your computer.
<ryantm> makes no*
<abathur> ryantm: though it didn't occur to me that some of those may be from non-nixos nix users
<abathur> ryantm: good point
<abathur> ryantm not used to thinking about it; usually just use distinct VMs
<abathur> meh
<ryantm> I guess you could do it by the location of the project on the filesystem, but then you'd have trouble moving it.
pxc1 has quit [Ping timeout: 245 seconds]
<abathur> ryantm: I see some specifying $(pwd)/...
<gchristensen> ryantm: the first 4.5 pages are all you O.O
<abathur> ryantm: which made the most sense to me
<ryantm> abathur: yeah pwd sounds good.
<ryantm> gchristensen: 0.0
<ryantm> gchristensen: I thought you were going to bed :-/ sorry for keeping you up
<abathur> ryantm: ty
pxc has joined #nixos
<gchristensen> ryantm: well I was going to, but realized I'd sleep better if I could stop the server that was doing 50% of the evaluations (ie: would be whirring, loud, all night)
<gchristensen> usually it doesn't bother me, but continously loaded all night is a lot :) and: I have new funding to take advantage of, for exactly this purpose: https://www.patreon.com/ofborg
reinzelmann has joined #nixos
digitalmentat has quit [Ping timeout: 276 seconds]
ryanartecona has joined #nixos
<angerman> so I have this cross compiler: x86_64-pc-mingw32-ghc, how do I get myself into a shell where I can use it?
<ryantm> angerman: What do you mean by your having the cross compiler?
<angerman> ryantm: that package is built. I just want to be able to use it from the shell.
<angerman> ryantm: e.g. drop me into a shell, that has the `bin` path of that package in PATH.
<jtojnar> ryantm: also I am rewriting the code in haskell just for fun
<jtojnar> so far it is just a lot of system calls
<jtojnar> but eventually I want to clean it up, add changelog look up, etc.
<ryantm> jtojnar: my scripts or update-source-version?
<jtojnar> your scripts
<ryantm> jtojnar: cool; I'd like to help with that.
<jtojnar> I will open a PR soon
jgt has joined #nixos
<ryantm> Those 3500 outdated packages aren't going to update themselves.
<gchristensen> plz let me know _before_ you put in the next 3,000 PRs
<gchristensen> I know it is old fashioned to not automagically auto-scale, but alas ;)
robstr has joined #nixos
<ryantm> gchristensen: I'll probably have a ton more around 8:00 PT tomorrow.
Rusty1_ has quit [Quit: Konversation terminated!]
<gchristensen> nice
<gchristensen> please also consider our ability to accept them
<gchristensen> ryantm: will you be producing them faster, or just more, about the same rate?
hamishmack has joined #nixos
<ryantm> gchristensen: I'm going to leave my builder running all night and at work tomorrow then I'll probably be manually adding the PRs again like last night, so only as fast as I can click the GitHub buttons.
<gchristensen> oh, the PRs you're opening today aren't automatic?
reinzelmann has quit [Quit: Leaving]
<ryantm> No, I'm manually looking at the changes and checks.
<gchristensen> you are a beast!
<ryantm> I'd like to automate that, mainly so I don't need to keep deleting the contributing contents.
<ryantm> I have this hope that once we catch up, we can process them faster than the program makers.
<gchristensen> yeah
bluebelly_ has joined #nixos
<adisbladis[m]> I think we are hitting scalability issues in terms of being able to accept PRs already :P
<ryantm> What can we do to make it better?
<adisbladis[m]> I'm not sure..
<gchristensen> I think your pinging of maintainers is a good step
<adisbladis[m]> ryantm: Running `nox-review pr` on every one of the would help imo
<adisbladis[m]> But that might take a prohibitive amount of time
<gchristensen> ok I can't stay up any longer
<ryantm> What does that do?
<gchristensen> good night, good luck, I'll be back in several hours :P
<adisbladis[m]> ryantm: Rebuilds all packages affected by your change
<gchristensen> one thing to consider is ofborg is semi-built for this
<gchristensen> you can get a litsl of all changed attributes at: https://github.com/NixOS/nixpkgs/pull/35791 -> Show All Checks -> the Details link next to "grahamcofborg-eval — ^.^! "
<dtz> i'm not sure it's reasonable to shoot for us processing them faster than "program makers"
<gchristensen> and pass some of them to `@grahamcofborg build ...`
orivej has quit [Ping timeout: 248 seconds]
<dtz> they may or may not be limited by the sort of quality control we should be holding ourselves to as a distribution/curated set of packages
<dtz> (regardless of what they intend, it is doubtful they test their update in Nixpkgs before tagging a release, and as such there is work for us to do)
<dtz> and a bit of wisdom in lagging a smidge
<dtz> if we had infinite build capacity, and many many more tests
<dtz> we could move faster
<adisbladis[m]> dtz: Yeah this kind of stream of PRs really makes you realise how much testing we are missing
<mkaito> does anyone currently use nix with ruby? Bundix looks unmaintained, and the info on the wiki and the nixpkgs manual looks even older.
<dtz> absolutely. Although given our processing capacity I'm not sure we really could sustain 2 orders of magnitude more tests. So it's a trade-off :)
<jtojnar> optimally, the bot would add changelog, reviewer would read the changelog, run a command that would obtain the built closure from ofborg and test if the package works
<dtz> optimally testing if it works would also be automated :P :P
<dtz> "optimallly"
<dtz> optimally I would have a pony
<jtojnar> well, that one should be reasonably easy to achieve
* dtz runs `nix-env -iA nixos.ponyc` and calls it good enough
<jtojnar> we just need ofborg to push to a binary cache
<dtz> (actually pony is pretty cool, feel bad referencing it only as a joke replacement lol)
<gchristensen> Check the goal on patreon :)
<dtz> hehe
<dtz> #include <funding.h>
<jtojnar> cool
<dtz> where "obviously" our cc-wrapper automagically redirects that include to an appropriate funding source
<dtz> lol
Fannar has joined #nixos
Fannar is now known as username
username is now known as Guest1637
Guest1637 has left #nixos [#nixos]
Guanin has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> how can I add packages in nixops' libvirt machines ? I would like to autoinstall qemu agent to improve nixops-libvirtd interactions
commander has quit [Ping timeout: 245 seconds]
<fearlessKim[m]> I mean as an upstream change, not just for my VMs
username_r has joined #nixos
username_r has quit [Client Quit]
Guanin has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
commander has joined #nixos
<ryantm> going to sleep soon
jgt has quit [Ping timeout: 240 seconds]
<ryantm> so someone can probably turn back on github if they want
<ryantm> My server is done with the Ls!
<ryantm> night night
<abathur> semi on-topic, but I was reading some comments on the trouble keeping up with PRs and wondered if requiring package submissions be accompanied reasonably high-level tests at some future version goalpost might doubly help
<adisbladis[m]> abathur: It would probably help but it's very difficult to require
<abathur> extra work to eval good submissions in the short run, but it would be easy to dust off people who put in 0 or minimal effort
<abathur> nod
<adisbladis[m]> Also I'm not sure if polluting `nixos/tests` with tests for _everything_ is the right thing to do
markus1189_ has joined #nixos
<adisbladis[m]> abathur: But maybe at the very least a rudimentary checkPhase should be required
<adisbladis[m]> dtz: I think you'll be hard pressed to find anyone in disagreement ;)
<dtz> :P
<mfiano> Can anyone tell me how to generate epub book for nix-pills like I did for the other 2 books?
rauno has joined #nixos
ryantm has quit [Ping timeout: 240 seconds]
<abathur> I don't have much perspective on the project-level constraints, and I wouldn't want to see proliferation of unit tests or simple execution of the software's own test suite
cross has quit [Quit: Lost terminal]
<jtojnar> mfiano: will this work? https://paste.gnome.org/pph3mafc5
<jtojnar> I think I used it once
<jtojnar> abathur: unit tests are not enough, installed tests are needed https://github.com/NixOS/nixpkgs/issues/34987
<jtojnar> also it would be great to have https://github.com/NixOS/nixpkgs/issues/27604
<abathur> but as a noob user at least I imagine some value in a public promise that some non-trivial (i.e., no --help or --version) commands/services/apis work, and in the case of the more obscure packages, it would double bare-minimum documentation
<abathur> yeah
<abathur> I also think having to exercise the software in some way might dissuade the people who won't maintain the submission anyways (either due to lack of knowledge or interest)
jtojnar2 has joined #nixos
<abathur> I guess that could also be adversarial
<adisbladis[m]> abathur: We do run a lot of unit tests in package builds already (see `checkPhase` in `mkDerivation`)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e0c82dcdfcb (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<abathur> nod, not as concerned with those, since their value varies so widely by product
<adisbladis[m]> jtojnar: Yeah that looks great
leat has quit [Ping timeout: 248 seconds]
<adisbladis[m]> abathur: How would you encourage writing tests for new package submissions?
<abathur> don't ignore my noob hat, but I guess it would depend on specific goals
<mfiano> jtojnar: Seems to, thanks
<abathur> if getting package coverage is still a big goal, maybe tests could just be part of moving a package from a provisional to a stable status
<abathur> while getting a package over the first hurdle could remain loose
<abathur> less relevant for new packages, but I could imagine an appeal to future stability/usability being sufficient to get me to do tasks like PR/mark/propose various commands that reflect core functionality
<abathur> and depending on the software complexity, a less-technical user could confirm things like whether the command works, and is a sane way to use the program
Lisanna has joined #nixos
MercurialAlchemi has joined #nixos
chocopuff has joined #nixos
<Lisanna> Is it a good idea to add the localhost as a "remote builder"? I have some requiredSystemFeatures in some derivations such that I only want them to be built on certain machines, which can include the localhost.
LysergicDreams has joined #nixos
<Lisanna> I also think it would be nice to use nixos machines as 'build proxies', such that if machine B has C and D setup as remote builders, and A has B setup as a remote builder, then a build that A forwards to B could be forwarded again to C or D on its behalf
<Lisanna> so that you don't have to maintain complete remote builder configurations / access for every single user you want to be able to use it
<clever> Lisanna: ive seen nix deadlock when localhost is a build slave
<Lisanna> clever ugh, that sucks
<clever> Lisanna: it will sometimes grab a lock locally, then ssh into itself, and then wait for the lock
<clever> Lisanna: but i suspect thats only nix, and not hydra, one min
<clever> Lisanna: for nix itself, NIX_REMOTE_SYSTEMS must point to a single file with the slaves
<clever> Lisanna: but for hydra, it can be a : seperated list
<clever> that allows hydra to have extra slaves, that nix isnt aware of, localhost might work there
<Lisanna> alright, looks like this feature of nix could stand to use some improvement :)
<clever> it also allows hydra to obey a file that nix doesnt even manage, so you could have a daemon dynamically adding/removing slaves, as you auto-scale the pool on AWS
<Lisanna> ...I'll add it to my growing list of nix projects that I wish I had time to work on
jgt has joined #nixos
<clever> Lisanna: i have considered setting up netboot images, that self-report their arch to hydra, then hydra auto-adds those slaves as slaves
<clever> Lisanna: and if the slave stops self-reporting, auto-remove!
pie_ has quit [Ping timeout: 265 seconds]
<Lisanna> that sounds like it would be cool for large-scale operations
<mfiano> I need a better suggestion than sudoedit for editing files as root with vim. Because sudoedit just copies to a random location in /tmp, I lose a lot of things like persistent history/undo, remembering where in a file i was last session, etc. It's driving me nuts
<mfiano> It's making editing my nix config rather difficult
<Lisanna> mfiano ...uhh, sudo emacs?
<mfiano> I prefer vim, and that's coming from a full time Lisp developer
<Lisanna> :)
<adisbladis[m]> Lisanna: :D
<adisbladis[m]> sudo spacemacs then? ;)
<adisbladis[m]> Doesn't vim have something similar to tramp?
<mfiano> I have an extensive vim config spanning several locations of hundreds of files. I guess I should learn how to install that globally as a custom package.
<clever> mfiano: if you can make them all load relative to a single directory, then the rest should be easy
<adisbladis[m]> mfiano: The internet says that saving a buffer as root can be done like `:w !sudo tee %`
<mfiano> I don't know how "easy" that would be for me. I'm still too new around here :)
<clever> mfiano: i can help with that step once its all in a single directory that isnt hard-coded
<mfiano> I'm still debating on whether or not it's better to add a keybinding in vim to do something like what adisbladis[m] suggested, or to install my crazy config globally. The latter approach would mean I can't easily share my config in my dotfiles repo for non-Nix people I think.
<clever> mfiano: if its setup to just load relative to itself, then it can still work without nix
jackdk has quit [Ping timeout: 240 seconds]
<clever> mfiano: to start with, make it something simple like all the config in ~/.vim/ and ~/.vimrc is just 1 line to load something like ~/.vim/root.config
<mfiano> Yeah I think making a Nix package is the right thing to do here, because I really want vim to work the same on all of my boxes without manual steps.
<clever> and root.config loads the rest
<mfiano> I guess I'll work on hacking on my config to un-hardcode paths and store everything under one root
<Izorkin> clever: need create issue to nix 2.0? - error: unable to start build process
<clever> Izorkin: yeah, i think you should go ahead and create one
rauno has quit [Remote host closed the connection]
niklob has joined #nixos
<Izorkin> clever: https://github.com/NixOS/nix here?
<clever> yeah
<mfiano> clever: A big problem is I'm using neovim, instead of vim, and it looks for $XDG_CONFIG_HOME/init.vim as it's startup file, and loads scripts etc from $XDG_DATA_HOME/nvim instead
<mfiano> $XDG_CONFIG_HOME/nvim/init.vim rather
<clever> mfiano: that can still work, just replace ~/.vimrc with init.vim in my directions
niklob has quit [Client Quit]
<mfiano> clever: Hmm, some things require an absolute path in the vim config
<clever> mfiano: it cant do things like ./foo to be relative to itself?, or $BASH_SOURCE[0] or $(pwd)ish?
<sphalerite_> mfiano: fwiw there's fancy wrapping stuff in nixpkgs for [neo]vim that takes care of packages and stuff as well
<mfiano> for example, it expects plugins to be in ~/.data on my machine, and ~/.config is sourced on startup, and using ../../ does not resolve
<sphalerite_> here's my simple vim config http://ix.io/Q89 and here's my more complicated neovim config https://github.com/lheckemann/dotfiles/blob/master/neovim.nix
vidbina has joined #nixos
<mfiano> yeah this is going to be difficult looking at yours
<mfiano> i have too much to learn and use like 100 plugins and config for each
<clever> ive never had to lookup the #include syntax for vim
<clever> mfiano: oh, i have an idea
<clever> mfiano: what if .vimrc set a vim variable, pointing to the directory with the rest of the config?
<clever> mfiano: then you use that variable in all the source statements
<mfiano> some expect a string literal :(
<fearlessKim[m]> when I get the time, I'll try to improve the vim_configurable so that it can be used with neovim/home-manager as well. Like right now vim paths are hardcoded, it doesn't set $MYVIMRC which break some scripts
<sphalerite_> fearlessKim[m]: it works with neovim already
<mfiano> clever: anyway, i don't have any source statements
<sphalerite_> just that to use it with neovim you do neovim.override { configure = …; } rather than vim_configurable.customize { … }
<fearlessKim[m]> sphalerite_: I use it but it hardly improves anything, like even vim plugins don't handle dependencies so what's the point
<mfiano> clever: all i have is 1 ~/.config/nvim/init.el, which uses plugins that are loaded from ~/.data/nvim/site/plugged and other directories in ~/.data/nvim
<sphalerite_> ah yeah, fair enough
<mfiano> err init.vim
hyper_ch2 has joined #nixos
<fearlessKim[m]> in fact I have vim_configurable define some paths towards binaries like clangd etc.. and then set $MYVIMRC & load source /home/teto/.config/nvim/init.vim
leat has joined #nixos
FRidh2 has joined #nixos
pie_ has joined #nixos
07EAA0KTB has joined #nixos
<07EAA0KTB> [nixpkgs] FRidh closed pull request #35814: libwacom: 0.26 -> 0.28 (master...auto-update/libwacom-0.26-to-0.28) https://git.io/vA6sO
07EAA0KTB has left #nixos [#nixos]
94KAAB0N1 has joined #nixos
<94KAAB0N1> nixpkgs/master 815d6ba Frederik Rietdijk: Merge pull request #35814 from ryantm/auto-update/libwacom-0.26-to-0.28...
<94KAAB0N1> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vA642
<94KAAB0N1> nixpkgs/master 215cef2 Ryan Mulligan: libwacom: 0.26 -> 0.28...
94KAAB0N1 has left #nixos [#nixos]
xAFFE has joined #nixos
xAFFE has left #nixos [#nixos]
xAFFE has joined #nixos
adisbladis has joined #nixos
rauno has joined #nixos
adisbladis has quit [Changing host]
adisbladis has joined #nixos
<robstr> Hey, I'm trying first time NixOS with the graphical iso, while booting I receive: "mount: mounting /dev/root on /mnt-root/iso failed: no such file or directory" on stage 1 - Can someone help here ?
<mfiano> clever: Alright. I edited my config so that it only references stuff under ~/.vim/, and the expected ~/.config/nvim/init.vim is a symlink to ~/.vim/vimrc. Now what do you suggest?
xAFFE has left #nixos [#nixos]
<clever> 2018-02-27 03:36:20 < sphalerite_> just that to use it with neovim you do neovim.override { configure = …; } rather than vim_configurable.customize { … }
<sphalerite_> robstr: did you use unetbootin?
<robstr> sphalerite_: yes
<clever> mfiano: using these 2, i believe you can generate a custom neovim, where the contents of init.vim are inside the string from lines 7-24
<sphalerite_> that'll be your problem
<sphalerite_> Try using dd instead
Itkovian has joined #nixos
<clever> mfiano: then, to pull in the .vim directory, you would do something like source ${./vim_configs}/something, or set plugin_search_path=${./vim_configs}/plugins, inside that string from 7-24 in my vim.nix
<mfiano> is it bad that i prefer vim to manage my plugins though?
<clever> mfiano: nix will then put a copy of the vim_configs directory into /nix/store/, and insert its path into the resulting string
<sphalerite_> mfiano: it's not bad per se, but nix has some advantages :D
<clever> mfiano: ive run into problems when i let vim install its own plugins
<clever> mfiano: for example, the wakatime plugin tries to be too smart, and tries to find wakatime.py, then run python on it
<clever> mfiano: python, and site-packages arent global, so it fails miserably
<mfiano> I develop a lot of vim stuff, and I am constantly updating all plugins with vim-plug to test
<clever> mfiano: and nixos already wrapped wakatime.py in a bash script that does everything for you
<clever> mfiano: so just deleting the 'python' element from the command fixes it
asuryawanshi has joined #nixos
<clever> but, its not managed by nix, so vim breaks it every time vim downloads the plugin
asuryawanshi has quit [Remote host closed the connection]
zzamboni has joined #nixos
asuryawanshi has joined #nixos
<mfiano> Well I rely on plugins being updated on-demand with 1 keybind in vim to test things, and changing thousands of lines of vimL is not my idea of fun.
17WAAUP8C has joined #nixos
07IACKQDU has joined #nixos
<17WAAUP8C> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vA6BD
<17WAAUP8C> nixpkgs/master 05de674 Frederik Rietdijk: Merge pull request #35757 from ryantm/auto-update/latte-dock-0.7.1-to-0.7.3...
<17WAAUP8C> nixpkgs/master 52efa97 Ryan Mulligan: latte-dock: 0.7.1 -> 0.7.3...
17WAAUP8C has left #nixos [#nixos]
<07IACKQDU> [nixpkgs] FRidh closed pull request #35757: latte-dock: 0.7.1 -> 0.7.3 (master...auto-update/latte-dock-0.7.1-to-0.7.3) https://git.io/vA6mC
07IACKQDU has left #nixos [#nixos]
<clever> ah :S
<clever> and its now 4am, i should get to bed
<sphalerite_> nobody's forcing you to use nix for it :)
<mfiano> Ok
<mfiano> So I just have to figure out how to make a package for this to be installed globally now
pxc1 has joined #nixos
periklis has joined #nixos
Tucky has joined #nixos
pxc1 has quit [Ping timeout: 256 seconds]
jensens has joined #nixos
vaninwagen has joined #nixos
rindvieh has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
<nkaretnikov> hi, i've installed a few packages with nox, but i don't see them in ~/.nix-profile/bin, why?
xAFFE has joined #nixos
<nkaretnikov> nevermind, i thought that agda's stdlib contains binaries, but i needed to install it via haskellPackages
xAFFE has quit [Client Quit]
Ralith__ has joined #nixos
chocopuff has quit [Quit: WeeChat 2.0.1]
civodul has joined #nixos
jgt has quit [Ping timeout: 245 seconds]
Ralith_ has quit [Ping timeout: 240 seconds]
<mfiano> sphalerite_: Are you still around?
<sphalerite_> yep
<mfiano> sphalerite_: I'm not sure what you mean by neovim.override { configure = …; }
Tucky has quit [Quit: WeeChat 2.0.1]
<mfiano> I don't understand all the vam stuff
<vaibhavsagar> mfiano: I use vim-plug like I did before Nix
<mfiano> vaibhavsagar: That's what I use too
zzamboni has quit [Quit: Leaving.]
<sphalerite_> but again, you don't have to use nix
<mfiano> So the question is a good way for a Nix newbie to install globally neovim which uses vim-plug to manage plugins itself
<sphalerite_> if it doesn't work with your workflow, you probably shouldn't use nix for this :)
<mfiano> So that he can continue configuring Nix with his preferred editor in a sane way
<sphalerite_> just install a regular neovim and configure it as you would without nix
<vaibhavsagar> mfiano: nix-env -i neovim
<fearlessKim[m]> mfiano: there is no support for vimplug just vam
<sphalerite_> nix-env -f '<nixpkgs>' -iA neovim
<sphalerite_> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<sphalerite_> vaibhavsagar: ^
<mfiano> sphalerite_: Yes, but I need vim with all plugins installed globally
aborsu has joined #nixos
<sphalerite_> what do you mean? For all users?
<mfiano> right
<sphalerite_> add neovim to systemPackages :)
<mfiano> I want to be able to user my user and root, and have my ~/.vim/ and ~/.config/nvim/ available to all users
<sphalerite_> and it should be fine to configure it via /etc/xdg
<mfiano> on all my machines :)
<mfiano> neovim is in systemPackages
<mfiano> but root doesn't have my user's config
<vaibhavsagar> mfiano: it's definitely doable, but might be out of reach if you're new to Nix
rogue_koder has quit [Quit: Konversation terminated!]
<sphalerite_> just make /etc/xdg/neovim/init.vim ?
<sphalerite_> or nvim, can't remember which one
<vaibhavsagar> e.g. you can create your own package that includes neovim and does the git fetching on install
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/38d7371dddd (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<sphalerite_> vaibhavsagar: mfiano wants a stateful setup managed by vim-plug, and not use nix for it
<vaibhavsagar> yes, I know
<sphalerite_> and not have to use nix for it on other machines
<sphalerite_> AFAIU
<vaibhavsagar> oh, that second requirement I was unaware of
<mfiano> Well not quite
zzamboni has joined #nixos
Tucky has joined #nixos
<mfiano> I want to a) be able to use `nvim` or `sudo vim` and have the same config (and all plugins/other files loaded by that same config), b) deployable to all my machines, c) by able to track my vim config as a separate dotfiles repository not specific to Nix for other users
ckauhaus has joined #nixos
zzamboni has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
zzamboni has joined #nixos
pie_ has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 252 seconds]
zzamboni has quit [Ping timeout: 268 seconds]
asuryawanshi has joined #nixos
zzamboni has joined #nixos
vidbina has joined #nixos
<mfiano> sphalerite_: and /etc/xdg/nvim is not checked by nvim - but some distributions set $VIM to this. however on Nix this wouldn't work because the system-global vim files to source before user files are not located there
<sphalerite_> oh ok
<mfiano> I'll give up and just deal with some vim functionality not working with sudoedit for now just to configure Nix some more
zzamboni has quit [Ping timeout: 248 seconds]
zzamboni has joined #nixos
winem_ has joined #nixos
reinzelmann has joined #nixos
<sphalerite_> :(
scribbler has joined #nixos
zzamboni has quit [Ping timeout: 248 seconds]
pie_ has joined #nixos
aborsu has quit [Quit: aborsu]
aborsu has joined #nixos
zzamboni has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
roberth has quit [Ping timeout: 252 seconds]
jonas_ has joined #nixos
jonas_ is now known as Guest73697
<robstr> sphalerite_: thank you, I tried with dd - now I receive : "SQUASHFS error: squashfs on /nix/ .ro-store ..." :-/
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<sphalerite_> robstr: weird. the image might be corrupted, did you check the hash sum after downloading it/
Guest73697 has quit [Client Quit]
<mfiano> sphalerite_: The problem is I can't just store everything in /etc anyway, since multiple users would need write access to update plugins in vim, and updating plugins as a user shouldn't affect the other user, so needs to be in $HOME of every user...but I don't think there is a very easy Nix solution for installing like this
nh2 has joined #nixos
<sphalerite_> that sounds... complex :)
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
scribbler has quit [Quit: scribbler]
pie_ has quit [Ping timeout: 248 seconds]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
knupfer has joined #nixos
<palo> Somebody here developing electron apps with nixos ?
<sphalerite_> !doesanyoneuse
<{^_^}> Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
5EXAAQG2L has joined #nixos
<5EXAAQG2L> [nixpkgs] FRidh closed pull request #35789: libmicrohttpd: 0.9.58 -> 0.9.59 (staging...auto-update/libmicrohttpd-0.9.58-to-0.9.59) https://git.io/vA6Os
5EXAAQG2L has left #nixos [#nixos]
94KAAB1O6 has joined #nixos
<94KAAB1O6> nixpkgs/staging 728e119 Ryan Mulligan: libmicrohttpd: 0.9.58 -> 0.9.59...
<94KAAB1O6> nixpkgs/staging 7737ef3 Frederik Rietdijk: Merge pull request #35789 from ryantm/auto-update/libmicrohttpd-0.9.58-to-0.9.59...
<94KAAB1O6> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vA6g9
94KAAB1O6 has left #nixos [#nixos]
<sphalerite_> but to answer your question a little bit, no I don't think we have any regular electron developers using nixos
periklis has quit [Ping timeout: 256 seconds]
<palo> sphalerite_: I also thought so, because I did not find anything on that topic :(.
<sphalerite_> I might be wrong though
<palo> even nodejs development seems to very hard under nixos
<sphalerite_> generally electron is a massive pain
rgc has joined #nixos
<palo> you mean package it ?
<etu> palo: I know that some people do nodejs
<adisbladis> palo: Nodejs is not hard at all on nixos
<adisbladis> Actually its not much different from any other distro
headfault has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
<adisbladis> palo: And for packaging nodejs apps we have multiple solutions depending on your choice of node package manager: http://github.com/svanderburg/node2nix
<adisbladis> etc
<sphalerite_> but all the electron apps I know of in nixpkgs are built from patched binary packages for other distros
<palo> but how do you run the programms you install in node_modules ? I mean there is for example 7zip-bin and 7zip-bin-linux which delivers binraries. and the linker can't find the dependencies
<headfault> Anybody else having a seriously bad day with nix 2.0pre5968_a6c0b773?
<palo> so far I use fhsUserEnv but it is quite a pain
<headfault> my system is pretty much bricked...
<sphalerite_> headfault: ??
<adisbladis> palo: You mean for natively linked deps? I just add them to a project local shell.nix
<headfault> nix-env hangs and must be killed with -9
<adisbladis> And do all my node development in a nix-shell
<palo> adisbladis: do you have a link to a project where I can look at your shell.nix files ?
<headfault> nix-collect-garbage resulted in every single package in my nix-profile being purged
<sphalerite_> headfault: can you not rollback?
<sphalerite_> o.o
<headfault> nope, too little space on my drive, so I had to garbage collect
<headfault> unfortunately
knupfer has quit [Ping timeout: 276 seconds]
<adisbladis> palo: I dont really do nodejs for fun so its not open source stuff. I can hack together an example for you.
<headfault> I have my system on github, so reinstalling is not a big deal, but...
andymandias has quit [Ping timeout: 252 seconds]
<palo> adisbladis: o that would be great
<headfault> nix-env grables the screen when downloading
<sphalerite_> you shouldn't need to reinstall completely, just boot the installer and mount your partitions without reformatting everything then just rerun nixos-install
<headfault> nix-info hangs with 100% cpu
<headfault> sphalerite_: good idea
<sphalerite_> we've had this quite a bit now so it's definitely a real issue, not daemon-client version mismatch as I thought before
<sphalerite_> but yeah, maybe don't gc *so* aggressively :p
<sphalerite_> surely you can at least keep one previous gen around?
<headfault> sphalerite_: running under virtualbox on a laptop with _required_ win 10 space hog => very limited space for nixos
<sphalerite_> :(
sigmundv has joined #nixos
<headfault> i'll try the nix-install trick, and see how it goes
<etu> headfault: nix-store --optimize # might help you a bit if you do it from time to time
<headfault> etu: thx!
<sphalerite_> or `nix optimise-store` with 2.0, bonus progress bar :D
<headfault> hehe
<etu> sphalerite_: Oh, I'm not that modern yet :)
<sphalerite_> headfault: also nix 2.0 is released so maybe it's a bug that was only in the prerelease version you're on
* etu is waiting for nixos-unstable to move forward
<headfault> sphalerite_: perhaps, since reinstalling is easy (home on separate partition), i might go for a resinstall with 2.0
<sphalerite_> I think nixos-install doesn't work with 2.0 yet
<headfault> sphalerite_: ah, damn...
<palo> adisbladis: thank you I.
<adisbladis> palo: Ohh forgot one nice thing!
<adisbladis> This part may be nice too
<palo> adisbladis: mkShell does not exist.
* palo is searching
<palo> adisbladis: I use stdenv.mkDerivation
<adisbladis> palo: It's a fairly recent nixpkgs thing. You could use https://ptpb.pw/64Yf/nix
<palo> I guess you have a shortcuts for that
<adisbladis> Just a slight convenience :)
<adisbladis> The result will be the same
<palo> sweet
roberth has joined #nixos
andymandias has joined #nixos
gspia has quit [Quit: Leaving]
jgt has joined #nixos
_habnabit has quit [Ping timeout: 240 seconds]
headfault has quit [Quit: Page closed]
_habnabit has joined #nixos
nadley has quit [Remote host closed the connection]
headfault has joined #nixos
nadley has joined #nixos
<headfault> sphalerite_, etu: I installed nix-1.11.6 from a local nixpkgs repo, and now things seem to work again!
<sphalerite_> \o/
<headfault> the nixUnstable in the repos is really honest about what it is! The clue is in the title ;)
<sphalerite_> haha
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ottidmes has joined #nixos
Itkovian has joined #nixos
rauno has joined #nixos
chaker has joined #nixos
Itkovian has quit [Client Quit]
Itkovian has joined #nixos
<jonge> hi there. i would like to write a default.nix file in my c++ project so i can automatically pull in all libraries i need. the little obstacle i have is that `gbenchmark` has `platforms=platforms.linux;` set, but i would need darwin activated here. now i feel a bit lost how to modify this package in a way that it sopports darwin.
<etu> jonge: You probably want an overrideAttrs
<jonge> etu i am currently staring at nix pill 14 (https://nixos.org/nixos/nix-pills/override-design-pattern.html) but first i need to reference a "global package" name (instead of local .nix path) before i can modify it
<jonge> etu oh thanks for throwing "overrideattrs" at me. https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs this is much more guiding in this particular case.
knupfer has joined #nixos
<jonge> etu https://gist.github.com/tfc/2fd05667bb13a4a8973fdabae662e977 somehow this does not work. i can invoke `nix-shell` on it without syntax errors, but it's still not available
michiel_l has joined #nixos
<symphorien> jonge: put parens around (gbenchmark.overrideAttrs (...))
<jonge> symphorien: just did so. unfortunately, this changes goes with no effect.
MP2E has quit [Remote host closed the connection]
<symphorien> What if you nix-build default.nix ?
oida has quit [Quit: byez]
<jonge> completely the same error message. "...libraries/gbenchmark/default.nix:19 is not supported on x86_64-darwin, refusing to evaluate"
oida has joined #nixos
<symphorien> Ahh
headfault has quit [Ping timeout: 260 seconds]
jgt has quit [Quit: WeeChat 1.9.1]
<symphorien> I thought "it is not available" meant "builds fine, but not present in the shell then"
<jonge> i hope that i can one day use so many different libraries with ease like a ninja using nix. but currently i am stumbling over such problems all the time, not understanding how to solve. :'-D
<jonge> oh, no. sorry i should have posted the actual error message earlier. one moment, i will add it to the gist.
<symphorien> I have a fuzzy memory that overrideAttrs doesn't work with meta and there is a overrideMeta somewhere, maybe
<jonge> symphorien: please reload the link https://gist.github.com/tfc/2fd05667bb13a4a8973fdabae662e977
<symphorien> Try grepping nixpkgs for that
<jonge> symphorien: https://github.com/NixOS/nixpkgs/blob/master/lib/meta.nix "addMetaAttrs"? is that the right thing?
<symphorien> Otherwise a work around is suggested in the error message
<jonge> symphorien: my hope was that i can try if that works - and then open a pull request on nixpkgs adding that platform.
<symphorien> import nixpkgs { config = { allowBroken = true ; } }
<jonge> to learn it "the right way"
<symphorien> That is the same
<symphorien> Allowbroken means ignore platforms
<symphorien> Then if it works you can safely add it in a PR
<jonge> ok, can i add that into my default.nix file or does it have to go into a more global file (like mentioned in the error msg)?
<symphorien> Replace import nixpkgs {} by
<symphorien> import nixpkgs { config = { allowBroken = true ; } }
<jonge> ok that works.
<symphorien> :)
<jonge> so when my application builds and links with that on mac - is my eyewitness "i have experienced it to work" enough to justify a pull request which adds x86_64-darwin to the platforms?
<Phlogistique> has anyone done unattended installs of NixOS through PXE?
<adisbladis> Something like https://ptpb.pw/bGpj/nix might work
<symphorien> jonge: I guess so
<jonge> symphorien: ok thank you!
<adisbladis> jonge: I think so. A lot of the time the only reason darwin is not there in the first place is the original author not having the means to test things on darwin.
chaker` has joined #nixos
<jonge> adisbladis: makes sense.
<genesis> i confirm...
<symphorien> You can test that it really works, not only compiles, since you know how to use it
<genesis> and some dep on darwin are not available or broken .
<LnL> jonge: yes, please send pull requests enabling things that work :)
chaker has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/87c057a9c16 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
Ivanych has quit [Ping timeout: 252 seconds]
Ivanych has joined #nixos
<hyper_ch2> it's freezing here... more than freezing... like -10°C :(
rauno has quit [Remote host closed the connection]
<jonge> just -5 here. :D where are you
pie_ has joined #nixos
gspia has joined #nixos
<hyper_ch2> jonge: at the office :) well, inside it's warm but outside it ain't (Switzerland)
rauno has joined #nixos
rui has joined #nixos
<adisbladis> Cold today.. Just 18 degrees :O
kandinski has joined #nixos
zzamboni has quit [Quit: Leaving.]
<hyper_ch2> adisbladis: that's like high summer temperaturs
<hyper_ch2> get the swim suit and enjoy the beach
rauno has quit [Remote host closed the connection]
<adisbladis> hyper_ch2: Beach?! This is no weather for the beach...
rauno has joined #nixos
<adisbladis> Water temp is roughly the same as air temp
<hyper_ch2> it's like really hot... you need to go to the beach so you can cool down your body before you'll over heat
rui has quit [Client Quit]
<kandinski> I have a plan to install nixos on my laptop using qemu on a spare disk before I boot from it.
<kandinski> This is so I can keep using the laptop for irc and web while I get the new system working. Any tip or better suggestion?
<hyper_ch2> kandinski: why?
<hyper_ch2> (get a second notebook)
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
<hyper_ch2> kandinski: why that trouble? do you fear something won't work?
<adisbladis> kandinski: Sounds good to me.
<kandinski> no, I need irc and web to look up documentation while I install.
zzamboni has joined #nixos
<adisbladis> kandinski: The graphical installer comes with everything you would need in that regard
<kandinski> adisbladis: thanks. I would have to re-run hardware discovery after I reboot on the host laptop, right?
<adisbladis> kandinski: Yes, you would.
<hyper_ch2> I'd also just use live iso
<hyper_ch2> sounds less painful IMHO
<kandinski> hyper_ch2: I Plan to use the live iso, but from qemu.
<adisbladis> Well if a browser is the only concern I would use live iso.
patrl has joined #nixos
zzamboni1 has joined #nixos
zzamboni has quit [Remote host closed the connection]
<LnL> it's -5 here and people are freaking out about it for some reason :p
<kandinski> adisbladis: also so I can do everything else for work etc while I tinker with the new system. I'll report on how I go.
<silver_hook> Silly end-user question: What music player packaged for Nix has Deezer integration?
<patrl> hi everyone. Before I spend a lot of time on this, I was wondering if anyone has had any success building the scuttlebutt Patchwork app on NixOS
<symphorien> patrl: there is an open PR for it
rauno has quit [Remote host closed the connection]
<goibhniu> silver_hook: I think tomahawk supports deezer
<patrl> thanks @symphorien, I missed that somehow
iyzsong has joined #nixos
rauno has joined #nixos
orivej has joined #nixos
rauno has quit [Remote host closed the connection]
<jonge> hm... i am trying to build a nix package for the c++ lib catch2. it is just a header file and it should be easy. however, i do not succeed: https://gist.github.com/tfc/38aef29dc70a386310ad872200a21a4c
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jonge> it just needs to download the header file and put it into `/nix/store/....catch2.1.2/include/catch/catch.hpp`. nothing else.
thblt has quit [Ping timeout: 248 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
rauno has joined #nixos
<symphorien> jonge: create another file with content : with import <nixpkgs> {}; callPackage ./myfile.nix {}
<symphorien> And build this file instead
abathur has quit [Ping timeout: 260 seconds]
<symphorien> This will call the function in your file with the required arguments
pie_ has quit [Ping timeout: 240 seconds]
<jonge> symphorien: wow i see. that does something. :) thank you
nixer101 has joined #nixos
<nixer101> Hi! I have a video problem with openarena and urbanterror games on current Nixos(x64), radeon driver. These games work on KDE Neon. When I launch these games, I get black screen and can hear sound in background. The input is working. If I manage to kill the game or just reboot, I get black screen past KDE login. Kscreen seem to set itself to 1024x768, if I delete .local/share/kscreen/*, the screen is ok after login.
<nixer101> I have monitor connected to HDMI, this is the only type of input the monitor supports.
<nixer101> The freeorion is not affected, this may be a problem with quake3-based games.
<mfiano> how often are nix pills released? 19.6 mentions a next pill on the way so i assume this book is ongoing still?
<nixer101> glxinfo says I have direct rendering and correct accelerated driver (llvm 4, openg 4.5 etc)
<jonge> symphorien: it tells me that it does not know how to unpack the archive. but it's not an archive, it's "just that file" which now needs to be moved to $out/include/catch. i do not see how i can prevent it from trying to unpack
bara has quit [Ping timeout: 256 seconds]
bara has joined #nixos
<LnL> mfiano: the original author stopped writing a while back, but I think somebody else is working on another chapter based on what was mentioned in the last pill
<lejonet> jonge: https://nixos.org/nixpkgs/manual/#ssec-unpack-phase look at the unpackCmd, might be possible to fix it with that
<mfiano> LnL: i see, thanks
jensens has quit [Ping timeout: 245 seconds]
<sphalerite_> is there a good way to have remote builders not abort the job if the connection is lost?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c5be8a4a236 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jonge> symphorien: oh my... i just wrote my first functioning nix package. wtf. thanks man!
<LnL> :D
aarvar has quit [Quit: Leaving.]
<silver_hook> goibhniu: I think it does, but does it work nowadays? I think the development stalled some time ago.
<goibhniu> sorry, no idea
aarvar has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<silver_hook> Eh, I’ll just give it a spin :)
aarvar has quit [Client Quit]
<silver_hook> goibhniu: Bah. It segfaults
* LnL stares at the first page of pull requests
<goibhniu> silver_hook: qt related?
<joko> Hey, is is possible to give the root password for nixos-install as a parameter?
<silver_hook> goibhniu: Don’t think so, no ^ see ^
<goibhniu> silver_hook: yep, doesn't look like it :/
<silver_hook> Oh well, back to the drawing board :)
schoppenhauer has quit [Ping timeout: 252 seconds]
<silver_hook> I have on my ToDo to some day package Elisa.
pkill9 has joined #nixos
<jonge> how does nix determine the hash of a _directory_? i get "output path /nix/store/...-src has r:sha256 hash "foo" when "bar" was expected"
<ottidmes> Is there a way to say: "I know these files conflict, just give priority to that one"? I have a custom samba setup, but when samba is disabled it will write a dummy file to /etc/samba/smb.conf, while the custom samba setup also writes to this file, so I want it to ignore the dummy file, I could just change the code in nixpkgs that does this, but is there a non-invasive way to give this prio?
<LnL> jonge: either it imports a literal path like ./. and calculates this for you at eval time or it's a fixed output drv in which case the derivation has to specify what it's going to be upfront
<nixer101> does anyone know how to install all Gstreamer stuff at once and also add it as backend for phonon? Thanks!
<jonge> LnL the thing is that i wrote my own package that uses `fetchFromGitHub` and as a sha256 attr i gave it the hash of the downloaded tarball. after unpacking it claims that there is a mismatch in the _folder_, which i do not understand how and why
<LnL> jonge: ah! use nix-prefetch-url -A foo.src
<LnL> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<sphalerite_> jonge: it dumps it as a nix archive (deterministic stream archive of a dir) and hashes that
<LnL> for fetchFromGitHub it's the unpacked hash not the hash of the tarball
<woffs> jonge: the manual page of nix-prefetch-url has an example
<jonge> LnL: sphalerite_ ok i do not really understand that now... the have i give it is completely different from what the message says would be expected.
<jonge> *the hash i give it
<sphalerite_> jonge: yeah, just copy in the one it says it got
<jonge> sphalerite_: ok, that works.
<jonge> thank you. on to the next obstacle. :D
schoppenhauer has joined #nixos
<jonge> wtf... this just builds again.
<robstr> sphalerite_: Oh you are right,now it is working iso was not ok
<jonge> this stuff (nix) amazed the shit out of me.
<robstr> sphalerite_: thank you
<sphalerite_> robstr: phew!
alex`` has joined #nixos
<silver_hook> It seems Mellow Player and Babe support Deezer (and Jamendo). Neither are packaged yet for Nix though, damn.
<silver_hook> Stupid silly question: is it possible (I know it’s not sensible) to run AppImages on NixOS?
<sphalerite_> sensible is subjective :D
<sphalerite_> I think it should be possible with some amount of fiddling
pxc1 has joined #nixos
<sphalerite_> you might need to invoke the linker yourself, and use LD_PRELOAD to get it to load libc. But beyond that I think it should maybe work
<silver_hook> sphalerite_: Sounds about as much work as writing a Nix expression for it :p
michas__ has joined #nixos
<sphalerite_> I don't think so
<sphalerite_> bleh. On the one hand I think it's really cool that librsvg is using Rust because Rust is awesome. On the other hand, Rust isn't currently bootstrapping successfully on my chromebook so now I can't build librsvg which means I can't build imagemagick which means I can't build nixos-icons which means I can't build my nixos config >.>
<TimePath> Ah, dependency hell
<adisbladis> silver_hook: You might have to do a lot of patchelfing and such
<TimePath> Surely rust was working at some point?
<adisbladis> silver_hook: So I think in general you are better off writing a nix expression
<nixer101> does anyone know how to install all Gstreamer stuff at once and also add it as backend for phonon? Thanks!
<sphalerite_> TimePath: it was, but not on current nixos-unstable for ARM
<silver_hook> adisbladis: Yeah, I feared as much.
<michas__> Hi, is there a good way to find out why some dependency is installed, i.e. which other package depends on it?
pxc1 has quit [Ping timeout: 265 seconds]
<silver_hook> Oh well, will take a stab one day.
* silver_hook ’s list of packages to package is growing :p
<sphalerite_> michas__: nix-store -q --referers
<sphalerite_> referrers
<TimePath> sphalerite_: oh, ARM Chromebook, that changes things
<sphalerite_> TimePath: :)
<adisbladis> silver_hook: What are you trying to run?
<adisbladis> Because I have only ever hit one package that was not in nixpkgs that I could find as an appimage
<silver_hook> adisbladis: Nothing yet, but was thinking of running Mellow Player’s AppImage.
headfault has joined #nixos
<adisbladis> silver_hook: Just a cursory glance makes me think it's not a ton of work to package :)
<TimePath> It'd run with steam-run wouldn't it?
headfault has left #nixos [#nixos]
<silver_hook> adisbladis: Yeah, I’ll probably package it one day :)
patrl has quit [Quit: WeeChat 1.9.1]
<TimePath> (the appimage)
<silver_hook> So far I co-wrote one or two easy packages, but forgot everything. Now I’m packaging Lokalize and it’s a PITA so far.
<sphalerite_> TimePath: oh yeah good point, or probably a plain FHS user env as well
<silver_hook> e.g. missing docs for KDE-relevant Nix shortcuts.
<sphalerite_> steam-run is a pain because it's so much to download
<ottidmes> michas__: You should check the manpage of nix-store, the --query part, I believe for your question the answer is: nix-store -q --referrers /nix/store/your/path
<TimePath> sphalerite_: there's a non-steam steam-run?
<nixer101> does anyone know how to install phonon+gstreamer? Thanks!
pie_ has joined #nixos
<sphalerite_> TimePath: sort of :) buildFHSUserEnv makes a nix-shell environment which fakes FHS stuff using user namespaces and stuff but with the nix-packaged libraries
<michas__> ottidmes: thanks. according to that, "system-path" depends on it. what does that mean?
TweyII has joined #nixos
orivej has joined #nixos
<TimePath> sphalerite_: oh cool, that's all factored out of steam
<TimePath> Fortunately everything I use is already packaged though
<sphalerite_> TimePath: the steam runtime is a completely separate beast
<sphalerite_> all the libraries are compiled and dsitributed by Valce
<sphalerite_> Valve
<TweyII> If I have an expression with arguments, what's a nice way to build '(import <nixpkgs> { }).callPackage (import ./my-package.nix)' from the command line and drop into a shell with that thing? I've always made an environment derivation with stdenv.mkDerivation { env = buildEnv … } every time, but surely there's a nicer way just to drop into an environment with that one package available
<TweyII> I guess `nix-shell -E '(import <nixpkgs> { }).callPackage (import ./folly.nix) { }'` works, but that too feels a bit clumsy
zzamboni1 has quit [Quit: Leaving.]
<TweyII> So I often end up writing my derivations with ... arguments just so I can say 'nix-shell my-package.nix --arg 'import <nixpkgs> { }', which is slightly nicer
<sphalerite_> TweyII: nix-shell -p '(import <nixpkgs> { }).callPackage (import ./my-package.nix)' ?
<sphalerite_> err actually not quite
zzamboni has joined #nixos
<sphalerite_> nix-shell -p '(import <nixpkgs> { }).callPackage ./my-package.nix {}'
<hodapp> woo, TensorFlow build is fixed! for now...
<sphalerite_> err no since it has with import <nixpkgs> {}; automatically…
rindvieh has quit [Remote host closed the connection]
<sphalerite_> TweyII: nix-shell -p 'callPackage ./my-package.nix {}'
<sphalerite_> There, I think that's my final answer xD
<Izorkin> how to need to show progress build vith nix 2.0?
<sphalerite_> Izorkin: use nix build instead of nix-build. The command line syntax is a bit different unfortunately
juselius has joined #nixos
juselius has quit [Remote host closed the connection]
<Izorkin> sphalerite: "nix build" not show progress build in stdout
<sphalerite_> oh you mean to get the log?
<sphalerite_> replace `build` with `log` in your build command
<sphalerite_> or you can use the old nix-build command which still behaves the same as well
<infinisil> Izorkin: And i think you might need sudo..
rindvieh has joined #nixos
<sphalerite_> infinisil: what? why?
romildo has joined #nixos
<infinisil> sphalerite_: it's weird, but for some reason progress hasn't been working for non-root users for a while, not sure if it's been fixed
<michas__> sphalerite_: Is there a good way to find out why (according to --referers) "system-path" depends on xwayland?
<sphalerite_> huh, I haven't seen that at all
<infinisil> sphalerite_: Check out eelco's demo of the progress thing at nixcon, i'm pretty sure he uses root
<sphalerite_> infinisil: it's been working fine for me since I started using 1.12pre, which must have been sometime in November
<infinisil> He did not use root, whoops
<infinisil> Alright that's nice to hear
romildo has quit [Client Quit]
<sphalerite_> michas__: typically that means it's in systemPackages. Unfortunately it's not easy to track down where each item of systemPackages comes from AFAIK :/
<infinisil> > This works only as root because progress messages aren't tunneled over the nix-daemon client connection.
<sphalerite_> oh but that was ages ago :p
<infinisil> I remember having that problem not too long ago when I tried out the nix commands for the first time
<infinisil> Eh, just glad it's not there anymore :)
<Izorkin> sphalerite: "nix build"does not show where the package is? nix-build <nixpkgs> -A mc showing - /nix/store/xliwqc6fsiv4al4n46i6iqz7blqpq24c-mc-4.8.19
<michas__> sphalerite_: I already checked configuration.nix. It is not specified explicitly. I guess some enabled module implicitly adds it somehow.
dynamicudpate has quit [Read error: Connection reset by peer]
<sphalerite_> Izorkin: it creates a result symlink
headfault has joined #nixos
reinzelmann has quit [Ping timeout: 252 seconds]
dynamicudpate has joined #nixos
<genesis> enableParallelBuilding is not true by default ? sound weird to explicit it in derivation
<genesis> i imagine it haves to be tested and could failed anyway
<TimePath> Some makefiles misbehave with parallel builds
<TimePath> But only sometimes
<TimePath> Since nix caches builds, problems could go unnoticed for a while and then break randomly
aborsu has quit [Quit: aborsu]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
headfault has left #nixos [#nixos]
<sphalerite_> and sometimes it causes nondeterministic behaviour
<sphalerite_> err, well, that's a case of nondeterminstic behaviour
headfault has joined #nixos
<sphalerite_> but also nondeterministic *output*
<Myrl-saki> Is there any news about following stackage?
<sphalerite_> and for machines that are building a lot of stuff they can usually exploit parallelism at the derivation level by building severla derivations at once so it doesn't matter that much
reinzelmann has joined #nixos
<genesis> just try to reduce my build time of mame :D
<genesis> they embed lot of 3rdparty they dont want to build apart.
kelleyNif has joined #nixos
<genesis> for classic bad reasons i don't want argue.
<ij> I'm trying to make a derivation that would work for both a nix-shell and as a store directory full of executables. i.e. what bundlerEnv does when I get (bundlerEnv …).env. Do I need a buildEnv instead of a mkDerivation without a src attribute?
<sphalerite_> ij: so something to install or shell into?
<sphalerite_> yeah I think buildEnv is the right thing for that
patrl has joined #nixos
headfault has quit [Remote host closed the connection]
__Sander__ has joined #nixos
coot has joined #nixos
<ij> manveru, Shouldn't a bundlerEnv include ruby?
smrtak[m] has joined #nixos
goibhniu has quit [Ping timeout: 240 seconds]
<sphalerite_> Is there a way to list all the valid paths in the store?
<sphalerite_> or to clean up invalid ones
JazzyEagle has quit [Quit: WeeChat 2.0.1]
<Izorkin> command - nix copy --from ssh://user@server-test /nix/store/...-libressl-2.6.3-bin --no-check-sigs error - cannot add path '/nix/store/...-libressl-2.6.3' because it lacks a valid signature. How to fix?
<ij> sphalerite_, Are invalid paths the ones that don't match the hash?
pie_ has quit [Ping timeout: 240 seconds]
<sphalerite_> ij: they're ones that weren't registered as valid
<sphalerite_> ij: AFAIK this applies to lock files and anything that was added under nix's nose
<sphalerite_> but I'm X-Ying here. I want to get the hashes of all the valid paths from two different systems and compare them to see if there are any differences in the paths that they share
<sphalerite_> to find out about nondeterministic stuff across machines that are quite different from each other
freeman42x]NixOS has joined #nixos
vaninwagen has quit [Ping timeout: 245 seconds]
headfault has joined #nixos
Itkovian has joined #nixos
<ij> I've a rails application to whose source directory I want to add assets. That means I'll take up source*2+assets disk space? Or can I make builder that copies source temporarily, builds and only then copies?
<sphalerite_> ij: is symlinking an option?
<sphalerite_> I'm not sure what you mean by your suggestion
<sphalerite_> FWIW if you have the same files twice in the store nix optimise-store will deduplicate them. Although in that case they will still initially take up that space
<ij> That might work, I'll have to see whether I can override some locations.
<ij> Does that only run on request/
orivej has quit [Ping timeout: 256 seconds]
ryantrinkle has quit [Ping timeout: 245 seconds]
<sphalerite_> ij: yes, although there is a setting for it (auto-optimise-store or something). Check man nix.conf. I think there's also a nixos option to have it run periodically
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vA6jL
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master dc7f2ee Frederik Rietdijk: pipenv: 9.0.1 -> 10.0.1
goibhniu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35708: fossil: 2.3 -> 2.5 (master...auto-update/fossil-2.3-to-2.5) https://git.io/vA6IZ
NixOS_GitHub has left #nixos [#nixos]
ottidmes has quit [Quit: WeeChat 1.9.1]
rindvieh has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vA6jV
<NixOS_GitHub> nixpkgs/master fda4b93 zimbatm: nodejs: keep the build headers (#35568)...
NixOS_GitHub has left #nixos [#nixos]
<manveru> ij: the gems have ruby, you can get the bundlerEnv ruby from the wrappedRuby attribute of your env
<infinisil> Over 700 PR's :O
<ij> Has anyone deployed rails to production with nix?
<manveru> i have
<WilliamHamilton> hi, does anyone know how to modify `default.nix` or `shell.nix` of a haskell project in order to use ihaskell in it with the dependencies of the package? I can install `nixos.ihaskell`, but it seems to come with siloed ghc packages
<adisbladis> infinisil: I have merged around 80 in the last two days..
<infinisil> adisbladis: Nice work!
lord| has quit [Quit: WeeChat 2.0.1]
<headfault> Can someone explain this: If I do "nix-env -iA nixos.zlib.dev", there is still no reference to include/zlib.h, lib/libz.a nor lib/pkgconfig/zlib.pc in ~/.nix-profile. There is however a lib/libz.so. If I install eg. libxslt or libxslt.dev, I cannot find any trace of them in ~/.nix-profile, nor using pkg-config --list-all. It's awfully tedious to list packages in CPATH and LIBRARY_PATH explicitly from /nix/store when building software ad hoc...
<infinisil> ryantm seems to have opened like 50 PR's with libfoo updates
<ij> manveru, How did you do the asset precompulation?
<nixer101> does anyone know how to install phonon+gstreamer? Thanks!
<ij> manveru, precompilation* :D
<Guanin> Hi, I want to use curl in "AuthorizedKeysCommand" for openssh. Is there a way to fetch the absolute path to curl?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35816: libwpg: 0.3.0 -> 0.3.2 (master...auto-update/libwpg-0.3.0-to-0.3.2) https://git.io/vA6sX
NixOS_GitHub has left #nixos [#nixos]
<manveru> ij: i basically run `rake assets:precompile` and then copy the assets to $out/public/assets
jtojnar has quit [Remote host closed the connection]
GlennS has quit [Quit: No Ping reply in 180 seconds.]
jtojnar has joined #nixos
<ij> manveru, Do you perhaps have the code online? Do you create a new derivation with the assets from another derivation with the source?
chisui has joined #nixos
GlennS has joined #nixos
<manveru> it's basically like this
patrl has quit [Ping timeout: 252 seconds]
<manveru> i can't share the full source, but hopefully that gets you further :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andsild opened pull request #35848: htop-vim: init at 70c91d6d598f15b0311ae6779810e036133e72d2 (master...htop-vim) https://git.io/vAieR
NixOS_GitHub has left #nixos [#nixos]
<infinisil> htop-vim? :O
<ij> manveru, Awesome, that's as much as you need.
<manveru> i just realized i could've just merged the fullEnv into the derivation...
<manveru> oh well :)
sirkha has quit [Quit: Leaving]
<nixer101> does anyone know how to install phonon+gstreamer? Thanks!
<ij> manveru, Is $src a path inside the store? Why didn't you put rails root in $out, but in $out/foobar insteaed?
<manveru> ij: no problem, making derivations for rails apps takes a bit of effort... you have to avoid stepping on all the landmines bundler and rails have prepared :(
Phillemann has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
nixer101 has left #nixos ["Konversation terminated!"]
nixer101 has joined #nixos
<Phillemann> I'm trying to pin a specific nixpkgs version by using "src = fetchFromGithub { ... }". But then, how do I translate "import <nixpkgs/nixos/lib/.../foo.nix>" to be relative to "src"?
nixer101 has left #nixos ["Konversation terminated!"]
<Phillemann> ${src}/nixos/... is syntactically invalid.
<infinisil> Phillemann: import "${fetchFromGitHub ... }/nixos/.../foo.nix"
<Phillemann> Ah, so just add quotation marks.
<ij> Phillemann, If your there's a NIX_PATH=nixpkgs=/path/to/nixpkgs then <nixpkgs/further> translates to /path/to/nixpkgs/further, if that helps.
<ij> /path/to/nixpkgs/further is just a string, yeah
<Phillemann> I was simply confused syntactically I think.
reinzelmann has quit [Ping timeout: 240 seconds]
<Phillemann> Okay, it works. Thanks! :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #35388: pythonPackages.magic-wormhole: patch the call to 'locale' (master...adunham/magic-wormhole-locale) https://git.io/vA2Md
NixOS_GitHub has left #nixos [#nixos]
ryantm has joined #nixos
chaker` has quit [Remote host closed the connection]
<ryantm> Wow, a lot got merged!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAivA
<NixOS_GitHub> nixpkgs/master 6f6d082 adisbladis: Merge pull request #35749 from ryantm/auto-update/latex2html-2016-to-2018...
<NixOS_GitHub> nixpkgs/master 430dc52 Ryan Mulligan: latex2html: 2016 -> 2018...
NixOS_GitHub has left #nixos [#nixos]
<TweyII> sphalerite_: Oooooh -p evaluates!
<robstr> did I understand correct, when installing nixos - lvm volumes are recommended over partitions ? :-/
<gchristensen> robstr: no, set it up however you like
<gchristensen> we have no specific preference for lvm
<TweyII> NixOS installation neither requires nor helps with any particular disk layout :(
<robstr> gchristensen: ok, what is the general opinion ? On my current debian i just clicked next :P
<gchristensen> robstr: me? I like to use a single ext4 partition with no swap for almost all of my systems.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4034ca7 Ryan Mulligan: leocad: 17.07 -> 18.02...
<NixOS_GitHub> nixpkgs/master 6a10134 adisbladis: Merge pull request #35751 from ryantm/auto-update/leocad-17.07-to-18.02...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAifa
<ryantm> robstr: What kind of application are you installing it for?
<gchristensen> simple, reliable, nothing to write home about. if I have a lot of disks I'll use zfs
davidcl has quit [Remote host closed the connection]
<TweyII> I'm using a three-partition setup under LVM under LUKS
<TweyII> Might switch to ZFS some day :)
<robstr> ryantm: private / working stuff
* goibhniu likes XFS for large data partitions
<ryantm> I'm using f2fs on my private stuff because supposedly it's good for SSDs. I use ext4 everywhere else. Really this choice has little to do with NixOS and more to do with whatver your application is.
<ryantm> Like, I use LVM whenever I want to do a database machine, because it allows for quick live backups.
<robstr> thank you
* etu runs lvm+ext4 on most systems
<gchristensen> Profpatsch: thank you a lot for the pledge!
<etu> lvm is nice since it's easy to rearrange partitions
rindvieh has joined #nixos
<adisbladis> zfs all the way baby
patrl has joined #nixos
* adisbladis is hopeful for bcachefs in the future
<robstr> currently i dont see a benefit of using partitions :-/
<robstr> i will go with single partition ext4
* etu has his lvm in luks as well
Phillemann has left #nixos ["WeeChat 2.0.1"]
reinzelmann has joined #nixos
<Profpatsch> gchristensen: Let’s pierce the heavens. :)
<gchristensen> I really don't like LVM, because I can never remember how to do things with it when things are broken and I'm stressed
<etu> robstr: If you use EFI you need an ESP that's fat32
<TweyII> gchristensen: That's just a matter of practice :þ
<TweyII> It's pretty discoverable to be fair
<hodapp> hm, I only have used ZFS on FreeBSD so far
<ryantm> Darn, my server got stopped by the mblaze package. Somehow it eluded my timeout kill command.
<adisbladis> hodapp: Ive been using it on Linux since around 2011 without any issues :)
oida has quit [Ping timeout: 252 seconds]
<Profpatsch> gchristensen: https://www.youtube.com/watch?v=0l__jSgTAmQ That’s the ofborg soundtrack, right? :)
<TweyII> I didn't realize ZFS was a thing on Linux until I joined this channel and saw people raving about it
rindvieh has quit [Ping timeout: 240 seconds]
<robstr> etu: thank you
<gchristensen> Profpatsch: no doubt!
rauno has quit [Ping timeout: 260 seconds]
<etu> robstr: And if you use luks or encrypted disk in general you probably need to have a boot partition that is unencrypted (there's ways around that nowadays with grub)
mg- has quit [Ping timeout: 240 seconds]
<etu> robstr: That's a few reasons for partitions :)
<gchristensen> Profpatsch: though I sort of imagined Kraftwerk's The Robots
<avn> well, zfs is one of best fs, but usually it need ext4/xfs volume aside, for crap which need fast random writes (like torrents)
davidcl has joined #nixos
<Profpatsch> gchristensen: It’s a mixture. :P
<gchristensen> :)
oida has joined #nixos
<Guanin> avn, do I understand it correctly, that zfs is also not well suited for databases because of that?
<gchristensen> man, I got to see Kraftwerk in concert a few years ago and one of their robots was broken (._.)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andsild closed pull request #35848: htop-vim: init at 70c91d6d598f15b0311ae6779810e036133e72d2 (master...htop-vim) https://git.io/vAieR
NixOS_GitHub has left #nixos [#nixos]
rindvieh has joined #nixos
szicari has joined #nixos
Rusty1_ has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ryantm> Profpatsch: I linked your comment about confd to the PR.
rindvieh has quit [Ping timeout: 252 seconds]
<Profpatsch> ryantm: Thanks, don’t take my criticism too harshly.
<Profpatsch> Every bit of automation is *awesome*
<Profpatsch> So please keep on rocking. +1
<ryantm> Profpatsch: I'm not taking it harshly; I am worried about this breaking stuff too.
arximboldi has joined #nixos
patrl has quit [Ping timeout: 252 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexteves_ has joined #nixos
<ryantm> Profpatsch: is the spam comment about jquery because the version number it updated to is obviously wrong?
<ryantm> gchristensen: Can I do more PRs?
coot has quit [Quit: coot]
<gchristensen> ryantm: how many do you have?
<ryantm> 25
headfault has quit [Remote host closed the connection]
ottidmes has joined #nixos
<gchristensen> ok, but probably before the next big series we should talk more strategically about how we handle this
arximboldi has quit [Quit: arximboldi]
ryantrinkle has joined #nixos
<ryantm> Ok, I probably want to do a bunch more tonight (in 12 hrs), if my server doesn't get stuck again. I can try to give you a few updates about how many I'll have throughout the day.
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35851: mopidy-mopify: 1.5.17 -> 1.6.0 (master...auto-update/mopidy-mopify-1.5.17-to-1.6.0) https://git.io/vAiLc
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35852: mopidy-moped: 0.6.0 -> 0.7.0 (master...auto-update/mopidy-moped-0.6.0-to-0.7.0) https://git.io/vAiLR
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35854: monit: 5.23.0 -> 5.25.1 (master...auto-update/monit-5.23.0-to-5.25.1) https://git.io/vAiLK
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35855: mod_wsgi: 3.5 -> 4.5.24 (master...auto-update/mod_wsgi-3.5-to-4.5.24) https://git.io/vAiLi
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #35856: lightdm-gtk-greeter: 2.0.3 -> 2.0.4 (master...update-gtk-greeter) https://git.io/vAiLX
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35857: mlterm: 3.8.0 -> 3.8.4 (master...auto-update/mlterm-3.8.0-to-3.8.4) https://git.io/vAiLM
NixOS_GitHub has left #nixos [#nixos]
<LnL> have mercy! we surrender :p
<Profpatsch> ryantm: yeah, pretty much.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #35858: mlmmj: 1.2.19.0 -> 1.3.0 (master...auto-update/mlmmj-1.2.19.0-to-1.3.0) https://git.io/vAiL9
NixOS_GitHub has left #nixos [#nixos]
<Profpatsch> Can’t do a 1.x.x -> 3.x.x update without basically breaking every single thing.
<Profpatsch> The build system must have changed four times. ;)
bluebelly_ has quit [Quit: Konversation terminated!]
<ryantm> I'm only commiting these updates if it builds on my NixOS server.
rindvieh has joined #nixos
<Profpatsch> The problem is: what does a succeeding nix build really mean, for e.g. a python project.
<gchristensen> eh if 1 out of every 100prs is bogus, that seems pretty solid
<ryantm> I'd be surprised if it was that good
Itkovian has joined #nixos
<Profpatsch> patch releases can be merged right away if they succeed, minor releases should have the maintainer verify.
<Profpatsch> Wasn’t there a patch for changing the maintainers file to include github handles?
<ryantm> Yes. I'll dig it up.
iyzsong has quit [Ping timeout: 260 seconds]
<alexteves_> So, there used to be a "-drv-link" option that would IIUC take a symlink to a derivation, and make that derivation a gc root.
<alexteves_> Is https://nixos.org/nix/manual/#ssec-gc-roots the only supported way to add gc-roots now?
reinzelmann has quit [Quit: Leaving]
<LnL> nix-instantiate --indirect --add-root $PWD/result.drv
<alexteves_> Also, removed :P
<alexteves_> Or rather, ignored
<LnL> that's nix-build
<alexteves_> oooh
<ij> I'm trying to make a derivation in the nix-repl and first it results in .drv, but even when I force it to become a path via "${…}", it doesn't exist!
<LnL> so nix-build can only create roots for the output now, not the drv
coot has joined #nixos
<alexteves_> Lnl: so, making .drv a gc-root will preserve build-time deps?
<LnL> yes
<alexteves_> just what I wanted thanks
<LnL> ij: use :b to build it
<alexteves_> Is there a point in me opening a PR adding a warning to --drv-link and friends in nix-build, or is this a RTFM ?
<ryantm> gchristensen: okay done for now
<gchristensen> cool
patrl has joined #nixos
<ij> LnL, thanks
<etu> gchristensen: Isn't there any way to get that github bot to remain in the channel to get rid of the joins/quits without doing it clientside?
<gchristensen> no
<etu> :(
<gchristensen> the only option is to build our own bot
jensens has joined #nixos
<gchristensen> if you'd like to write the function to do that (accept: webhook data, output: IRC messages) I'll run it
<gchristensen> (you don't need to write the part to accept webhooks, just the part to handle the data) https://developer.github.com/webhooks/
<etu> Still needs to listen to some endpoint for them to push the data too
<etu> But that's easy
<gchristensen> I already have that infrastructure setup, and an IRC bot
knupfer has quit [Ping timeout: 248 seconds]
<gchristensen> the only missing part is filtering / interpreting the data, and converting it in to what to say on IRC
robstr has quit [Remote host closed the connection]
robstr has joined #nixos
<Lisanna> managing state in a nixos service seems like a really hard problem. I feel like in order to do it correctly, you need to know what the old value of the configuration was, so you can go back and e.g. delete files that you don't need anymore due to some settings change
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAi3W
<NixOS_GitHub> nixpkgs/master b0ad9f1 adisbladis: Merge pull request #35854 from ryantm/auto-update/monit-5.23.0-to-5.25.1...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b7dcc45 Ryan Mulligan: monit: 5.23.0 -> 5.25.1...
<ryantm> FRidh and adisbladis are also beasts :)
<gchristensen> Etu so basically two pure functions: a filter for irc worthy events, and a map to convert an interesting event into a message.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAi3V
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0dee06d Vladyslav M: yarn: 1.3.2 -> 1.5.1
<NixOS_GitHub> nixpkgs/master a739671 adisbladis: Merge pull request #35847 from dywedir/yarn...
<etu> gchristensen: I don't have the infrastructure or the bot source set up, so for me it's a bit harder to try to do it quickly. And my knowledge in nix is so far limited.
<gchristensen> Well
robstr has quit [Ping timeout: 256 seconds]
<gchristensen> You don't really need the source and don't need nix for it. Pretty much any language will do. But I understand :)
<Izorkin> nix copy --from ssh://test1@192.168.0.110 /nix/store/...-apr-util-1.6.1 --no-check-sigs - error: imported archive of ‘/nix/store/...-apr-util-1.6.1’ lacks a signature - How to fix? Package apr-util custom builded
<etu> gchristensen: I see, I thought it was built with nix. I can do it in PHP then ;D
<gchristensen> Sure php is fine
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 51691f4 Michael Alan Dorman: org-packages: 2018-02-26
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3065b6c Michael Alan Dorman: elpa-packages: 2018-02-26
<NixOS_GitHub> [nixpkgs] nlewo pushed 5 new commits to master: https://git.io/vAise
<NixOS_GitHub> nixpkgs/master 913905d Michael Alan Dorman: melpa-stable-packages: 2018-02-26...
knupfer has joined #nixos
<etu> gchristensen: I'll look into it some day. have lots of things going on. But I'll put it on my list :)
xAFFE has joined #nixos
xAFFE has left #nixos [#nixos]
<gchristensen> sure no worries
xAFFE has joined #nixos
xAFFE has quit [Client Quit]
<gchristensen> pretty much as soon as _anyone_ wants to write it, we can replace the NixOS_GitHub bot
<etu> My main project atm is to be able to build the firmware for my keyboardio. It complains about modemmanager being in the way and that I have to add udev rules that I already added. So I have to debug that further.
nuncanada has joined #nixos
<adisbladis> ryantm: :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAis2
<NixOS_GitHub> nixpkgs/master 9eb24ee adisbladis: Merge pull request #35874 from ryantm/auto-update/mc-4.8.19-to-4.8.20...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f132dcf Ryan Mulligan: mc: 4.8.19 -> 4.8.20...
robstr has joined #nixos
chaker has joined #nixos
zzamboni has quit [Quit: Leaving.]
<chaker> Hey, is't possible to deploy Raspberry PI machines with nixops?? My idea is to create a deployment that have a the configuration of a PI 3 and deploy the configuration from my machine, perhaps by using a none backend.
<chaker> The problem that I see here is with cross compilation since the configuration will be built on my machine which has a different systemd arch than the PI.
<chaker> Did anyone try to do something like this before?
<ottidmes> chaker: Just trying out nixops myself and have no experience with Raspberry PIs, but I do not see why not? As long as it has Nix installed, a network connection, and SSH root access
<mkaito> does anyone currently use nix with ruby? Bundix looks unmaintained, and the info on the wiki and the nixpkgs manual looks even older.
<sphalerite_> manveru does I believ
<ottidmes> chaker: Ah, different arch, then I have no idea
<sphalerite_> chaker: cross-compilation support in nixpkgs isn't completely usable for that sort of hting yet
<sphalerite_> chaker: you'd have to offload the builds to the pi as well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35862: miniupnpd: 2.0.20171212 -> 2.0.20180203 (master...auto-update/miniupnpd-2.0.20171212-to-2.0.20180203) https://git.io/vAitL
NixOS_GitHub has left #nixos [#nixos]
<aminechikhaoui> sphalerite_: maybe it's possible to use nixops with nix builders set to the target env itself together with substitution as hydra is building aarch64 afaik
zzamboni has joined #nixos
<chaker> Okay, let me try than to do that :) will post the result back here.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35861: minizinc: 2.0.14 -> 2.1.7 (master...auto-update/minizinc-2.0.14-to-2.1.7) https://git.io/vAitT
NixOS_GitHub has left #nixos [#nixos]
<manveru> mkaito: i'm not using ruby much these days, but if you've got an issue i'm happy to help
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAiZX
<NixOS_GitHub> nixpkgs/master 65afa9e Piotr Bogdan: lightdm-gtk-greeter: 2.0.3 -> 2.0.4
<NixOS_GitHub> nixpkgs/master e5df3f1 Frederik Rietdijk: Merge pull request #35856 from pbogdan/update-gtk-greeter...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35863: minissdpd: 1.5.20160301 -> 1.5.20180203 (master...auto-update/minissdpd-1.5.20160301-to-1.5.20180203) https://git.io/vAitY
NixOS_GitHub has left #nixos [#nixos]
<mbrock> umm, I can't use "nix-env -e" anymore, I guess since I upgraded to nixUnstable
<mbrock> I get an "unexpected EOF reading a line" after "building path(s) ...-user-environment"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging f3abbf3 Frederik Rietdijk: Merge pull request #35798 from ryantm/auto-update/libraw1394-2.1.1-to-2.1.2...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vAiZ7
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 0800585 Ryan Mulligan: libraw1394: 2.1.1 -> 2.1.2...
MercurialAlchemi has quit [Ping timeout: 248 seconds]
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<mkaito> manveru: not a specific issue, just trying to figure out how one could deploy a sinatra app with nix. I've made bundix agree somehow and got a gemset.nix and a default.nix that uses it. and then the nix store started complaining about not being able to change ownership of random files...
<mbrock> also, my usual practice of inserting 52 "a" characters as a fake sha256 hash doesn't work anymore :'(
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
<mbrock> guess I'll use nix-prefetch-git
<manveru> mkaito: what files?
chaker` has joined #nixos
chaker has quit [Remote host closed the connection]
<manveru> mkaito: it might be that you have to change your working directory to a mutable one if it tries to make a tmp or cache folder or such
<gchristensen> may I direct everybody's attention to the GitHub pulse page for the last 30 days: https://screenshotscdn.firefoxusercontent.com/images/50529534-5269-4fcf-823d-2f2f231b3cb2.png
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #35878: mairix: 0.23 -> 0.24 (master...auto-update/mairix-0.23-to-0.24) https://git.io/vAiYn
NixOS_GitHub has left #nixos [#nixos]
erasmas has joined #nixos
<adisbladis> gchristensen: Thats completely insane numbers!
vidbina has quit [Ping timeout: 245 seconds]
<gchristensen> I would like to send everyone in that top-n list gifts
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #35569: diceware: init at 0.9.3 (master...asymmetric/diceware) https://git.io/vArmo
NixOS_GitHub has left #nixos [#nixos]
<TweyII> mbrock: Why doesn't it work any more?
leat has quit [Ping timeout: 256 seconds]
<genesis> WIP mame derivation : http://nixpaste.lbr.uno/raw/FDgS0dPG , feel free to comment.
* TweyII is going to have to rethink his workflow ›.›
<jonge> hey there. how can i modify my stdenv so that CXX=g++ and not clang++ ?
<mkaito> manveru: haven't even reached that stage yet. I'll have to handle an upload folder somehow, but right now it was complaining about not being able to change ownership in the nix store. I just nuked the nix store, seems to have fixed it. now nix-build keeps running out of memory -_-
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35857: mlterm: 3.8.0 -> 3.8.4 (master...auto-update/mlterm-3.8.0-to-3.8.4) https://git.io/vAiLM
NixOS_GitHub has left #nixos [#nixos]
<mkaito> any way I can exclude something from the 'source' passed to mkDerivation?
<TweyII> jonge: Are you on Mac?
<jonge> TweyII: yes
<TweyII> jonge: There's a special ‘gccStdenv’
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging d10c201 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vAicV
<TweyII> jonge: That I believe does what you want
<manveru> mkaito: filterSource
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAico
<NixOS_GitHub> nixpkgs/master 95e9896 Ryan Mulligan: memcached: 1.5.4 -> 1.5.5...
<NixOS_GitHub> nixpkgs/master b8c67f3 adisbladis: Merge pull request #35870 from ryantm/auto-update/memcached-1.5.4-to-1.5.5...
NixOS_GitHub has left #nixos [#nixos]
<michas__> Hi, `rkt run` complains that group "rkt" is missing. Should I create that group manually or is there maybe some "enabled" option which takes care of that?
<jonge> TweyII: thanks for the quick answer!
<yorick> michas__: virtualisation.rkt.enable
<manveru> mkaito: if you're on nix 2.0 you can also use `builtins.fetchgit ./.` which is nicer if you've got a gitignore
<TweyII> jonge: NP, I happened to stumble across it yesterday whilst doing other things ☺
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAicd
<NixOS_GitHub> nixpkgs/master bb76359 Ryan Mulligan: meterbridge: 0.9.2 -> 0.9.3...
<NixOS_GitHub> nixpkgs/master f5f8330 Frederik Rietdijk: Merge pull request #35866 from ryantm/auto-update/meterbridge-0.9.2-to-0.9.3...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b0a8ca6 Ryan Mulligan: mediainfo-gui: 17.10 -> 17.12...
<NixOS_GitHub> nixpkgs/master a69917e adisbladis: Merge pull request #35871 from ryantm/auto-update/mediainfo-gui-17.10-to-17.12...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAicA
NixOS_GitHub has left #nixos [#nixos]
<mkaito> manveru: fetchgit sounds like it would do what I want (one of the things I want to ignore is the .git folder, in fact)
cement has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 9c51e9f Ryan Mulligan: minisign: 0.7 -> 0.8...
<NixOS_GitHub> nixpkgs/master b5baccb adisbladis: Merge pull request #35864 from ryantm/auto-update/minisign-0.7-to-0.8...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAicp
NixOS_GitHub has left #nixos [#nixos]
<yorick> manveru: when should I use builtins.fetchgit vs pkgs.fetchGit?
mkoenig has quit [Ping timeout: 245 seconds]
<manveru> sorry, it's builtins.fetchGit
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6d0f342 adisbladis: Merge pull request #35875 from ryantm/auto-update/mbpfan-2.0.1-to-2.0.2...
<NixOS_GitHub> nixpkgs/master e01ecc2 Ryan Mulligan: mbpfan: 2.0.1 -> 2.0.2...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAiCT
NixOS_GitHub has left #nixos [#nixos]
<yorick> manveru: ok, but when should I use the nixpkgs one?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master ef27d3e Ryan Mulligan: mcelog: 153 -> 154...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAiCY
<NixOS_GitHub> nixpkgs/master 84249c7 adisbladis: Merge pull request #35873 from ryantm/auto-update/mcelog-153-to-154...
NixOS_GitHub has left #nixos [#nixos]
<manveru> yorick: i think the benefit of builtins.fetchGit is that it allows you to not pass the sha256 if you've got a revision?
<manveru> i can't say i've used it yet :)
<manveru> just saw it in the release notes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 0a4f591 adisbladis: Merge pull request #35865 from ryantm/auto-update/mg-20170828-to-20171014...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAiCn
<NixOS_GitHub> nixpkgs/master f361beb Ryan Mulligan: mg: 20170828 -> 20171014...
NixOS_GitHub has left #nixos [#nixos]
<yorick> manveru: it also runs at evaluation time, so can use your own ssh keys
<TweyII> yorick: builtins.fetchGit is pretty new, so won't work on older Nix versions
<manveru> that's actually very awesome
<yorick> I don't care about the past :P
<manveru> there's no excuse to use old nix anymore :D
<TweyII> Then I think you should always use builtins.fetchGit
mkoenig has joined #nixos
markus1189_ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 939e653 Ryan Mulligan: menu-cache: 1.0.2 -> 1.1.0...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b75327e adisbladis: Merge pull request #35869 from ryantm/auto-update/menu-cache-1.0.2-to-1.1.0...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vAiCr
* mbrock finds himself in dire acute need for Agda 2.5.4 which is not in Nixpkgs yet...
<mbrock> time for some overriding
<hodapp> found the static types guy!
* hodapp trips over 3 Haskell books to run and throw rocks at mbrock
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3265226 Joachim F: Merge pull request #35859 from ryantm/auto-update/mksh-56b-to-56c...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vAiCy
<NixOS_GitHub> nixpkgs/master 4e2def9 Ryan Mulligan: mksh: 56b -> 56c...
<mbrock> 2.5.4 has do notation, yay
<hodapp> I need to work through some stuff in Lean Theorem Prover again...
<hodapp> I rather liked it but it's a much younger system than Coq, Agda, or even Idris
<TweyII> I'm surprisingly a fan of L∃∀N
<TweyII> I thought I'd find the syntax too verbose after Agda, but actually it feels very nice
<mbrock> I'm not doing much actual proving in Agda, with equational reasoning over algebraic structures or whatever, but the dependent types and the flexible syntax makes it really nice for defining DSLs, I've noticed
<michas__> Hi, is there any chance to see what was the last nix-env action I did, i.e. what exactly would nix-env --rollback do in the current situation?
<mbrock> so it's like a Haskell with better syntax, better module system, and basically just a better type system?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vAiWG
<NixOS_GitHub> nixpkgs/staging 15beb89 Frederik Rietdijk: python: wrapt: 1.10.5 -> 1.10.11
NixOS_GitHub has left #nixos [#nixos]
<mbrock> it even has pretty cool macros, where you get to transform syntax trees and interact with the type checker in a neat way
<TweyII> mbrock: Eh, it has a lot of nice things but usability is not always as good as Haskell in practice, and performance is definitely not — it's much closer to the proof assistant side, and it shows if you try to use it for programming
<mbrock> TweyII: yeah, I'm just happy because my use case basically doesn't need any performance
<mbrock> and the Emacs mode and the HTML generator are *extremely* useful!
<TweyII> The emacs mode is lovely
<TweyII> I wish more things had Agda's hole support
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #35880: fix zathura on stable 17.09 (release-17.09...zathura-stable) https://git.io/vAiWu
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has joined #nixos
michas__ has quit [Remote host closed the connection]
<aminechikhaoui> Folks re:musl rfc, I'm trying to understand how musl support will help packaging static binaries ? does that mean static linking ? and how would a libc change affect how libraries are linked in general, isn't that the job of the compiler (gcc and al) ?
<palo> mbrock: First time I saw dependent types I was very impressed, but after a while (playing around with idris) I must say this concept is over-engineered and usually results in endless compile problems. (I also saw rarly a usecase for it, like very rarly printf was the only one)
<aminechikhaoui> possibly a newbie question ^ :D
<infinisil> palo: dependent types is the same as proof checking, which is very useful
<TweyII> palo: Dependent types are really incredibly useful and can be applied all over the place, as well as providing a consistent framework that obviates a lot of more complicated type-system features from other systems
hyper_ch2 has quit [Quit: Page closed]
<infinisil> TweyII: Agreed, especially apparent with haskell constraints, kinds, types, type families, etc. Which are all unified in Idris
<palo> I never found a usefull situation (for example to restrict a list to 3 elements)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #35881: nixos/lightdm-gtk-greeter: cursor theme customisation (master...gtk-greeter-cursors) https://git.io/vAilU
NixOS_GitHub has left #nixos [#nixos]
<TweyII> palo: It's rarely useful to restrict a list to 3 elements, but often useful to restrict a list to n elements where n is constrained to be e.g. the same as the length of some other list
<palo> for me it was always an excuse to create proper types and hide contracts between interfaces
<TweyII> palo: In the same sense in which it's rarely useful to write a loop over 3 elements :þ
Sonarpulse has joined #nixos
<infinisil> palo: Have you checked out the ST File interface in Idris? It has the perfect interface for interacting with files in a guaranteed safe way
<palo> infinisil: nope, ... let me check it out
<TweyII> palo: Wait, how does creating proper types *hide* contracts?
<infinisil> palo: Well you need to have understood ST to understand it, but here it is: https://github.com/idris-lang/Idris-dev/blob/master/libs/contrib/Control/ST/File.idr
<mbrock> I don't use a huge amount of dependent types, but for example, my project involves a stack machine where I could quite easily make it impossible to write mismatched stack operations
zzamboni has quit [Quit: Leaving.]
<infinisil> I also had a recent example of where I wished to have dependent types for State machines in haskell
zzamboni has joined #nixos
<palo> infinisil: yeah I also read that "when you really need dependent types, you really need them", maybe I was just fooling around back than, and got the wrong impression on how to use them
<palo> (damn the cite is wrong :D)
zzamboni has quit [Client Quit]
<mbrock> I started watching https://www.youtube.com/watch?v=vy5C-mlUQ1w and it seems like an interesting and pragmatic approach to explain the purpose of dependent type programming
<palo> it was more like " if you need them there is nothing else you can use instead"
zzamboni has joined #nixos
<infinisil> well dependent types are strictly more powerful than non-dependent types
<infinisil> This conversation is probably a bit off-topic for #nixos though, since Nix' type system is like non-existant lol
<infinisil> we're like infinitely far away from dependent types
<palo> :D
<infinisil> (Will be happy to discuss dependent types in #idris or ##dependent though)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35668: pythonPackages.kubernetes: init at 5.0.0 (master...add_pythonPackages_kubernetes) https://git.io/vAonH
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Ping timeout: 248 seconds]
<mbrock> I don't understand why, when I try to use Agda master's default.nix, it fails to satisfy "blaze-html >=0.8 && <0.10", when my hackage-packages.nix has "0.9.0.1" as the version for "blaze-html"
<infinisil> mbrock: do they not have a pinned nixpkgs?
<palo> infinisil: sure, but I guess I'm not really in the topic anymore and also not enough experianced. (I'm happy for the ST tip, will read this the next days, it's a lot of theory behind it)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35275: Update postgresql (staging...update_postgresql) https://git.io/vAENe
NixOS_GitHub has left #nixos [#nixos]
<palo> (seems so)
<mbrock> infinisil: sadly I can't find one
<infinisil> palo: neither am I, and ST isn't too hard to understand, just join if you're interested :)
alexteves_ has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAi4v
<NixOS_GitHub> nixpkgs/master fad95a3 Suvash Thapaliya: gopass: 1.6.7 -> 1.6.11...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c4cd0ec Jörg Thalheim: Merge pull request #35845 from suvash/update-gopass...
<mbrock> trying to use haskell.lib.doJailbreak but it complains that "Agda-haddock.cabal" doesn't exist...
alexteves has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #35876: mpdas: 0.4.4 -> 0.4.5 (master...auto-update/mpdas-0.4.4-to-0.4.5) https://git.io/vAiqp
NixOS_GitHub has left #nixos [#nixos]
pasqui23 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #35882: Update VapourSynth (master...vapoursynth) https://git.io/vAi4M
NixOS_GitHub has left #nixos [#nixos]
pasqui23 has quit [Client Quit]
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAiBq
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master dc3bbb9 Frederik Rietdijk: Merge pull request #35877 from ryantm/auto-update/man-pages-4.14-to-4.15...
<NixOS_GitHub> nixpkgs/master dc53d5f Ryan Mulligan: man-pages: 4.14 -> 4.15...
coot has quit [Quit: coot]
pxc1 has joined #nixos
ryantm has quit [Ping timeout: 268 seconds]
kitemikaze has quit [Ping timeout: 252 seconds]
patrl has quit [Quit: WeeChat 1.9.1]
pxc1 has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to staging: https://git.io/vAiRU
<NixOS_GitHub> nixpkgs/staging 089aaa1 John Ericson: Merge pull request #35450 from obsidiansystems/android-clean...
<NixOS_GitHub> nixpkgs/staging 933e866 John Ericson: openjdk: Clean up platform conditionals
pkill9_ has joined #nixos
pkill9 has quit [Ping timeout: 256 seconds]
pkill9 has joined #nixos
pkill9_ has quit [Ping timeout: 245 seconds]
mlieberman85 has joined #nixos
pkill9_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAiue
<NixOS_GitHub> nixpkgs/master acc2273 Jörg Thalheim: gdbgui: 0.11.0.0 -> 0.11.1.2
NixOS_GitHub has left #nixos [#nixos]
pkill9 has quit [Ping timeout: 268 seconds]
ebzzry_ has joined #nixos
<shlevy> (continuing a conversation from #riscv and #nixos-dev) sorear: Overlays are the hot new mechanism for adding/overriding packages in a nixpkgs set https://nixos.org/nixpkgs/manual/#chap-overlays
pkill9_ is now known as pkill9
<shlevy> sorear: bootstrapping is the process of getting from binaries on tarballs.nixos.org to a fully compiled toolchain ready to build our real package set
<shlevy> They combine while you're working on the standard env, because you ideally don't want to rebuild the whole world a million times just to do initial validation on your 1-line glibc buld change
<shlevy> So ideally there'd be a way with overlays to say "I'm updating glibc in *this* pacakge set, but taking my stdenv from *that* one"
<shlevy> So that your stdenv doesn't pick up the glibc change for its own packages
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #35883: pipewire: 0.1.8 → 0.1.9 (master...pipewire-1.0.9) https://git.io/vAiuR
NixOS_GitHub has left #nixos [#nixos]
davidlt has joined #nixos
<sorear> mm
<dtz> oh I see. Yes that would be excellent!
<dtz> Similarly, gcc/clang version testing
<sorear> unrelated thing from last night, do I have this right: the reason you can "just" cross-compile the kernel, systemd, and nix but gcc has to be cross-compiled, tarred, uploaded to tarballs.nixos.org, and re-created as a fetchurl derivation is because nix considers gcc to be a build input and includes it in hashes but does not consider itself or the running kernel to be build inputs? so the gcc has to be a fixed *binary*
<sorear> in order to have a stable base to build the rest on and have working cachein
detran` has quit [Ping timeout: 260 seconds]
<dtz> also easy way to build a package set with a new stdenv would be nice O:).
<shlevy> sorear: Yes, exactly
<shlevy> sorear: The Nix "system" string is meant to capture "which kernel is running"
<shlevy> sorear: And we try hard not to make the version of nix matter to the result of the build, so long as it's new enough to support whatever features we use
robstr has quit [Remote host closed the connection]
<shlevy> sorear: Note that this isn't strictly speaking required though. E.g. on non-Linux non-Darwin we just sue /usr/bin/gcc or whatever
robstr has joined #nixos
<shlevy> But having a pure stdenv is a major goal for new platform support
mizu_no__ has joined #nixos
<gchristensen> ("because impurity is a crime!")
<dtz> and in theory the running kernel or running Nix version can change without changing the build result--and AFAIK generally that's true.
<shlevy> Right. It's less true with darwin, sadly :(
<dtz> :(
<shlevy> But Linus is very keen on reproducibility across versions :)
patrl has joined #nixos
patrl has quit [Client Quit]
detran` has joined #nixos
<dtz> so I spent 10s and put together this PR--anyone have thoughts on it, particularly why it'd be a bad idea?
<dtz> I thought it'd break a lot more than it seems to, haha, given the thought put into it. And then looking at the breakage I/we could develop a better solution... xD
<sphalerite> dtz: I'm in favour!
robstr has quit [Ping timeout: 256 seconds]
digitus has joined #nixos
robstr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #35885: Mpv (master...mpv) https://git.io/vAig4
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
detran` has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable f627302 Robert Schütz: python3Packages.netdisco: allow newer zeroconf versions
<NixOS_GitHub> nixpkgs/python-unstable 5364ea1 Robert Schütz: pythonPackages.pytest-xdist: 1.22.1 -> 1.22.2
<NixOS_GitHub> [nixpkgs] dotlambda created python-unstable (+2 new commits): https://git.io/vAigE
NixOS_GitHub has left #nixos [#nixos]
jensens has quit [Ping timeout: 252 seconds]
mizu_no__ has quit [Quit: Computer has gone to sleep.]
robstr has quit [Remote host closed the connection]
coot has quit [Ping timeout: 265 seconds]
detran` has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leat has joined #nixos
Fare has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Itkovian has joined #nixos
<Fare> Hi. Gerbil 0.12 is out. Previous version was called 0.12-DEV-1404-g0a266db. Doesn't nix consider 0.12 as older? Should I then call the nix package 0.12-RELEASE or something?
<gchristensen> what would Nix think of 0.12.0?
pxc1 has joined #nixos
the_real_plumps has quit [Remote host closed the connection]
<Fare> well, that's not how the upstream package is called.
Itkovian has quit [Client Quit]
<genesis> If a package is not a release but a commit from a repository, then the version part of the name must be the date of that (fetched) commit. The date must be in "YYYY-MM-DD" format. Also append "unstable" to the name - e.g., "pkgname-unstable-2014-09-23".
<Fare> genesis, in this case, it *is* a release.
Itkovian has joined #nixos
<Fare> genesis, it's just that the project has this unusual convention of calling development versions *before* the release with the release version followed by -DEV-...
pasqui023 has joined #nixos
the_real_plumps has joined #nixos
<infinisil> Fare: Well the relevant function is builtins.compareVersions, which indeed thinks that 1.12-DEV is newer than 1.12
<Fare> should I call the package 0.12-release lowercase instead of uppercase?
<Fare> infinisil, exactly
<infinisil> Fare: I remember seeing an issue regarding this but can't find it
ebzzry_ has quit [Ping timeout: 248 seconds]
<simpson> Fare: Live and learn, I suppose. Tell your users that they won't be able to $(nix-env -u) this one.
<genesis> i would not follow upstream, and use unstable-date to be compliant.
<gchristensen> I agree
<infinisil> It seems to be a primitive string comparison
<Fare> unless there's an established convention, I'll call the package 0.12-RELEASE, since 0.12-DEV-1404-g0a266db is already uppercase.
<gchristensen> there is an established convention on version numbers in Nixpkgs, regardless of what the upstream literally uses, and you should follow it
<simpson> There's clearly an established convention.
<Acou_Bass> eyy everyone, im having trouble with sddm on nixos-unstable, it seems to boot to a black screen... anyone else having this? using nvidia gfx
<gchristensen> Acou_Bass: I've seen that! but in my laziness I switched to lightdm :|
<Acou_Bass> sddm itself isnt displaying, i can ctrl-alt-f2 to console
endformationage has joined #nixos
Neo-- has joined #nixos
<Fare> gchristensen, yes, but isn't the nix convention based on release numbers being bumped up at release time rather than before release time?
<Acou_Bass> gchristensen: hmm fair enough, may try that... any downsides?
<NixOS_GitHub> [nixpkgs] Mic92 pushed 10 new commits to release-17.09: https://git.io/vAiot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 2d8f560 Miguel Madrid Mencía: zathura-pdf-mupdf: 0.3.1 -> 0.3.2...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 3338b50 Miguel Madrid Mencía: zathura-core: 0.3.7 -> 0.3.8...
<NixOS_GitHub> nixpkgs/release-17.09 43a9105 Miguel Madrid Mencía: girara: 0.2.7 -> 0.2.8...
<gchristensen> Acou_Bass: I dunno
<pasqui023> Hello on my nixos install with kde 5.11 I can log out of user but if I try to switchusers without logging out it brings me to the lock screen,even if I try to switch to a new user form the lock screen
<gchristensen> Fare: you should probably use 0.12.0 for now: nix-repl> (builtins.compareVersions "0.12.0" "0.12-DEV") == 1
<Acou_Bass> worth a try, anythings better than not working at all xD
<pasqui023> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-18.03pre127921.9b25b9347d9", channels(pasquale): "nixos-18.03pre127921.9b25b9347d9", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
patrl has joined #nixos
<Fare> gchristensen, is 0.12-RELEASE or 0.12-REL bad?
Lisanna has quit [Quit: Lisanna]
<gchristensen> Fare: it isn't compliant with the Nixpkgs guidelines on version numbers
ebzzry_ has joined #nixos
<Fare> where are the guidelines documented?
robstr has joined #nixos
<gchristensen> looks like there is some here: https://nixos.org/nixpkgs/manual/#sec-package-naming
<Fare> thanks! I knew of the nix and nixos manuals but not the nixpkgs manual.
rardiol1 has joined #nixos
<gchristensen> ahh yeah :)
<gchristensen> IMO: each manual should include as an appendix its lower level's manual. NixOS contains the Nixpkgs and Nix manual, Nixpkgs contains the Nix manual
<gchristensen> this would also fix the problem where the nixpkgs manual is for unstable and nixos manual is for stable
<Fare> if I use the -unstable- convention, how will it know that 0.12 is after unstable-2018-02-26 but before unstable-2018-02-28 ?
<gchristensen> typically there is an -unstnable package, separate from the stable package
peacememories has joined #nixos
peacememories has quit [Client Quit]
<Fare> ok.
<Fare> It's true that there hadn't been a stable release of gerbil yet
<Fare> 0.12.0 still feels wrong.
<Fare> what about 0.12-0 or something? Oh, it's still considered older than 0.12-DEV-...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAiKX
<NixOS_GitHub> nixpkgs/master e5a8dc8 Jörg Thalheim: dnsperf: fix build by adding openssl
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #35887: luatex: patch to fix crash w/gcc7 (master...fix/luatex-issue-35839) https://git.io/vAiK9
NixOS_GitHub has left #nixos [#nixos]
peacememories has joined #nixos
<Fare> I believe 0.12-RELEASE while ugly does not violate the guidelines, and is backward compatible. I'll use that now. For the next versions, I'll use 0.13 and unstable-YYYY-MM-DD. But backward compatibility is more important than minor style issues.
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
szicari has quit [Read error: Connection reset by peer]
szicari has joined #nixos
patrl has quit [Quit: WeeChat 1.9.1]
<dtz> gchristensen: did github fix the "pulse" rendering thing you tweeted? haha it looks right now
<simpson> Fare: FWIW it sounds a lot like you just don't care about our guidelines and want to do what you always planned to do regardless of what we say or what suggestions have been documented.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAi6u
<NixOS_GitHub> nixpkgs/master 90b69fa Jörg Thalheim: a2jmidid: does not build on aarch64
NixOS_GitHub has left #nixos [#nixos]
mg- has joined #nixos
<mlieberman85> Is there a way to share IPC namespaces between containers using nixos-container?
sigmundv has quit [Ping timeout: 245 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fare opened pull request #35888: Releases of Gambit and Gerbil (master...master) https://git.io/vAi6F
NixOS_GitHub has left #nixos [#nixos]
<Fare> simpson, I do care about the guidelines and suggestions.
pxc1 has quit [Ping timeout: 252 seconds]
<Fare> simpson, I will change things in the future.
<simpson> Fare: I'm wondering what's actually going to break for you or your users besides ($
<simpson> *besides $(nix-env -u).
<Fare> But for this release, the name is compatible enough with the guidelines and not a regression compared to what's checked into nixpkgs already.
<gchristensen> still busted for me ...
winem_ has quit [Ping timeout: 248 seconds]
<Fare> I care about smooth upgrades more than about immediate compliance.
<wervenyt[m]> would anyone more experienced in nix[os] be willing to check out what's up with the 2bwm package? the maintainer hasn't replied to my email, and I'm having trouble finding the issue
robstr has quit [Remote host closed the connection]
rindvieh has quit []
<Fare> (Next version will be fully compliant.)
<gchristensen> Fare: sounds good
<genesis> next version could be out before PR will be merge anyway :D
<gchristensen> I definitely appreciate the usability concerns there
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<Fare> Thanks. I appreciate the tremendous efforts you put into nix{,os,pkgs}
peacememories has quit [Ping timeout: 248 seconds]
<jtojnar> where would I found C.UTF-8 locale file?
<TweyII> wervenyt[m]: Looks fine to me; what problems are you experiencing?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #35889: bdf2psf 1.175 -> 1.178 (master...bdf2psf) https://git.io/vAiip
NixOS_GitHub has left #nixos [#nixos]
<wervenyt[m]> if I run `nix-build -A _2bwm`, I get `error: expression does not evaluate to a derivation (or a set or list of those
<wervenyt[m]> )`
<wervenyt[m]> in nixpkgs, of course
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #35888: Releases of Gambit and Gerbil (master...master) https://git.io/vAi6F
NixOS_GitHub has left #nixos [#nixos]
rihards has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAiPu
<NixOS_GitHub> nixpkgs/master de7f766 Jörg Thalheim: aacgain: fix compilation error
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill pushed 3 new commits to master: https://git.io/vAiPr
<NixOS_GitHub> nixpkgs/master af73962 Will Dietz: luatex: add prefix to patch so it applies with default patch flags
<NixOS_GitHub> nixpkgs/master 08805e9 Will Dietz: texlive: patch luatex to fix crash w/gcc7...
<NixOS_GitHub> nixpkgs/master c9cf193 Will Dietz: Merge pull request #35887 from dtzWill/fix/luatex-issue-35839...
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> wervenyt[m]: I just ran `nix-build -A 2bwm` in my nixpkgs checkout and it downloaded it from the cache, are you on nixos-unstable?
pxc1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAiPF
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e4623d4 Jörg Thalheim: aegisub: not supported on aarch64...
pasqui023 has quit [Quit: Page closed]
<TweyII> wervenyt[m]: I think that's to do with the aliases in aliases.nix — most aliases evaluate to a derivation, but the numerical aliases introduced in 18.03 seem to evaluate to strings instead
<genesis> Fare : you're lucky , it's quickly merged, i wait for weeks on my derivation :D
kitemikaze has joined #nixos
chaker`` has joined #nixos
<Fare> reminds me of some PRs I have that I need to work on, that (rightfully) haven't been merged yet.
<Fare> genesis, a PR that's purely upstream update is easier to review than one that does dubious code changes.
<genesis> https://github.com/NixOS/nixpkgs/pull/34965 perharps someone want to close this one :)
chaker` has quit [Remote host closed the connection]
<TweyII> wervenyt[m]: If you build 2bwm explicitly, e.g. nix-shell -p 'callPackage pkgs/applications/window-managers/2bwm {patches=[];}', it seems to work fine
chaker``` has joined #nixos
chaker`` has quit [Ping timeout: 240 seconds]
<wervenyt[m]> TweyII: ottidmes : that makes sense, thanks
<wervenyt[m]> TweyII: should I just shove that into my configuration.nix, or is there a better solution in the short-term?
roberth has quit [Ping timeout: 248 seconds]
humanoyd has joined #nixos
<Acou_Bass> gchristensen: lightdm working fine \o/ thanks for recommending hehe
<gchristensen> yea :) now somebody just needs to fix sddm :P
<Acou_Bass> yeh because lightDM is fairly jarring going against my KDE desktop and its GTK greeter :(
<Acou_Bass> suppose i could package a KDE greeter
<jtojnar> genesis: I can merge it
<genesis> jtojnar : thx
Fare has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAi17
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0eef302 Jörg Thalheim: keepalived: 1.4.1 -> 1.4.2
vidbina has joined #nixos
digitalmentat has joined #nixos
lpsmith has quit [Quit: ZNC 1.6.5 - http://znc.in]
ryanartecona has quit [Quit: ryanartecona]
taktoa has quit [Remote host closed the connection]
markus1189_ has joined #nixos
lpsmith has joined #nixos
<jtojnar> genesis: I cleaned it up a little
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
reinzelmann has joined #nixos
<genesis> if you think it worth the time .
kelleyNif has quit [Quit: Leaving.]
<jonge> how can i run my `nix-shell` (or with what changes to the default.nix) so that CXX=clang++ (using linux now) ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2b7e912 Bignaux Ronan: libdsk: init at 1.5.8
<NixOS_GitHub> [nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vAiDB
<NixOS_GitHub> nixpkgs/master dbb22dd Bignaux Ronan: xcpc: init at 20070122
NixOS_GitHub has left #nixos [#nixos]
<simpson> jonge: Grab `clangStdenv` from pkgs, and then `clangStdenv.mkDerivation` and you'll get Clang as your CC.
<Acou_Bass> ook... so the other day i said im getting this error: error: cannot auto-call a function that has an argument without a default value (‘config’)
<Acou_Bass> it was suggested that i go through my user-installed packages and remove them until the error quits
<jonge> simpson: oh i thought that's just for mac. thx!
<Acou_Bass> ive just removed every package from my user (nix-env -e '.*') and im still getting the error :(
<simpson> jonge: I don't know whether it's supposed to only be for OSX, but it works great on Linux for everything I've tried it on.
<jonge> simpson: just tried it. works perfectly. thank you for the quick answer!
pxc1 has quit [Ping timeout: 245 seconds]
<gchristensen> holy guacamole, 161/211 PRs from ryantm merged already??
<Acou_Bass> i get the error when i run nix-env -iA nixos.anypackage
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #34965: xcpc: init at version 20070122 (master...cpc) https://git.io/vAGYU
NixOS_GitHub has left #nixos [#nixos]
<jonge> simpson: is there a parameter to `nix-shell` that i can provide that automatically substitutes `stdenv` by `clangStdenv` so i do not have to change the file manually?
<simpson> jonge: I don't know. I suspect so, since OSX defaults to Clang, but I don't know how to do it.
vidbina has quit [Ping timeout: 260 seconds]
<lassulus> so when does a new channel gets released? I'm waiting for fixed zathura on 17.09 and this job is already finished: https://hydra.nixos.org/build/70240064
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aneeshusa opened pull request #35891: salt: 2017.7.2 -> 2017.7.3, fix msgpack dependency (master...fix-salt-msgpack-dependency) https://git.io/vAiyR
NixOS_GitHub has left #nixos [#nixos]
gspia has quit [Read error: Connection reset by peer]
pxc1 has joined #nixos
chaker``` has quit [Ping timeout: 240 seconds]
gspia has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Nadrieril opened pull request #35892: usbguard: 0.7.0 -> 0.7.2 (master...update-usbguard) https://git.io/vAiyX
NixOS_GitHub has left #nixos [#nixos]
<jonge> simpson: i gave my default.nix file a parameter `{ stdenv ? pkgs.stdenv }`. now when i run `nix-shell --argstr stdenv pkgs.clangStdenv` it says "error: value is a string while a set was expected".
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35813: libvirt: 3.10.0 -> 4.0.0 (master...auto-update/libvirt-3.10.0-to-4.0.0) https://git.io/vA6sI
NixOS_GitHub has left #nixos [#nixos]
<jonge> do i use the argument on the cmd line wrong or is there a way to convert from string to whats needed?
<simpson> jonge: Because --argstr passes a string. I don't know how to make nix-shell do this particular thing.
clacke[m] has joined #nixos
<jonge> i see. thx
rihards has quit [Quit: rihards]
<TweyII> jonge: You can use just --arg, but you'll need to bring pkgs into scope
gustavderdrache1 has joined #nixos
<TweyII> jonge: So e.g. nix-shell --arg stdenv '(import <nixpkgs> { }).clangStdenv' will do the trick
<jonge> TweyII: thx. i just realized that i chose argstr over arg because i am blind.
<ottidmes> lassulus: You can also use: unstable = import /your/nixpkgs/nixos-unstable/checkout { config = { allowUnfree = true; }; }; in your nixpkgs overlay/overrides and then you can just use pkgs.unstable.zathura, this will also download its dependencies from unstable, so it will cost you a bit more disk space than usual, but they should be downloaded from the cache
<jonge> TweyII: but wow that works. thanks man!
<TweyII> jonge: nix-shell -p will (I learnt today) also evaluate its argument with nixpkgs in scope, so e.g. nix-shell -p 'import ./. { stdenv = clangStdenv; }' is also an option
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAiS3
<NixOS_GitHub> nixpkgs/master 795e49b Jan Tojnar: pipewire: 0.1.8 → 0.1.9
NixOS_GitHub has left #nixos [#nixos]
<jonge> TweyII: ok that is a little bit too fast for me, i did not get that one
<TweyII> jonge: The arguments to nix-shell -p are not just package names but arbitrary Nix expressions, with <nixpkgs> imported and all its attributes in scope
<TweyII> 'import ./.' imports your file, so results in a function (because the expression in your file defines a function), which you can then call with whatever arguments you want
<TweyII> And 'clangStdenv' is in scope, pulled from nixpkgs, because -p puts it there
<jonge> TweyII: i see. but in my particular case, where i want the whole derivation to use a different stdenv this would not help me, or would it?
<jonge> hm
ryanartecona has joined #nixos
<jonge> oh now i think i get it. :)
Izorkin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35883: pipewire: 0.1.8 → 0.1.9 (master...pipewire-1.0.9) https://git.io/vAiuR
NixOS_GitHub has left #nixos [#nixos]
<TweyII> jonge: Yes, that's just about making your expression be a function over the stdenv
<TweyII> It's equivalent to the other, but might be nicer in some cases I guess, especially if you have lots of arguments to pull from nixpkgs
<jonge> TweyII: yeah i am forcing myself to learn all this stuff a bit, but it's taking some time.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35527: pythonPackages.cairocffi: 0.7.2 → 0.8.0 (master...cairocffi) https://git.io/vAwoB
NixOS_GitHub has left #nixos [#nixos]
<jonge> i am however amazed how ninja-like one can modify the build environment for coding.
<jonge> running the unit tests with X different compilers and versions... i am blown away
<TweyII> nix-shell -p 'import ./. { stdenv = foo; other = bar; yet_another = baz; }' is going to be nicer than nix-shell --arg stdenv '(import <nixpkgs> { }).foo' --arg other '(import <nixpkgs> { }).bar' --arg yet_another '(import <nixpkgs> { }).baz'
<ottidmes> Is there a builtin or lib function to search the NIX_PATH? I know I can do <some-name> to lookup some-name=some-value in the NIX_PATH, but that errors when it is missing. I know too how to implement it in Nix if I have to, just wondering if it already exists
<jonge> TweyII: that'x true.
<jonge> TweyII: does `-p gcc7` somehow override all the other packages in my default.nix?
<jonge> ...because it does not find the headers i declare there
<TweyII> jonge: No
<TweyII> jonge: There's no magic overriding in Nix, just functions
<jonge> i mean `nix-shell --pure --command "make -B && ./run"` works. but `nix-shell --pure --command "..." -p gcc7` does not work any longer because it does not find the headers which my default.nix fetches...
<TweyII> ottidmes: It would be nice if builtins.pathExists "<some-name>" worked…
<TweyII> jonge: -p gcc7 won't read your default.nix
<TweyII> jonge: -p overrides the default default.nix/shell.nix lookup
<jonge> ok. so i want to have all packages in my default nix plus another one. how to achieve that?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c5bc83b503d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<TweyII> jonge: If you want them you'll have to include them again explicitly, e.g. -p gcc7 'import ./. { }'
<jonge> do i have to introduce that via a variable?
<jonge> oh i see..
<TweyII> From the manpage: nix-shell … {[--packages | -p]packages | [path]}
<symphorien> jonge: note that nix-shell -p gcc7 may no work in some situations because stdenv(s gcc will take precedence
<TweyII> symphorien: What's the right way to drop into a gcc7 env?
<symphorien> use overrideCC stdenv gcc7 instead of stdenv
<symphorien> so I imagine that writing a file is mandatory
<TweyII> symphorien: With nix-shell?
<TweyII> Mmm
<symphorien> not sure if it is possible to do it with command line only
<TweyII> I think you should be able to use -p wherever you can use a file
vidbina has quit [Ping timeout: 256 seconds]
kelleyNif has joined #nixos
Neo-- has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #35893: nixos: setuid-wrapper: simplify readlink logic (master...setuid-wrapper-readlink) https://git.io/vAiH0
NixOS_GitHub has left #nixos [#nixos]
<jonge> TweyII: symphorien got it to work with `nix-shell --arg stdenv 'with (import <nixpkgs> {}); overrideCC stdenv gcc7'`
<jonge> `stdenv` is a parameter of my default.nix
<TweyII> So you're using (overrideCC stdenv gcc7).mkDerivation ?
<jonge> TweyII: basically, yes... ok so that works on my linux machine but turns out to be problematic on my mac.
<TweyII> There is also gcc7.stdenv
<ottidmes> TweyII: with builtins; with (import <nixpkgs/lib>); let getNixPath = name: let prefix = "${name}="; in concatStrings (map (removePrefix prefix) (filter (hasPrefix prefix) (splitString ":" (getEnv "NIX_PATH")))); in getNixPath "nixos-config"
<ottidmes> TweyII: Running that in nix-repl seems to work :)
<TweyII> ottidmes: Yeah, that'd work, but it would be good if <angle-paths> counted as absolute paths
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vAiHb
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ac4e65c Robert Helgesson: eclipse-plugin-jsonedit: 1.0.1 -> 1.0.2
knupfer has quit [Remote host closed the connection]
<TweyII> ottidmes: Rather than being as special as they are
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c5bc83b503d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<ottidmes> TweyII: Agreed
<TweyII> ottidmes: Then you wouldn't need a special function (and wouldn't need to go about parsing NIX_PATH yourself)
<jonge> TweyII: with `nix-shell --arg stdenv '(import <nixpkgs> {}).gcc7.stdenv'` it is still using clang as $CXX on my mac.
<TweyII> jonge: Oh really
<TweyII> Interesting
<jonge> oh and on linux it still uses gcc6.4 instead of gcc7
astsmtl has quit [Ping timeout: 276 seconds]
coot has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
nocoolnametom has quit [Quit: ZNC 1.6.5 - http://znc.in]
nocoolnametom has joined #nixos
Fare has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #35247: lib, treewide: Add missing MIPS arches, and fix existing usage (master...mips32) https://git.io/vA0Vu
NixOS_GitHub has left #nixos [#nixos]
<jonge> TweyII: ok what really works on mac and linux is overrideCC with the right choice of clangStdenv and gccStdenv matching the second parameter compiler package choice
<jonge> thanks TweyII and symphorien for your help
<jonge> i need to give a talk about this in my company. :D
reinzelmann has quit [Quit: Leaving]
FRidh2 has quit [Quit: Konversation terminated!]
vidbina has joined #nixos
michas_ has joined #nixos
mlieberman85 has quit [Ping timeout: 260 seconds]
vidbina has quit [Client Quit]
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
gustavderdrache1 has quit [Quit: Leaving.]
gustavderdrache1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorokin opened pull request #35894: qtox: remove opencv dependency (master...qtox-no-opencv) https://git.io/vAid6
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorokin opened pull request #35895: a52dec: add -fPIC to CFLAGS (master...a52dec-fpic) https://git.io/vAidD
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wucke13 opened pull request #35896: Solving #30396 (master...master) https://git.io/vAiF4
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has quit [Quit: ryanartecona]
TweyII has quit [Ping timeout: 240 seconds]
gustavderdrache1 has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 3 new commits to master: https://git.io/vAibJ
<NixOS_GitHub> nixpkgs/master 49c0657 Robert Schütz: Merge pull request #35852 from ryantm/auto-update/mopidy-moped-0.6.0-to-0.7.0...
<NixOS_GitHub> nixpkgs/master c06921d Ryan Mulligan: mopidy-moped: 0.6.0 -> 0.7.0...
<NixOS_GitHub> nixpkgs/master 35beef5 Robert Schütz: mopidy-moped: 0.7.0 -> 0.7.1 and modernize
NixOS_GitHub has left #nixos [#nixos]
rogue_koder has joined #nixos
pmade has quit [Quit: ZNC - http://znc.in]
Fare has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 9 new commits to nix-2.0: https://git.io/vAiNC
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/nix-2.0 0d00215 Eelco Dolstra: Cleanup
<NixOS_GitHub> nixpkgs/nix-2.0 212dd84 Eelco Dolstra: Cleanup
<NixOS_GitHub> nixpkgs/nix-2.0 cc2eeef Eelco Dolstra: Fix installing the Nixpkgs channel on the installation media...
ThatDocsLady_ has quit [Ping timeout: 245 seconds]
mekeor has joined #nixos
nh2 has quit [Quit: Leaving.]
<detran`> anybody with a dell xps 15? do you use multiple monitors? and i3wm? does the resolution scaling between monitors work ok?
andromeda-galaxy has quit [Ping timeout: 248 seconds]
phdoerfler has joined #nixos
<gchristensen> X doesn't really let you have multiple resolutions
andromeda-galaxy has joined #nixos
<detran`> should I just get a precision with the 1920x1080 resolution then? I use my current laptop with a couple of other 1080 monitors and I don't know if high resolution is worth the hassle
<BlessJah> detran`: I'm using 3x 1920x1080, it works
<BlessJah> what do you mean by scalling?
<gchristensen> well you can drop down the resolution when you're plugged in to the monitor I think
<BlessJah> gchristensen: I used to work with three monitors with different resolution, it worked fine
<wervenyt[m]> X's dpi scaling is flat across all outputs, but you can change it at any time
<detran`> BlessJah: the xps 15 comes with a 3840x2160 screen, and I just have 1920x1080 monitors
astsmtl has quit [Ping timeout: 240 seconds]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
<BlessJah> and you want to scale that 3840 down? or you just want to have 3840 + 1920 + 1920?
<detran`> the second option, though I would accept the first if I had to
ryanartecona has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
pxc has quit [Ping timeout: 245 seconds]
pxc1 has quit [Ping timeout: 265 seconds]
Itkovian has joined #nixos
<gchristensen> I guess I'm thinking my problem was I can't use the computer at 3840x2160 and needed to scale it, while the scale needed to be different on external monitors
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #35895: a52dec: add -fPIC to CFLAGS (master...a52dec-fpic) https://git.io/vAidD
NixOS_GitHub has left #nixos [#nixos]
<BlessJah> No problem, you'll just have upper or lower corner mismatch
<johnw> clever: are you a Haskell user?
jtojnar has quit [Remote host closed the connection]
<Guanin> Hi, when calling a script with a nix-shell shebang via sudo, I get "/nix/var/nix/db is not writable: Permission denied". Can someone explain, why? (I just want to pull jq and curl into the path)
<symphorien> are you using nix multiuser or single user ?
<srhb> Guanin: I've seen this error mostly when switching from nix to nixUnstable, I think.
jtojnar2 has quit [Ping timeout: 240 seconds]
<BlessJah> detran`: 3840 vs 1920 is a big difference though, may be annoying. I used to work with macbook pro (2880x1800?) hooked to external FullHD, wasn't that great
<gchristensen> anyone know of a tool to automatically put repo's in to a directory structure based on where they came from? like. projects/github.com/nixos/nixpkgs for example
<BlessJah> gchristensen: I had such setup with repos cloned by ansible
<mbrock> is there any easy way to install Nix 1.* now that the installer script on nixos.org/nix/install installs Nix 2?
<Guanin> symphorien, nixOS with multiple user, I guess. logging in as the user and running the script works fine
jb55 has joined #nixos
<symphorien> then try setting NIX_REMOTE=daemon
<symphorien> sudo may have stripped this env var
<Guanin> srhb, I'm just on 17.09-small
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master de1dce9 Robert Schütz: mopidy-mopify: 1.6.0 -> 1.6.1 and modernize
<NixOS_GitHub> [nixpkgs] dotlambda pushed 3 new commits to master: https://git.io/vAijX
<NixOS_GitHub> nixpkgs/master bb2aa1d Ryan Mulligan: mopidy-mopify: 1.5.17 -> 1.6.0...
<NixOS_GitHub> nixpkgs/master 2812966 Robert Schütz: Merge pull request #35851 from ryantm/auto-update/mopidy-mopify-1.5.17-to-1.6.0...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #35853: mopidy-iris: 3.12.4 -> 3.14.0 (master...auto-update/mopidy-iris-3.12.4-to-3.13.0) https://git.io/vAiLr
NixOS_GitHub has left #nixos [#nixos]
<BlessJah> gchristensen: http://dpaste.com/2ZYSFVD
<gchristensen> nice!
<johnw> I have a Haskell project for which I'm generating a default.nix with cabal2nix . > default.nix, and a shell.nix with cabal2nix --shell . > shell.nix. However, while nix-build is able to build the project, nix-shell --command "cabal build" fails due to a missing dependency. Can anyone help me understand why the evaluation of these two environments would be different in this way? I had thought that they would each be seeing exactly the
<johnw> same haskellPackages set.
michas_ has quit [Remote host closed the connection]
<BlessJah> gchristensen: I has something resembling nix for maintaining virtualenvs as well: install some packages, create wrapper scripts and put them in $PATH
<gchristensen> oh ver ycool
<BlessJah> cannot use it with nixos though, always short of few headers
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable 6426fd5 Robert Schütz: pythonPackages.aiohttp: 3.0.4 -> 3.0.5
<NixOS_GitHub> nixpkgs/python-unstable b1b1660 Robert Schütz: python3Packages.netdisco: allow newer zeroconf versions
<NixOS_GitHub> [nixpkgs] dotlambda force-pushed python-unstable from f627302 to aaaaa49: https://git.io/v5aIf
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable aaaaa49 Robert Schütz: pythonPackages.asynctest: 0.11.1 -> 0.12.0
<johnw> another problem I've run into with this discrepancy is that while one project will build fine with nix-build, a nix-shell build of the same project fails to find a Darwin framework; but how can they be using different build environments?
michas_ has joined #nixos
<BlessJah> gchristensen: http://dpaste.com/3WRYK5S
<mbrock> johnw: I'm not all that knowledgeable, but I'm sometimes a bit skeptical of nix-shell because it will start a real shell using my own bash rc files, so it's not super clear how the environment ends up
<ottidmes> johnw: If you are on MacOS, this might be relevant https://github.com/NixOS/nixpkgs/issues/18506
<johnw> thanks, I am on macOS
<gchristensen> oh cool
<gchristensen> thank you BlessJah
<BlessJah> no problem
<johnw> my main question right now is how *could* the nix-build and nix-shell pkgs environments be so different; as in, there's a package that's in one but not in the other, but I don't see how they aren't just loading from the same source
dbmikus has quit [Ping timeout: 245 seconds]
chessai has joined #nixos
<Guanin> Thanks symphorien, setting NIX_REMOTE fixed it :)
<gchristensen> johnw: hmm maybe try with --pure?
<johnw> I tried --pure with an absolute path for 'cabal' (since cabal isn't a direct dependency), but I get the same missing dependency error
<ottidmes> johnw: I think it is mentioned in the issue I linked, it probably has to do with the interference of the environment in nix-shell
markus1189_ has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #35897: dropbear: 2017.75 -> 2018.76 (master...patch-113) https://git.io/vAPvL
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> johnw: If you read the manpage of nix-shell about --pure it states for example "Note that ~/.bashrc and (depending on your Bash installation) /etc/bashrc are still sourced"
<johnw> ottidmes: I wonder what sort of interface could create what I'm seeing...
<johnw> hmm
<johnw> s/interface/inteference
<johnw> if I could get nix-build to run cabal build with -v, I could see where they differ...
dbmikus has joined #nixos
ckauhaus has quit [Quit: Leaving.]
jb55 has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
<johnw> I bet this is because when I run nix-shell --command "cabal build", a much different set of things is happening than when nix-build runs its buildPhase
<johnw> i just need to be running the buildPhase
Izorkin has joined #nixos
roberth has joined #nixos
<Guanin> symphorien, at least it works for sudo, but not for my intended usecase as AuthorizedKeysCommand for openssh :(
Fare has joined #nixos
ThatDocsLady_ has joined #nixos
kitemikaze has quit [Remote host closed the connection]
kitemikaze has joined #nixos
pxc1 has joined #nixos
civodul has joined #nixos
<disasm> lol, leave it to Comcast to screw up a conference registration process so bad they tell you 2 days after you register for the event that there are no spots left. I registered as soon as I saw it on the nixos weekly announcement, so guessing they were booked even before the nixos weekly newsletter was published.
<disasm> or maybe it was 1 day, but still :)
<gchristensen> maybe Susan can get us more spots :)
<disasm> that would be awesome! Are you going Graham(?
<gchristensen> I didn't get in either
nyberg has joined #nixos
<disasm> Do you have contact information for Susan?
<gchristensen> we follow each other on twitter :) let me message her
<disasm> that would be awesome! I really want to go :)
<BlessJah> any events in europe (besides number of local user groups)?
rgc has left #nixos [#nixos]
<nyberg> hello, I was wondering how to run an extra command during the build phase of an idris package. Thus far I have this https://0x0.st/sA6s.nix which "builds" but fails to be of any use as none of the actual build phase is run.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #35901: far2l: 2017-10-08 -> 2018-02-27 (master...far-2018-02-27) https://git.io/vAPUh
NixOS_GitHub has left #nixos [#nixos]
alexteves has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: hamishmack]
ThatDocsLady_ has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
MP2E has joined #nixos
<sudoreboot[m]> `sudo nixos-rebuild -I nixpkgs=/data/src/nix/nixpkgs boot` Doesn't actually build from my local checkout; why is that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable 2bc81b7 Robert Schütz: pythonPackages.virtual-display: move expression
<NixOS_GitHub> nixpkgs/python-unstable 6bc69f2 Robert Schütz: pythonPackages.BlinkStick: patch for newer pyusb version
<NixOS_GitHub> [nixpkgs] dotlambda pushed 4 new commits to python-unstable: https://git.io/vAPIf
<NixOS_GitHub> nixpkgs/python-unstable dba55d9 Robert Schütz: pythonPackages.BlinkStick: move expression
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> dotlambda: hey, would you mind continuing to do PRs for the evaluation chechks?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vidbina has joined #nixos
<BlessJah> I'm trying to write nix script that'd let me build iso with just 'nix-build iso.nix'
<BlessJah> how iso images are build is closer to how whole system is build, rather than a single packages, isn't it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master e21057a Robert Helgesson: pytrainer: 1.11.0 -> 1.12.0
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vAPIX
<sudoreboot[m]> Sorry, I was mistaken. Disregard my question
<ottidmes> BlessJah: It basically builds a whole system, so yeah
<BlessJah> by running nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix
<BlessJah> I'm telling it to take (<nixpkgs/nixos>).config.system.build.isoImage derivation (is it derivation?)
nyberg has quit [Ping timeout: 245 seconds]
chaker has joined #nixos
Sonarpulse_ has joined #nixos
<BlessJah> What does nixos-config=iso.nix mean? I can see that there is such attribute in (import <nixpkgs/nixos> {}).config.system.build
ryantm has joined #nixos
<BlessJah> I'm not sure if it's related
<ryantm> gchristensen: I have 112 more PRs to do so far.
goibhniu has quit [Ping timeout: 240 seconds]
<gchristensen> neat
<gchristensen> let me scale some machines up
<ryantm> gchristensen: I'm not going to start yet, like in 6 hrs.
<gchristensen> oh
<gchristensen> I'll scale them back down ;) ping me with like 30min notice?
<ryantm> gchristensen: Ok!
<ottidmes> BlessJah: It is assigning a NIX_PATH value
<BlessJah> gchristensen: no autoscalling?
Sonarpulse has quit [Ping timeout: 248 seconds]
<BlessJah> ottidmes: ignotum per ignotum :|
goibhniu has joined #nixos
<chaker> Hey, I'm trying to build a maven project using Nix. I managed to generate project-info.json file using the maven2nix plugin. I also created a default.nix that contain "jar = (buildMaven ./project-info.json).build". However it's failling due to missing packages!! The POM for org.codehaus.plexus:plexus-component-annotations:jar:1.6 is missing, no dependency information available. Can we add packages outside from project-info file?
<gchristensen> BlessJah: I don't have time or budget to set that up right now
pmade has joined #nixos
<ottidmes> BlessJah: Sorry, I might just be introducing more confusion, I never really use -I, but nixos-config determines the config the iso should be based on
<ottidmes> BlessJah: I always use NIXOS_CONFIG=/wheel/proj/nixcfg/backupserver/build/installer.nix nix-build '<nixpkgs/nixos>' --no-out-link -A config.system.build.isoImage
<chaker> Well nothing is mentioned in the README of mvn2nix-maven-plugin about that
vidbina has quit [Quit: Lost terminal]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #35903: nnn: 1.6 -> 1.7 (master...nnn) https://git.io/vAPLh
NixOS_GitHub has left #nixos [#nixos]
rogue_koder has joined #nixos
<mfiano> How do I view the shutdown log? I saw 2 things had [FAILED] next to them, but it goes by too fast to know what.
<ottidmes> BlessJah: https://nixos.org/nixos/nix-pills/nix-search-paths.html#idm140737315801008 more info on NIX_PATH (common items on the NIX_PATH are nixos-config and nixpkgs)
<Guanin> mfiano, do you mean the journal?
<mfiano> Not sure
<Guanin> check out journalctl -b -1
<Guanin> you can jump to the end with capital G in there
<BlessJah> oh, then I'm skipping ahead
<BlessJah> I'm on pills
<mfiano> Guanin: Hmm, I have 3 failures
<mfiano> Failed unmounting /run/user/1000. Failed unmounting /home. watchdog: watchdog0: watchdog did not stop!
hamishmack has joined #nixos
Georgyo has joined #nixos
<Guanin> did the shutdown took a long time (1m30s or something like that)?
<ottidmes> BlessJah: Gotta love tech talk where nothing is what it seems, like I can say: Ah, its good you are using pills :P
<mfiano> Guanin: No it's instant
kelleyNif has quit [Quit: Leaving.]
<Guanin> okay, I do have the same error regarding watchdog on my laptop with archlinux, but it never really bothered me, as it is afaik some race condition with systemd. It just annoys me because shutdown takes a while
<ottidmes> mfiano: I get that one as well, not always, but often enough, probably just some process or another preventing those unmounts, I regard them as harmless
<BlessJah> ottidmes: whoever designed variadic templates in C++ must have been on LSD
<mfiano> ottidmes: That's hard to ignore my important data on home not unmounting properly, and maybe data not even synced to disk yet because of that
alex`` has quit [Ping timeout: 256 seconds]
<ottidmes> mfiano: Sure, I would rather have it unmount properly, but I am not afraid of that, I have backups and almost all my applications handle crashes good enough
sakshams has joined #nixos
<BlessJah> ottidmes: will it even be possible to write single file so I could 'nix-build iso.nix
<mfiano> Googling seems to suggest it's related to having a display manager running that logs a user in on /home
<BlessJah> when I need to set NIX_PATH?
<ottidmes> BlessJah: Hah, just using C++ is insane in my book :P
<ottidmes> mfiano: Are you using lightdm as well?
<sakshams> Hi all, a gentoo-to-NixOS convert here. I'm struggling with a weird version issue, there's 2 versions of irony-server appearing, and that's breaking things for me.
<mfiano> ottidmes: No, I'm using the 'auto' displayManager
<ldlework> how do I install ack-grep?
<ottidmes> BlessJah: Yeah there are multiple ways I could think of, some more hacky than others
<sakshams> nixos.irony-server irony-server-1.1.0 nixpkgs.irony-server irony-server-1.2.0
<BlessJah> ottidmes: the less hacky?
<ottidmes> BlessJah: Let me try something
<BlessJah> kk
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/python-unstable 6a69c15 Robert Schütz: pythonPackages.tunigo: move expression
<NixOS_GitHub> [nixpkgs] dotlambda pushed 3 new commits to python-unstable: https://git.io/vAPq5
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable e78d3d5 Robert Schütz: pythonPackages.txtorcon: remove superfluous patch
<NixOS_GitHub> nixpkgs/python-unstable c1b7935 Robert Schütz: pythonPackages.tunigo: fix tests
<ldlework> pls
peacememories has joined #nixos
digitalmentat has quit [Quit: Leaving]
<ottidmes> ldlework: Just a guess, but perlPackages.ack
<ldlework> nix-env -i perlPackages.ack
<ldlework> error: selector ‘perlPackages.ack’ matches no derivations
<sphalerite_> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<BlessJah> ldlework: you can get list of packages you can install with nix-env -qaP
<ldlework> nix-env -iA perlPackages.ack
<ldlework> error: attribute ‘perlPackages’ in selection path ‘perlPackages.ack’ not found
<sphalerite_> nix-env -f '<nixpkgs>' -iA ack
hiratara has quit [Ping timeout: 245 seconds]
<ldlework> nixpkgs.ack
<ldlework> ....
<BlessJah> sphalerite_: I believe -f '<nixpkgs>' to be unnecessary
<sphalerite_> BlessJah: it's necessary for consistent behaviour
<BlessJah> sphalerite_: what's the difference between -iA nixos.ack and -f '<nixpkgs>' -iA ack then?
hiratara has joined #nixos
<sphalerite_> BlessJah: without the -f, it'll refer to ~/.nix-defexpr
peacememories has quit [Ping timeout: 256 seconds]
<sphalerite_> the behaviour's rather confusing, but with the default setup it boils down to `nix-env -iA nixos.ack` if you're on nixos and `nix-env -iA nixpkgs.ack` otherwise
<BlessJah> oh, makes sense
<BlessJah> sphalerite_: and if I had other channels?
<sphalerite_> nix-env -f '<nixpkgs>' -iA ack behaves consistently across all non-pathological nix installations :D
mmlb has quit [Ping timeout: 248 seconds]
<BlessJah> you're right
<sphalerite_> then you'd typically want to do nix-env -f '<other-channel-name>' provided your NIX_PATH is set up to refer to the channels profile
<sphalerite_> (which it is by default)
<BlessJah> ~> nix-env -f '<nixos-unstable>' -iA ack
<BlessJah> error: file ‘nixos-unstable’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<ottidmes> BlessJah: Thinking about it some more, you could create something in Nix, but it will not be much different than making a shell alias, because like you said, you basically ask for the evaluated config to build it as an iso, so in that sense it cannot be a standalone package (or that package would have to do a similar "build system as iso" call itself)
<sphalerite_> BlessJah: you have the channel available? and your channels dir on NIX_PATH?
<BlessJah> sphalerite_: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<BlessJah> sphalerite_: it'd seem so
<sphalerite_> and you have it in root's channels, not your user's? (sudo nix-channel --list)
<BlessJah> in users
roberth has quit [Ping timeout: 240 seconds]
<ottidmes> lol, I have had environment.shellAliases.nix-env = "nix-env --file '\\''<nixpkgs>'\\''"; for ages, I almost said, huh, I never do that but never encountered a problem, well that alias explains why...
<sphalerite_> yeah the user's channels aren't in the NIX_PATH by default, just to add to the confusion
<BlessJah> root has nixos, user has nixos-unstable (only)
<sphalerite_> This is why nix-env is terrible and needs replaced
<sphalerite_> ottidmes: yep. I have the same. It's nice because you can still use -f . or whatever, as only the last -f seems to take effect
<BlessJah> sphalerite_: I'd love to see something like environment.nix where I could manage env like I manage system-wide packages in /etc/nixos/
shabius has quit [Quit: Leaving]
<sphalerite_> BlessJah: check out the page linked at
<sphalerite_> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<sphalerite_> LnL's overlay gives you something like that
tertle||eltret has joined #nixos
<BlessJah> ottidmes: i'm much into abusing shebang, I want to #!/usr/bin/env nix-build the file :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vidbina closed pull request #34898: screenkey: 0.2 -> 0.9 (master...fork/screenkey) https://git.io/vAmus
NixOS_GitHub has left #nixos [#nixos]
<LnL> yeah you can manage user profiles mostly declarative, but can’t link it right now
<sphalerite_> LnL: it's linked from the wiki page :)
<ottidmes> BlessJah: But the file would be your NixOS config right? Why not make your own, call it nix-iso-build, that ends up calling nix-build with the config supplied?
<LnL> sphalerite: oh? :)
<sphalerite_> yep
<BlessJah> sphalerite_: I use -iA ${channel}.foo, but I guess it's anyway replaced with nixos-unstable next time I nix-env --upgrade
shabius has joined #nixos
<sphalerite_> BlessJah: --upgrade is another hairy issue, it's alsom entioned on the wiki page
<LnL> well I’m glad I fixed that to be a proper overlay :D
<BlessJah> ottidmes: ideally building would boil down to ./iso.nix, with nix being only requirement
<BlessJah> i.e. no aliases, scripts etc
nyberg has joined #nixos
<BlessJah> sphalerite_: is it possible to manage env without nix-env? sth like environment.systemPackages?
<sphalerite_> BlessJah: not really, nix-env is necessary for managing profiles. But you can use wrappers like LnL's nix-rebuild.
<sphalerite_> nixos-rebuild uses nix-env under the hood as well.
<LnL> yeah even nixos-rebuils depends on the set operation of nix-env
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda force-pushed python-unstable from c1b7935 to c5d6e66: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable bd49adc Robert Schütz: pythonPackages.aiohttp: 3.0.4 -> 3.0.5
<NixOS_GitHub> nixpkgs/python-unstable cd323e8 Robert Schütz: python3Packages.netdisco: allow newer zeroconf versions
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable a2bc30c Robert Schütz: pythonPackages.pytest-xdist: 1.22.1 -> 1.22.2
<BlessJah> some dark magix
<LnL> lol, that’s not even close to some of the magic I’ve done in nix-darwin
phdoerfler has quit [Quit: Leaving.]
theNerd247 has joined #nixos
kelleyNif has joined #nixos
<theNerd247> if I have a default.nix is there a way to download the source contained therein and enter a nix-shell that has all the depenendencies installed and setup?
<yorick> theNerd247: nix-shell default.nix --command "unpackPhase; return"
<BlessJah> LnL: when I have two channels: nixos (root) and nixos-unstable (user), how do I tell them with that super argument?
dan_b has joined #nixos
<ottidmes> BlessJah: One tip, you might look at importing from a derivation for some of what you try to do, not sure how to make it work the way you want it, isnt the contents of iso.nix just passed to the stdin?
<BlessJah> ottidmes: ./iso.nix will execute /usr/bin/env nix-build ./iso.nix
ryanartecona has quit [Quit: ryanartecona]
<hodapp> let me tell you about the one time I did some black magic so weird in QMake that I had to destroy it completely lest it rise again...
chaker has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
chaker has joined #nixos
<shapr> ok, I want to hear this.
<chaker> Unfortunately, after going through #nixos log, I'm now sure that packaging a Maven project with Nix won't be a pleasant experience :(
* hodapp runs
<hodapp> chaker: is there much precedent for packaging Java-ish stuff in Nix?
szicari has quit [Quit: szicari]
<chaker> Well there's a function 'buildMaven' to build maven project. But it's not under dev, and no documentation AFAIK. I guess building a java application that doesn't need maven to fetch the dependencies is *easy*. But the majority of Java apps are using Maven!
sakshams has quit [Quit: Page closed]
chessai has quit [Remote host closed the connection]
Mateon3 has joined #nixos
<elvishjerricco> Is there a workaround for `access to path ... is forbidden in restricted mode` for Hydra? It breaks `callCabal2nix`.
<sphalerite_> isn't callCabal2nix IFD?
<elvishjerricco> sphalerite_: Yes
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon3 is now known as Mateon1
<sphalerite_> And IFD just isn't allowed in nixpkgs
<sphalerite_> AFAIK
<sphalerite_> so — to my knowledge — the answer is simply "no"
<elvishjerricco> This isn't for nixpkgs, this is for reflex-platform, which uses it extensively
<sphalerite_> oh right
<elvishjerricco> I've been trying to give reflex-platform a hydra instance for a while, and this just came out of nowhere when I updated my 17.09
<theNerd247> yorick: thanks!
theNerd247 has quit [Quit: Page closed]
<elvishjerricco> There's no configuration option or anything anywhere to either allow IFD in restricted mode or not use restricted mode in Hydra?
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e41ca3b David Asabina: digitalbitbox: init at 2.2.2 (#33787)...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAPGu
jsgrant has quit [Quit: WeeChat 2.0.1]
rardiol1 has quit [Remote host closed the connection]
jackdk has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 2 new commits to python-unstable: https://git.io/vAPZk
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/python-unstable f76e8cb Robert Schütz: pythonPackages.tmdb3: 0.6.17 -> 0.7.2
<NixOS_GitHub> nixpkgs/python-unstable 9e29b4b Robert Schütz: pythonPackages.tmdb3: move expression
Myrl-saki has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #35904: Python fixes (staging...python-unstable) https://git.io/vAPZO
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34167: screenkey: init at 0.9 (master...screenkey) https://git.io/vNVEF
NixOS_GitHub has left #nixos [#nixos]
<gillmanash> How do you escape ${...} in a string?
<elvishjerricco> gillmanash: `''${...}`
<gillmanash> elvishjerricco: Thanks! Can you explain why both single quotes and backquotes are needed?
<elvishjerricco> gillmanash: Oh sorry, that's just me formatting for my IRC client :P
<elvishjerricco> The backquotes should not be there
<gillmanash> Haha, cool thanks
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vAPZ9
<NixOS_GitHub> nixpkgs/master f3ed511 Ryan Mulligan: media-player-info: 22 -> 23...
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> in /bin/sh how to do if (!(command1 && command2)) again? my initrd script now just ignores the second command
chessai has joined #nixos
chessai has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda pushed 1 new commit to python-unstable: https://git.io/vAPZj
<NixOS_GitHub> nixpkgs/python-unstable 94baae5 Robert Schütz: pythonPackages.wp_export_parser: uninit...
NixOS_GitHub has left #nixos [#nixos]
thebardian has joined #nixos
jtojnar has joined #nixos
Fare has quit [Quit: Leaving]
chessai has joined #nixos
chessai has quit [Remote host closed the connection]
chessai has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #35872: media-player-info: 22 -> 23 (master...auto-update/media-player-info-22-to-23) https://git.io/vAiqB
NixOS_GitHub has left #nixos [#nixos]
<ottidmes> Ah, this seems to work: if ! { true && true; }; then echo yes; else echo no; fi
mdedetrich has joined #nixos
<mdedetrich> Is this the right channel to get some intermediate help regarding nix packages (in my case its the rust overlay package from Mozilla?)
<mdedetrich> In my case I am getting the same problem that is listed here, i.e. when I try to install a Rust package via cargo I get the following error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master db913f8 volth: dropbear: 2017.75 -> 2018.76
<NixOS_GitHub> nixpkgs/master 0046994 Jörg Thalheim: Merge pull request #35897 from volth/patch-113...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAPnr
NixOS_GitHub has left #nixos [#nixos]
<mdedetrich> "linker `cc` not found
lord| has joined #nixos
<mdedetrich> The other previously mentioned example is https://botbot.me/freenode/nixos/2018-02-16/?page=15
<mdedetrich> This is the output of my nix-info
<mdedetrich> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-17.09.3083.87c057a9c16", channels(mdedetrich): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<mdedetrich> rust-1.24.0-2018-02-12-4d90ac38c is the package I have installed
asuryawanshi has quit [Ping timeout: 245 seconds]
<ottidmes> mdedetrich: I have seen multiple people ask about setting up a Rust env here on the channel, but unfortunately I will not be any help, I have never used rust in NixOS, hopefully others will be able to help you
chaker has quit [Ping timeout: 260 seconds]
<mdedetrich> its installed with the rust overlay, i.e. nix-env -Ai nixos.latest.rustChannels.stable.rust
<mdedetrich> ottidmes: Thanks, I think the issue is that cargo isn't aware of gcc because of how its installed with nixos
<mdedetrich> Trying to google around however I haven't found any helper
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master ede1b6f Sander van der Burg: nodePackages: regenerate with node2nix 1.5.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vAPcf
<mdedetrich> Hmm I may have found something
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 822526f Tuomas Tynkkynen: kernel config: Enable CGROUP_BPF...
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vAPc8
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vAPcB
<NixOS_GitHub> nixpkgs/release-17.09 2113096 Sander van der Burg: nodePackages: add jsdoc + regenerate with node2nix 1.5.2
NixOS_GitHub has left #nixos [#nixos]
wladz has joined #nixos
sigmundv has joined #nixos
judson has joined #nixos
<judson> I added docker-compose to a nix-shell, and now my Neovim python plugins are broken there.
humanoyd has quit [Quit: WeeChat 2.0.1]
<judson> I'm confused, because nvim is a wrapper that points Neovim to nvim-python instances.
<judson> What I'm seeing though is lib/python3.6/imp.py calling lib/python2.7/site-packages/site.py
<judson> FRidh, I think you're the Nix Python expert?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] deepfire opened pull request #35905: GHC 8.4 configuration: trim outdated overrides (master...ghc-8.4) https://git.io/vAPcj
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2482e28 John Ericson: prebuilt android tools: Init using SDK...
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/vAPCm
<NixOS_GitHub> nixpkgs/master d31fb80 John Ericson: Merge pull request #35451 from obsidiansystems/android-cross...
<NixOS_GitHub> nixpkgs/master 3a672cb John Ericson: libiconv, ncurses: Add optional flags for minimal android variant
Drakonis has joined #nixos
leoleoleotest[m] has joined #nixos
thebardian has quit [Remote host closed the connection]
chessai has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<judson> This is just a bad time of day for most of this room, isn't it?
<simpson> I'm around but I have zero idea what's wrong with your setup.
<judson> Fair enough :/
babyflakes has quit [Quit: Connection closed for inactivity]
<judson> It's not my usual problem - it just seems to have gone wrong once I added docker-compose to this nix-shell
<judson> When confronted long ago with Ruby and Python, I chose Ruby, so Python's environment is a little mysterious to me
<judson> I can live with a system-wide docker-compose I guess.
<gchristensen> maybe take a look at the environment variables
michas_ has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dbb22dd1d60 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Drakonis has quit [Read error: Connection reset by peer]
<mkaito> could anyone give me advice on creating an overlay to change the version of bundler (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ruby-modules/bundler/default.nix) ?
<gillmanash> judson: what is your $PYTHONPATH inside the shell?
cement has quit [Ping timeout: 240 seconds]
chisui has quit [Ping timeout: 260 seconds]
niklob has joined #nixos