gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || 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://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b7e64c21906 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jonreeve has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #45164 → vegur: init at 0.701 → https://git.io/fNhPg
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fAehj
<samueldr> thanks!
* samueldr wants a thanks button on merge events on github
<infinisil> :P
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
Havvy has quit [Ping timeout: 276 seconds]
abueide has joined #nixos
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
iyzsong has joined #nixos
bennofs has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @magnetophon opened pull request #45316 → x42-plugins: 20180803 > 20180812 → https://git.io/fAejW
<{^_^}> [nixpkgs] @magnetophon opened pull request #45317 → ir.lv2: 1.2.3 -> 1.2.4 → https://git.io/fAejz
<kisik21> What to add to buildInputs for perl to be available in the $PATH?
thetet has quit [Quit: Leaving.]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e2915cec9c9 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<disasm> update on hanging on boot weirdness, I bumped nixpkgs to latest unstable. I noticed it compiled zfs as part of the updates it did, so I'm wondering if that was part of the problem. After a reboot, it booted right into login screen so quickly I didn't even see the 18.09 splash screen! No issues with hanging.
acowley has quit [Quit: ZNC - http://znc.in]
<samueldr> disasm: out of the loop define "hanging"
<samueldr> I have been battling with unreproducible weirdness across DMs where sometimes in a generation it will hand on a black screen, which I can resolve quicker by ctrl+alt+f1, logging-in, restarting display-manager
<gchristensen> I have that too but if I just wait it'll come up
<samueldr> gchristensen: unreproducible?
<gchristensen> hrm. reproducible. happens every time.
<samueldr> and hangs for how long?
<gchristensen> 30s-1min
<samueldr> :/ I can rebuild with seemingly irrelevant changes and it stops hanging
<kisik21> samueldr: looks like corruption
<gchristensen> huh.
<samueldr> and the same config (same nixpkgs commit) on different computers (different hardware) act differently
<samueldr> but haven't done anything yet since *I can't reproduce faithfully*
<samueldr> (drives me mad)
<kisik21> check your /nix/store for corrupted ~~billionaire people~~ files
<samueldr> no corruption
countingsort has quit [Ping timeout: 240 seconds]
<clever> kisik21: also, i think if you use buildInputs and nativeBuildInputs, it will pick the right one for you
<clever> kisik21: oh, and cross-compile goes out of its way to NOT put buildInputs into PATH
<kisik21> oh that's why
<kisik21> nativeBuildInputs?
<clever> yeah
<clever> and just use a single pkgs
<gchristensen> it seems like maybe too much magic, like sort of feels like it breaks referential transparency
<emily> kisik21: b-billionaire people files?
<samueldr> thinking it's a race condition somehwere :/
<kisik21> ~~it's Markdown's strikethrough syntax, too used to it~~
<samueldr> thinking about it, *my* issue only happens (I think) on my slower computers
<emily> ~to me it makes me imagine a japanese subtitle~
JonReed_ has quit [Ping timeout: 252 seconds]
iyzsong has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: Leaving]
foldingcookie has joined #nixos
joebobjoe has quit [Ping timeout: 276 seconds]
Fare has joined #nixos
iyzsong has joined #nixos
iyzsong has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0ad37216160 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
lassulus_ has joined #nixos
foldingcookie has quit [Remote host closed the connection]
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
foldingcookie has joined #nixos
foldingcookie has left #nixos [#nixos]
foldingcookie has joined #nixos
<adamantium> hey guys, how can i get lm_sensors properly installed configured
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
Fare has quit [Ping timeout: 240 seconds]
kisik21 has quit [Ping timeout: 244 seconds]
selfsymmetric-mu has joined #nixos
disasm has quit [Quit: WeeChat 2.0]
iyzsong has joined #nixos
joebobjoe has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
slack1256 has joined #nixos
ongy has quit [Ping timeout: 265 seconds]
silver__ has quit [Quit: rakede]
joebobjoe has quit [Ping timeout: 260 seconds]
slyfox has quit [Ping timeout: 244 seconds]
Fare has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #45319 → hydron: 2018-08-15 -> 2018-08-18 → https://git.io/fAvvX
wennefer0 has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
wennefer0 has quit [Remote host closed the connection]
wennefer0 has joined #nixos
wennefer0 has quit [Remote host closed the connection]
ericsagnes has joined #nixos
alexteves has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 244 seconds]
init_6 has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
disasm has joined #nixos
<{^_^}> [nixpkgs] @yrashk opened pull request #45320 → nwjs-sdk: init at 0.32.1 → https://git.io/fAvf4
ryanartecona has joined #nixos
Havvy has joined #nixos
lsyoyom has quit [Read error: Connection reset by peer]
sb0 has quit [Quit: Leaving]
ajs124 has quit [Quit: Gateway shutdown]
mayhewluke has joined #nixos
abueide has quit [Ping timeout: 240 seconds]
lsyoyom has joined #nixos
Jackneilll has quit [Read error: Connection reset by peer]
Jackneilll has joined #nixos
<{^_^}> #24600 (by chris-martin, 1 year ago, open): Mastodon
joebobjoe has joined #nixos
joebobjoe has quit [Ping timeout: 240 seconds]
abueide has joined #nixos
abueide has quit [Ping timeout: 276 seconds]
ryanartecona has quit [Quit: ryanartecona]
vmandela has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
witchof0x20 has quit [Remote host closed the connection]
witchof0x20 has joined #nixos
b has joined #nixos
worldofpeace_ has quit [Read error: Connection reset by peer]
c00w has joined #nixos
worldofpeace has joined #nixos
jD91mZM2 has joined #nixos
Guanin has quit [Ping timeout: 240 seconds]
Guanin has joined #nixos
<vmandela> Is there a way to run on only one test out of multiple tests defined in a nixos test? say only the "simple" test from nixpkgs/nixos/tests/installer.nix
Drakonis has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 1.9.1]
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
hamishmack has joined #nixos
<Myrl-saki> This is so sad. qemu on my desktop performs better than my actual device, even on single-core perf.
<DigitalKiwi> I don't have an explanation but that's not unheard of and always amusing
<Myrl-saki> DigitalKiwi: The device is from 2012
<Myrl-saki> The difference is marginal though, probably at most 20% faster
<DigitalKiwi> I had windows vms that booted in a few seconds and windows on the same machine in ~60 seconds back in... uh...2007?
<Myrl-saki> DigitalKiwi: Same lol
<DigitalKiwi> I'm sure there's a reason and I probably knew at some point but I forget
<Myrl-saki> Oh, hm.
<Myrl-saki> Interestingly, I might be talking out of my ass right now. On micro benchmarks, my tablet's actually faster.
sm0rux has quit [Quit: Leaving]
<ldlework> Is there anyway to add functions to lib?
<Myrl-saki> But qemu has a startup time.
<DigitalKiwi> which is nice I guess the only reason I have a physical partition for windows is because parallels can't support direct x 11, so if I'm not using that I don't need to reboot
<Myrl-saki> DigitalKiwi: FWIW, I'm guessing it's the same reason why Java is faster, sometimes.
<Myrl-saki> Optimize for best-case scenario, reprogram if best-case is faulty.
<{^_^}> [nixpkgs] @ashkitten opened pull request #45321 → noto-fonts-emoji: 2017-09-13 -> 2018-04-24 → https://git.io/fAvTY
init_6 has quit [Ping timeout: 240 seconds]
<Myrl-saki> Oh, apparently, my tablet was also capped at 600 MHz, for god knows what reason
<Myrl-saki> Feels wayyy snappier.
simukis has joined #nixos
<clever> DigitalKiwi: the linux host can cache reads, and serve them to the vm faster then the hdd could
joebobjoe has joined #nixos
pxc has joined #nixos
hlolli has joined #nixos
<hlolli> Hello nightowls, I'm still learning nixos. I just updated my channels and rebuilt nixos. With both unstable and stable I get error: attribute 'nodejs-9_x' missing. How can I install node9 again, why did it disappear?
<clever> hlolli: 9 isnt in nixpkgs
<clever> nodejs nodejs-10_x nodejs-6_x nodejs-8_x nodejs-slim nodejs-slim-10_x nodejs-slim-6_x nodejs-slim-8_x
<hlolli> I ended up installing nodejs, which I found out was 8, and few of my nodejs apps are now crashing
<clever> only 6, 8, and 10 are
<hlolli> ah 10, that could do it
<hlolli> what command did you use to list that? I usually search here https://nixos.org/nixos/packages.html#nodejs-9_x
<clever> hlolli: tab-completion inside `nix repl '<nixpkgs>'`
<hlolli> bingo
<pxc> for some reason when I try to install nerdfonts via Nix, the curl hangs and it never downloads the source. It doens't show it updating, either. But if I copy and paste the very same URL from the nix-build output, I can download it myself successfully
<pxc> any ideas of why this might be?
<ivan> pxc: user agent ban?
<pxc> ivan: hmmm. What can I do about it?
<clever> pxc: run nix-prefetch-url on the url?
<{^_^}> [nixpkgs] @adisbladis merged pull request #45190 → memcached: 1.5.9 -> 1.5.10 → https://git.io/fNh5U
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fAvTy
<ivan> oh weird that looks like github which doesn't do weird shenanigans like that
<pxc> huh. it went through when I was looking away from the screen
<pxc> it had been many minutes before, though. It was holding up a nixos-rebuild. And it stayed at 0% before, or seemed to
<ivan> github might have to generate a thing just for you
<ivan> you're asking for a tree of a commit so it doesn't have objects to serve right away
<ivan> clones with --depth= can be similarly delayed
<pxc> ooooooooh, that makes sense
<pxc> idk why I got different behavior in my web browser and with manual invocations of wget and curl, though
<clever> that is a bit odd
pxc has quit [Quit: WeeChat 2.1]
<ivan> pxc: is your web browser logged in to github? try logged out
<ivan> github has very different quotas for logged in
<clever> that wouldnt explain manual wget
<ivan> otherwise I have no clue :-)
<ivan> oh
<{^_^}> [nixpkgs] @danieldk opened pull request #45322 → resilio-sync: 2.5.12 -> 2.6.0 → https://git.io/fAvTh
<ldlework> Is there anyway to get the filename of the file an expression is in?
<ldlework> I'd like to set networking.hostName based off the filename
mzan has joined #nixos
<Lisanna> ldlework no, I don't think so
joebobjoe has quit [Ping timeout: 272 seconds]
mayhewluke has quit [Ping timeout: 268 seconds]
slack1256 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #45252 → di: 4.46 -> 4.47 → https://git.io/fNjC3
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAvkW
<ldlework> hey yorick, I fixed the issue with quoted strings
<ldlework> improved it anyway
<{^_^}> [nixpkgs] @Mic92 merged pull request #45284 → msgpack: rename from libmsgpack → https://git.io/fAesX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAvkg
<{^_^}> [nixpkgs] @nlewo merged pull request #45189 → musescore: 2.3.1 -> 2.3.2 → https://git.io/fNh7Q
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAvk7
<Lisanna> what decides whether a package is named "libx" or just "x"?
<{^_^}> [nixpkgs] @vcunat pushed to staging « postgresql*: fixup build by a side-step »: https://git.io/fAvkb
<clever> the direction of the wind
Anton-Latukha has joined #nixos
mayhewluke has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
sm0rux has joined #nixos
b has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @vcunat pushed to master « ntl: use a more "stable" fix for clang platforms »: https://git.io/fAvIU
<Lisanna> clever ):
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.03: https://git.io/fAvIL
<{^_^}> [nixpkgs] @vcunat merged pull request #45298 → libgit2: 0.26.0 -> 0.26.6 (security, fixes) → https://git.io/fAegJ
slyfox has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
hlolli has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/fAvIs
<{^_^}> [nixpkgs] @vcunat merged pull request #44625 → libgit2: 0.26.0 -> 0.26.6, 0.27.3 -> 0.27.4 → https://git.io/fNDXL
Havvy has quit [Remote host closed the connection]
hlolli has joined #nixos
hlolli_ has joined #nixos
<{^_^}> [nixpkgs] @leenaars opened pull request #45323 → ydiff: init at 1.1 → https://git.io/fAvIR
hlolli has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti pushed to master « hackage-packages: avoid broken reference to gnome2.gnome-keyring »: https://git.io/fAvIo
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #45192 → mcelog: 159 -> 160 → https://git.io/fNhdl
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAvIM
<{^_^}> [cabal2nix] @peti pushed to master « Fix library name for gnome-keyring-1. »: https://git.io/fAvID
<{^_^}> [nixpkgs] @nlewo merged pull request #45188 → lynis: 2.6.6 -> 2.6.7 → https://git.io/fNhQj
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAvI5
<{^_^}> [nixpkgs] @nlewo merged pull request #45178 → owncloud-client: 2.4.2 -> 2.4.3 → https://git.io/fNh9d
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAvLz
klntsky has quit [Ping timeout: 250 seconds]
Anton-Latukha has quit [Ping timeout: 272 seconds]
klntsky has joined #nixos
Izorkin has joined #nixos
<Lisanna> haha, wow... I've gotten myself into a situation where trying to use a value in an assert causes the evaluator to hit infinite recursion
<Lisanna> but I use that value elsewhere in the expression...
<Lisanna> It's a value that's used in recursive way, Nix's recursive ability isn't perfect
<Lisanna> it'd probably also break if I did builtins.seq on it
<{^_^}> [nixpkgs] @Mic92 merged pull request #45321 → noto-fonts-emoji: 2017-09-13 -> 2018-04-24 → https://git.io/fAvTY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAvtm
<{^_^}> [nixpkgs] @Mic92 merged pull request #45282 → Add licenses → https://git.io/fAemS
<{^_^}> [nixpkgs] @Mic92 pushed 21 commits to master: https://git.io/fAvtZ
Havvy has joined #nixos
asymmetric has joined #nixos
vidbina has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/dc1b036c962 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
joebobjoe has joined #nixos
ennui has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixops] @eqyiel opened pull request #991 → nix/auto-luks.nix: remove reference to auto-generated passphrase → https://git.io/fAvqA
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
Fare has joined #nixos
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto opened pull request #45324 → libvirt: darwin/linux fix dlopen("libjansson.so.4") → https://git.io/fAvm3
graphene has joined #nixos
periklis has joined #nixos
Anton-Latukha has joined #nixos
<jD91mZM2> How do you use the Mozilla rust overlay together with rustPlatform.buildRustPackage?
<jD91mZM2> Ah, thanks!
za1b1tsu has joined #nixos
jasongrossman has joined #nixos
<za1b1tsu> so how is nixos development going? I always been fascinated with this distro, planing to try it out when I have more time
joebobjoe has quit [Ping timeout: 244 seconds]
jasongrossman has quit [Remote host closed the connection]
<tilpner> jD91mZM2 - Try without a git:// dep
<jD91mZM2> but... but...
<jD91mZM2> I need it heh
<tilpner> But I don't think that would depend on nightly
periklis has quit [Remote host closed the connection]
<jD91mZM2> What do you mean?
<tilpner> Did the git dep work with non-overridden buildRustPackage?
<jD91mZM2> I think it actually did get further
periklis has joined #nixos
<jD91mZM2> Or maybe the other way around
<{^_^}> #44465 (by erictapen, 2 weeks ago, open): buildRustpackage: failed to load source for a dependency on $x
<jD91mZM2> It instead complaining about missing cargo feature "edition"
<tilpner> jD91mZM2 - You don't really need cargo git deps
<tilpner> jD91mZM2 - You can fake them with path deps and Nix
<jD91mZM2> symphorien: Nice
<jD91mZM2> tilpner: The path would need to be placed into the Cargo.toml by nix, right?
Thra11 has joined #nixos
<tilpner> Probably
<tilpner> Maybe .cargo/config has some other option
mzan has left #nixos [#nixos]
<symphorien> so this is easiliy fixable but we need to break all the cargoSha256 in the world
<jD91mZM2> symphorien: Would it be possible to have some sort of toggle that resorts to the old bad behavior?
<jD91mZM2> optIntoSanity = true;
<symphorien> cargoSha256Version = 2;
<symphorien> this would be sad, but why not.
<jD91mZM2> useInsaneShaComputationInsteadOfTheNiceThings = false;
Anton-Latukha has quit [Read error: Connection reset by peer]
Anton-Latukha has joined #nixos
jasongrossman has joined #nixos
Ariakenom has joined #nixos
<jD91mZM2> tilpner: Now getting in trouble because of --frozen
<jD91mZM2> Updated the path in preBuild, but that would change Cargo.lock
periklis has quit [Ping timeout: 240 seconds]
jasongrossman has quit [Ping timeout: 276 seconds]
thc202 has joined #nixos
inquisitiv3 has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #44977 → puppet-lint: init at 2.3.6 → https://git.io/fNdFY
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fAvYP
patrl has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « FIx floating point evaluation »: https://git.io/fAvY7
rfold has joined #nixos
<inquisitiv3> I'm experiencing problems with connecting to my home network via WiFi. I always need to reconnect to the network when turning on the machine, and sometimes even try several times. Now I'd to reboot the computer to be able to connect. Sometimes the WiFi icon disappear after suspending the laptop. These problems only occur in NixOS. No such problems with my other machines running Fedora or when I ran Debian on this machine.
<inquisitiv3> I couldn't find anything when I took a quick look at the issues reported for nixpkgs @ Github.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4df3426f5a5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nix] @edolstra pushed to master « nix run: Restore CPU affinity »: https://git.io/fAvYh
<rfold> Is there a way to find out for which devices there are drivers in the installation CD?
medvid has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #45002 → diamond: init at 3.10 → https://git.io/fNbne
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fAvOT
<inquisitiv3> rfold: I don't know if this answer your question, but the installation CD is also a LiveUSB.
<inquisitiv3> So when you boot the CD you'll probably find out what works and what doesn't.
<rfold> inquisitiv3: Yes, I'm running it off a USB drive. But I can't connect to the internet because I think there's no driver for my wifi adapter included
<inquisitiv3> rfold: Intel chip?
<sphalerite> rfold: does `ip link` show a device whose name begins with wl?
<rfold> inquisitiv3: The CPU is Intel, the Wi-Fi adapter is Linksys WUSB6400M, "ip a" only lists loopback and enp3s0
<rfold> The device does appear in dmesg as "found USB device"
<sphalerite> rfold: as far as I can see from a quick search of the internets, this adapter isn't supported by linux at all
<rfold> Yeah, there appears to be an unmaintained driver on github :') Guess I'll have to look for something else then, thanks!
mayhewluke has quit [Ping timeout: 276 seconds]
<rfold> Perhaps I can find a Wi-Fi PCIE device that Linux supports
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #45072 → lmdbxx: init at 0.9.14.0 → https://git.io/fNxqa
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fAvO4
rfold has quit [Ping timeout: 276 seconds]
jasongrossman has joined #nixos
periklis has joined #nixos
rfold has joined #nixos
alex`` has joined #nixos
<Myrl-saki> NVidia broke my Linux install! (And other things that I expected)
arjen-jonathan has joined #nixos
CodeKiwi has joined #nixos
DigitalKiwi has quit [Ping timeout: 244 seconds]
joebobjoe has joined #nixos
<angerman> how do I use `-K` with remote builders?
<sphalerite> angerman: not 100% sure but I think you might be able to specify them as ssh-ng://user@host?keep-failed
<{^_^}> [nixpkgs] @LnL7 opened pull request #45325 → vim-nix: 2018-07-01 -> 2018-08-19 → https://git.io/fAv3Z
<angerman> sphalerite: let's see :-)
<{^_^}> [nixpkgs] @LnL7 pushed to master « gtk3: propagate Cocoa on darwin »: https://git.io/fAv3B
<Myrl-saki> How long does texlive take to build, and how the fuck did they build this 30 years ago lmao
<sphalerite> Myrl-saki: texlive as in?
<Myrl-saki> sphalerite: I'm doing `nix-build -E '(import <nixpkgs> {}).texlive.combine {}'
<Myrl-saki> It's been goign on for more thna an hour now.
<Myrl-saki> That's not including scheme medium or whatever it's called.
<Myrl-saki> Oh, it's stripping/shrinking now.
<sphalerite> and why is it building from source?
<Myrl-saki> sphalerite: ARMv7
<sphalerite> ah right
<sphalerite> hey that's not too bad then
<Myrl-saki> Yeah. :P
<ldlework> Myrl-saki: are you using one of those split intel/nvidia setups?
<angerman> sphalerite: hmm that did not seem to work.
<angerman> sphalerite: might need to look after dinner.
asymmetric has quit [Remote host closed the connection]
<angerman> sphalerite: guess alternatively I could install some failure hook that would just dump config.log if configure failed.
<Myrl-saki> ldlework: Yes, but on a desktop, so no hardware.
<angerman> bah, I hate these tools that log to some file and just casually mention the log file.
<{^_^}> [nixpkgs] @LnL7 merged pull request #45300 → quaternion: Darwin support, fix dependencies and installed outputs → https://git.io/fAe2T
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAv3o
<sphalerite> angerman: maybe setting keep-failed = true in nix.conf on the builder will also do it
<sphalerite> not sure
<ldlework> Myrl-saki: i have a nix expression for setting up that split optirun thing
<ldlework> not sure if you need it
<Myrl-saki> ldlework: I already got it working using X11.
<Myrl-saki> It's just that it breaks my system, ish.
<Myrl-saki> After a suspend, I can't use sudo.
<ldlework> ok
<Myrl-saki> Yeah, weird, right? But I also can't shutdown properly.
periklis has quit [Ping timeout: 260 seconds]
<Myrl-saki> OTOH, I can't seem to disable cupsSupport/waylandSupport at all.
<Myrl-saki> :/
<Myrl-saki> Globally, I mean.
<Ashy> hmm, anyone running nixos with native zfs encryption on a uefi machine?
<Myrl-saki> Oh.
<sphalerite> Ashy: probably hyper_ch
<Ashy> i've got a working install of that on a bios laptop but just tried to do a similar install on to a usb ssd on my uefi desktop (ryzen) and get a stage1 boot error
<Ashy> sphalerite: cheers, i'll write up a proper pastebin tomorrow and ask hyper_ch
globin has quit [Ping timeout: 256 seconds]
<Myrl-saki> Hm
<Myrl-saki> Does anyone know of an `update` that only updates if the kv exists from the start?
<Myrl-saki> I could just use filter elem.
globin has joined #nixos
<Myrl-saki> overrideExisting?
<{^_^}> [cabal2nix] @peti pushed to master « cabal2nix.cabal: bump version number for release »: https://git.io/fAv3N
<{^_^}> [nixpkgs] @Ma27 closed pull request #44624 → sqldeveloper: 17.4.1.054.0712 -> 18.2.0.183.1748 → https://git.io/fNDij
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.11: https://git.io/fAv3A
<Myrl-saki> Fucking hell
<Myrl-saki> And assertion is still failing.
<{^_^}> [nixpkgs] @LnL7 merged pull request #45310 → vim-qml: init at 2018-07-22 → https://git.io/fAeQg
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAvsf
<{^_^}> [nixpkgs] @LnL7 merged pull request #45311 → vim-lastplace: init at 2017-06-13 → https://git.io/fAeQw
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAvsJ
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fAvsT
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to release-18.03: https://git.io/fAvsq
<{^_^}> [nixpkgs] @jtojnar merged pull request #44652 → skypeforlinux: Add GSettings schemas → https://git.io/fNyVC
<Myrl-saki> Oh, it's because it's ghostscriptX, of course.
logzet has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fAvsO
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fAvsn
joebobjoe has quit [Ping timeout: 276 seconds]
* ldlework pets Myrl-saki to calm them
wrl has quit [Read error: Connection reset by peer]
<Myrl-saki> b-baka. What are you doing?
<Myrl-saki> Jokes aside, I feel so dead rn
<Myrl-saki> I don't think it's possible to override this too. :/
wrl has joined #nixos
sb0 has joined #nixos
lewo has quit [Remote host closed the connection]
<ldlework> Myrl-saki: you are on a bad time schedule for all the nix smarties
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<Myrl-saki> ldlework: Yeah, why do I live in Asia? ; ~ ;
klntsky has quit [Remote host closed the connection]
sm0rux has quit [Ping timeout: 256 seconds]
klntsky has joined #nixos
<Myrl-saki> The funny thing is that if I set it to null, it will error as expected.
<Myrl-saki> Oh, wow. This is worse than I thought. :/
<ldlework> lol
<ldlework> Myrl-saki: just do like i do, and stay up for a whole day
<Myrl-saki> nix-build -p 'ghostscript.override { cupsSupport = false; }'
<Myrl-saki> And assertion still fails.
vmandela has quit [Read error: Connection reset by peer]
vmandela has joined #nixos
<srk> TZ=null
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4df3426f5a5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
__monty__ has joined #nixos
<Myrl-saki> So, how do I retain my happiness and sanity?
<sphalerite> Myrl-saki: nix-build -p doesn't work
<sphalerite> it tries to build a shell drv, which is specifically designed not to build
<srk> sudo poweroff
<Myrl-saki> Oh crap.
<Myrl-saki> sphalerite: Yeah, tho, it's still broken. :/
<Myrl-saki> nix-build -E '(import <nixpkgs> {}).ghostscript.override { cupsSupport = true; cups = {}; }'
<Myrl-saki> I think this has something to do with how I declared things
<Myrl-saki> My overlays, I mean.
<sphalerite> yep probably
<Myrl-saki> tmw think happy thoughts
<Myrl-saki> So, I found out what's causing it, at laest.
<Myrl-saki> OTOH, I don't know how to fix it. :D
<Myrl-saki> Soo...
<Myrl-saki> I have an overlay
<Myrl-saki> `cups = null;`
<Myrl-saki> I have no idea anymore.
<Myrl-saki> That shouldn't cause cupsSupport to be unovrerideable.
<Myrl-saki> Yet it does.
jtojnar has quit [Ping timeout: 260 seconds]
<Myrl-saki> Oh, wow.
jtojnar has joined #nixos
<Myrl-saki> android@localhost:~/.config/nixpkgs$ nix-build -E '(import <nixpkgs> {config = {};}).ghostscript.override { cupsSupport = false; cups = null; }'
<Myrl-saki> trace: true
<Myrl-saki> trace: false
<Myrl-saki> trace: false
<Myrl-saki> That's. Um. Interesting.
<Myrl-saki> nix-build -E '(import <nixpkgs> {config = {};}).ghostscript.override { cupsSupport = false; }'
<Myrl-saki> trace: true
<Myrl-saki> So I was correct with my guess that it makes it unoverrideable.
<ldlework> sphalerite: do you know of anyway to add functions to pkgs or lib?
<Myrl-saki> The weird thing is that declaraiton of ghostscript isn't really anything special. :/
<sphalerite> what do your overlays look like?
<ldlework> sphalerite: me?
<sphalerite> yeah
kisik21 has joined #nixos
<ldlework> sphalerite: i'm not really using any
<ldlework> I just have some util functions that I don't want to import all over the place
<ldlework> I'd rather access them via builtins, or pkgs, or lib
<ldlework> The biggest reason being that to import an expression you need to know its path
<ldlework> Which makes reorganization painful
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8aeac6b54c9 (from 46 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<ldlework> sphalerite: I tried
<ldlework> { nixpkgs.config.packageOverrides = pkgs: { mylib = import ../../../lib; }; }
<ldlework> but it just causes infinite recursion where I try to use pkgs.mylib
<Myrl-saki> ldlework: What's the definition of your lib?
romildo has joined #nixos
<Myrl-saki> ldlework: `mylib = callPackage ../../../lib {};`?
<{^_^}> [nixpkgs] @vbgl opened pull request #45326 → ocamlPackages.camlp5: 7.05 -> 7.06 → https://git.io/fAvGD
<Myrl-saki> Or pkgs.callPackage
<Myrl-saki> Actually, in this case, it shouldn't make any difference.
<ldlework> didn't fix it
<Myrl-saki> ldlework: How are you testing it?
<{^_^}> [nixpkgs] @danieldk opened pull request #45327 → perlPackages.TextBibTeX: fix build on Darwin → https://git.io/fAvGH
<ldlework> Myrl-saki: by rebuilding
<ldlework> or do you mean where do I use it?
<{^_^}> [nixpkgs] @thefloweringash opened pull request #45328 → xorg: allow overriding via overrideScope → https://git.io/fAvG5
<Myrl-saki> ldlework: In this case, yeah.
kisik21 has quit [Ping timeout: 240 seconds]
<Myrl-saki> Maybe a better statement is "what nix expression calls it?
<ldlework> { pkgs, ... }: { imports = pkgs.mylib.importer ./.; }
<ldlework> it is a module added to imports
b has joined #nixos
<Myrl-saki> Oh okay.
<ldlework> basically everything I have is either modules, which add options
<ldlework> or library functions
<Myrl-saki> ldlework: Sanity check, what happens if you let importer.nix to return [];?
<ldlework> my modules are autoloaded by the importer function
<ldlework> but i have no good way of diffusing the library functions beyond direct import
<Myrl-saki> ldlework: (Or is importer.nix already guaranteed to work?)
sm0rux has joined #nixos
<ldlework> Myrl-saki: yeah it definitely works
<ldlework> if I just import importer directly
<ldlework> and use it like shown
<Myrl-saki> ldlework: FWIW, your lib_default.nix doesn't pass `lib`
<Myrl-saki> To importer.nix
<ldlework> oh
<Myrl-saki> ldlework: Clean way might be `inherit (pkgs) pkgs lib;`
<{^_^}> [nixpkgs] @Mic92 merged pull request #45303 → molden: 5.7 -> 5.8.2 → https://git.io/fAeaw
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fAvGp
<Myrl-saki> Since pkgs = pkgs.pkgs
<ldlework> i mean passing pkgs.lib instead of pkgs doesn't fix the recursion
oldandwise has quit [Quit: leaving]
<Myrl-saki> Oh. :(
<ldlework> Myrl-saki: maybe you could try to write a simple function
<ldlework> and get it into pkgs somehow :)
<Myrl-saki> Sure, give me a few to MWE. :P
kisik21 has joined #nixos
<Myrl-saki> Oh, I get the infinite recursion now.
<Guanin> Hi, I got around yesterday to switch from 17.09 to 18.03, and nixos-rebuild switch --upgrade fails building /nix/store/6lj9vsj9l8wxra8wgks9vf7h3ngp6kw1-rustc-1.24.0.drv (some tests seem to fail). Can I identify somehow what requires rustc/cargo, or any other way to fix this?
<Myrl-saki> ldlework: I think this is specific to `imports` though.
sm0rux has left #nixos ["Leaving"]
<symphorien> Guanin: rust is a dependency of firefox
<symphorien> well a build-time dependency
<ldlework> Myrl-saki: in what sense
<Myrl-saki> This one works.
<Guanin> symphorien, I don't use firefox on that system, it should be a headless system (although I need qt5 because I want to run murmur on it)
<Myrl-saki> ldlework: But not in the imports.
<symphorien> anyway it should be in the binary cache, are you on an exotic architecture ?
<ldlework> Myrl-saki: what does return-empty.nix look like
<ldlework> Myrl-saki: and can you paste the version that doesn't work
<Myrl-saki> ldlework: What doesn't work is if I place it on the `imports`
<ldlework> Myrl-saki: you should access pkgs for something
<ldlework> in return empty
<Guanin> x86, but I have patched something in libpam, so I basically need to recompile everything that depends on it :D
<ldlework> otherwise pkgs isn't being demanded
<ldlework> hence no recursion
<Myrl-saki> ldlework: I know, my point is that that fails in `imports`
<symphorien> x86 or x86_64 ?
<ldlework> Myrl-saki: right but even your working case is probably broken
<ldlework> such that it doesn't use pkgs
<ldlework> if it did, i imagine it will break
<Guanin> Linux cloudbox 4.9.86 #1-NixOS SMP Sat Mar 3 09:23:29 UTC 2018 x86_64 GNU/Linux
<symphorien> I would not be surprised if rustc was broken on 32 bits
<symphorien> hum then it should work
<Guanin> Here is the output of dry-build --upgrade
<jtojnar> librsvg depends on rust
<symphorien> there were a lot of issues with non deterministic tests failures with rustc, and iirc in unstable tests are entirely disabled
hl has joined #nixos
<ldlework> hm
Neo-- has joined #nixos
rprije has quit [Ping timeout: 276 seconds]
lsyoyom has quit [Ping timeout: 260 seconds]
<symphorien> well you said "some tests seem to fail" :)
<Guanin> Thanks, I'll try it :)
<ldlework> Myrl-saki: guh i'm so confused
<ldlework> lol
rawtaz has quit [Quit: Changing server]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45325 → vim-nix: 2018-07-01 -> 2018-08-19 → https://git.io/fAv3Z
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAvZj
<{^_^}> [nixpkgs] @Mic92 merged pull request #45322 → resilio-sync: 2.5.12 -> 2.6.0 → https://git.io/fAvTh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAvnf
<Myrl-saki> ldlework: The module system, from what I've heard, tries to find a fixedpoint. You see where I'm going here?
<ldlework> Nope :)
<Myrl-saki> ldlework: Basically, to evaluate the module, it has to evaluate return-empty, and to evaluate return-empty, it has to evaluate the module.
<{^_^}> [nixpkgs] @jtojnar pushed commit from @zgrannan to master « skypeforlinux: add gsettings schemas »: https://git.io/fAvnT
<Myrl-saki> ldlework: I'm not sure what happens if I use lib functions.
<Myrl-saki> lib functions seem to work fine though.
<Neo--> how can i prioritize a version of package in my nixpkgs over old version? I get the collision warning but the symlink doesn't get updated
<{^_^}> [nixpkgs] @Mic92 pushed commit from @danieldk to release-18.03 « resilio-sync: 2.5.12 -> 2.6.0 »: https://git.io/fAvnL
arjen-jonathan has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « skypeforlinux: fix borked cherry-picking »: https://git.io/fAvnn
patrl has quit [Ping timeout: 272 seconds]
lsyoyom has joined #nixos
<ldlework> Myrl-saki: try it
<ldlework> i know i need lib and pkgs in my library functions...
<ldlework> i've got recursion on everything I try no idea what I'm doing wrong, but I'm getting tired
<ldlework> We could add this to the wiki if we come up with a robust technique though
<ldlework> My main library function is recursively importing modules from a directory
<ldlework> Which I use to gather up all my modules
<ldlework> and add them to imports
<Neo--> eh, ignore - i had an old version accidentally specified a couple at the top of systemPackages *shrug blush* :)
<ldlework> another one of my library functions creates a module which installs znc and redis and stuff
<ldlework> which i also call and add the result to imports
<ldlework> i am using functions to generate modules in a lot of cases so far
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #45329 → testdisk-photorec: init at 7.0 → https://git.io/fAvn2
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8aeac6b54c9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @symphorien opened pull request #45330 → Wrap bindgen to find header files in a nix-shell → https://git.io/fAvno
orivej has joined #nixos
mg- has quit [Ping timeout: 276 seconds]
vmandela has quit [Read error: Connection reset by peer]
<Myrl-saki> I'm just imagining how many years rustc will take to build on armv7
vmandela has joined #nixos
<sphalerite> Myrl-saki: about 12 hours iirc
<sphalerite> Myrl-saki: it currently doesn't build at all though
logzet has quit [Remote host closed the connection]
vmandela has quit [Read error: Connection reset by peer]
<Myrl-saki> sphalerite: Aw crap. :(
logzet has joined #nixos
vmandela has joined #nixos
<sphalerite> been meaning to fix it for a while now, but still ahven't got around to it
<Myrl-saki> sphalerite: What are you building it on?
<sphalerite> my chromebook
<Myrl-saki> sphalerite: Oh right.
<sphalerite> rk3288 chipset
<Myrl-saki> ARMv7 and not Aarch64?
<CodeKiwi> industrial toaster
<sphalerite> quad-core at 1.8GHz
<sphalerite> yep ARMv7
<sphalerite> otherwise I'd just grab it from the binary cache x)
<Myrl-saki> sphalerite: What's the build error FWIW? :(
<Myrl-saki> That means I can't build emacs..
<Myrl-saki> <.<
<sphalerite> Myrl-saki: http://ix.io/1kE2
<Myrl-saki> sphalerite: Oh, I actually get through that.
<sphalerite> huh..?
<Myrl-saki> Compiling test v0.0.0 (file:///tmp/nix-build-rustc-1.24.0.drv-0/rustc-1.24.0-src/src/libtest)
<Myrl-saki> Finished release [optimized] target(s) in 129.37 secs
<Myrl-saki> Copying stage0 test from stage0 (armv7-unknown-linux-gnueabihf -> armv7-unknown-linux-gnueabihf / armv7-unknown-linux-gnueabihf)
<Myrl-saki> Building LLVM for armv7-unknown-linux-gnueabihf
<Myrl-saki> sphalerite: I use 18.03 FWIW.
<sphalerite> oooooh right
<sphalerite> yeah it's broken on unstable
<Myrl-saki> Oh okay. Yay, Emacs might still be buildable! :P
Ariakenom has quit [Quit: Leaving]
<sphalerite> you could probably also just build it without X
<sphalerite> unless you need X of course
<Myrl-saki> sphalerite: I prefer building with X.
<sphalerite> but I think it's just an icon theme or some other stupid stuff that needs rust
<sphalerite> (rust -> librsvg -> imagemagick -> icon theme)
<Myrl-saki> sphalerite: Yeah lol. Like how the manual needs rust. :P
<Myrl-saki> sphalerite: (But only if you're enabling X11)
Neo-- has quit [Read error: Connection reset by peer]
Neo-- has joined #nixos
yosemitesam has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #45331 → efl: 1.20.7 -> 1.21.0 → https://git.io/fAvcl
thekolb has left #nixos [#nixos]
genesis has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 272 seconds]
vidbina has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45278 → arrow-cpp: 0.9.0 -> 0.10.0 → https://git.io/fNjFF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAvc2
<{^_^}> [nix-mode] @dustinlacewell opened pull request #48 → Improve indentation robustness → https://git.io/fAvco
<ldlework> yorick: gchristensen adamantium https://github.com/NixOS/nix-mode/pull/48
<{^_^}> nix-mode#48 (by dustinlacewell, 58 seconds ago, open): Improve indentation robustness
vidbina has joined #nixos
sb0 has quit [Quit: Leaving]
arjen-jonathan has joined #nixos
abueide has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui closed pull request #991 → nix/auto-luks.nix: remove reference to auto-generated passphrase → https://git.io/fAvqA
mayhewluke has joined #nixos
<Myrl-saki> sphalerite: I just reverted librsvg lmao
<Myrl-saki> sphalerite: Ain't nobody got time for htat.
philippD has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #45333 → r-jqr: fix build → https://git.io/fAvCq
<{^_^}> [nixpkgs] @uskudnik opened pull request #45334 → Fix backblaze CLI bash autocomplete issue → https://git.io/fAvCc
<ldlework> what is the difference between pkgs.lib and lib?
<{^_^}> [nixpkgs] @timokau merged pull request #45013 → fflas-ffpack: Add darwin support → https://git.io/fNbEX
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAvCz
<{^_^}> [nixpkgs] @megheaiulian opened pull request #45335 → ansible: add jmespath dependency → https://git.io/fAvCg
jtojnar has quit [Remote host closed the connection]
Neo-- has left #nixos ["Leaving"]
Neo-- has joined #nixos
<infinisil> ldlework: None
<Guanin> symphorien, it worked, thanks :)
<ldlework> infinisil: i have a module where if I use lib passed in, it works
<ldlework> but if I use pkgs.lib i get infinte recursion
<ldlework> infinisil: my current goal is to get your recursive importer to somehow be accessible via pkgs or pkgs.lib
<ldlework> packageOverrides isn't working out to well
<ldlework> infinite recursion all over
<{^_^}> [nixpkgs] @Mic92 opened pull request #45336 → Licenses → https://git.io/fAvCD
arjen-jonathan has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #45337 → kernel-headers: 4.15 -> 4.18.3 → https://git.io/fAvWf
iyzsong has quit [Ping timeout: 272 seconds]
<Guanin> Looking at the 18.03 release notes, I see that wvdial has been removed - what is the sanest/"nixiest" way to use an LTE modem then?
sb0 has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #45338 → feedgnuplot: fix build → https://git.io/fAvWl
<Guanin> ModemManager relies heavily on dbus and is not comfortable to script/automate reconnects (which I solved with while true; do wvdial; done on my current archlinux setup), so I'd be happy about any alternative
abueide has quit [Ping timeout: 244 seconds]
<ldlework> ok i definitely give up on this
<ldlework> crazy ass nixlang
<infinisil> ldlework: Ah yeah, that's to be expected
<infinisil> Because to evaluate pkgs, it needs to know all overlays. And these can be defined in any module (through imports), but to evaluate these imports it needs pkgs
pie__ has quit [Remote host closed the connection]
ajs124 has joined #nixos
<infinisil> I guess yeah lib and pkgs.lib are different in that the latter one can have overlays that change it
pie__ has joined #nixos
<symphorien> Guanin: well wdial was removed due to openssl 1.1. If you can get it to build with the current openssl (for example by using patches from other distros) you could get it back in nixpkgs
genesis has joined #nixos
<genesis> pb with cryptsetup, if you've an idea.
<genesis> (i've it, not the pb)
<ldlework> infinisil so is there anyway to get recimport into a globally accessible place without modifying $NIX_PATH
<infinisil> What's the problem with using lib?
<Guanin> symphorien, the point is that I'm not really interested in wvdial itself - I'm only interested in a sane way to keep a modem connected without NetworkManager/ModemManager. my approach with wvdial feels pretty bad, too, so I'd be happy to know if there are any real alternatives
<ldlework> infinisil: is the problem with the nature of ~recimport~ itself, and other more mundane functions should work?
<ldlework> infinisil: what do you mean?
<ldlework> i would love to get arbitrary functions I've written into lib!
<ldlework> especially recimport
<Guanin> Also, if the project itself is not maintained anymore, it does not really make sense to keep it alive artificially, tbh
<infinisil> Oh wait you're not using imports
<symphorien> Guanin: true, but it is still widely packaged https://repology.org/metapackage/wvdial/versions
<symphorien> to some extent, as log as debian provides the patches, it is no real burden to maintain.
<infinisil> ldlework: The linked gist gives inf rec?
<ldlework> infinisil: yeah i use it like
<ldlework> { imports = pkgs.recimport ./.; }
<infinisil> Ah yeah
<infinisil> That won't work, because as explained above
<infinisil> You can't use it from pkgs
<ldlework> that's the whole point of the recimporter tho..
<ldlework> to add stuff to imports
<ldlework> doh
<infinisil> Yeah but that's not possible due to how the module system works
<infinisil> with overlays
<infinisil> You need to import it some other way
<ldlework> so the problem is just with recimporter?
<ldlework> infinisil: what about functions that generate modules
<ldlework> those will have problems too I guess?
<infinisil> Yeah, everything that causes such a cycle
<ldlework> I encapsualted your znc module in a function which generates a module that configures those options
<infinisil> can't import modules that depend on pkgs
<ldlework> damn it
<infinisil> You can use the module system for such things though
justanotheruser has quit [Ping timeout: 272 seconds]
<ldlework> oh well, explicit import statements it is
<infinisil> Take the arguments as options
<infinisil> Probably
<ldlework> a hatch to add arbitrary code at the top-level would be good
<infinisil> Ah no that won't work
<ldlework> infinisil: it does work with normal import statements
<infinisil> what does?
<ldlework> importing recimporter from a normal .nix file and calling it to recursively get the imports assigning the result to some default.nix's imports =
abueide has joined #nixos
<ldlework> that's what i was doing until Iwas like, "it would be cool if this, and other functions, were just available at pkgs.mine"
<infinisil> Hmm yeah, you need to still do it the original way
<infinisil> Or extend NixOS' lib in some way/get a special arg in there
za1b1tsu has quit [Ping timeout: 276 seconds]
abueide has quit [Read error: Connection reset by peer]
lawlesseel has quit [Remote host closed the connection]
__lawlesseel__ has joined #nixos
abueide has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f45cefe91a8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Fare has quit [Ping timeout: 244 seconds]
yosemitesam has quit [Remote host closed the connection]
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<{^_^}> [nixpkgs] @CrystalGamma opened pull request #45340 → [RFC] ppc64le enablement → https://git.io/fAvlN
techieAgnostic has quit [Quit: ciao]
coffeecupp has quit [Ping timeout: 248 seconds]
sveitser has quit [Ping timeout: 255 seconds]
za1b1tsu has joined #nixos
coffeecupp__ has joined #nixos
Neo-- has quit [Remote host closed the connection]
abueide has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #45341 → sqldeveloper_18: init at 18.2.0.183.1748 → https://git.io/fAv8L
za1b1tsu has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
endformationage has joined #nixos
jtojnar has joined #nixos
thc202 has quit [Ping timeout: 272 seconds]
ryanartecona has joined #nixos
inquisitiv3 has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
<nikivi> I want to move away from https://github.com/getantibody/antibody for managing zsh plugins to Nix
<nikivi> however all the examples I saw online use Oh My Zsh to install plugins, I want to avoid
<nikivi> it*
<nikivi> can't really find a guide online on how I can specify which zsh plugins I want to use via nix. I am on macOS too
kisik21 has quit [Quit: WeeChat 2.1]
<ldlework> Why does everyone have this crazy allergy to OhMyZsh
vidbina has quit [Ping timeout: 256 seconds]
<ldlework> What do they imagine it does?!
justanotheruser has joined #nixos
<infinisil> It's slow as hell
<nikivi> what infinisil said
hotfuzz has quit [Read error: Connection reset by peer]
<infinisil> I've been wanting to write a nix module for https://github.com/sorin-ionescu/prezto
<infinisil> Currently using it but without a nice module
Dr8128 has joined #nixos
<nikivi> I move away from prezto too. Just grabbed things I used from it and added it to my own zshrc
<ldlework> so in what sense?
<ldlework> slow*
hotfuzz has joined #nixos
<ldlework> my terminals open instantly
Dr8128 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #45342 → neovim-qt: fix msgpack dependency, disable failing test, Darwin → https://git.io/fAv4a
<infinisil> ldlework: Just google for "oh-my-zsh slow", there's lots of people complaining about it
<nikivi> I guess Ill just keep using https://github.com/getantibody/antibody as Nix doesn't have good support for nixifying zsh plugins
<nikivi> sadly
<symphorien> hum what is a zsh plugin ?
<symphorien> just a file which is sourced, right ?
<nikivi> as example
<nikivi> any way I can install it?
<symphorien> replace $HOME/nix-zsh-completion/ by ${pkgs.nix-zsh-completionss} or so
<symphorien> it depends on the exact layout of the output of the derivation
joebobjoe has quit [Ping timeout: 272 seconds]
* nikivi oh nvm I could just install it with nix-env. Just it wasnt showing up on the websit
<nikivi> can someone explain me why some people try to embed everything in nix. For example take zsh aliases. Some people do it through nix with zsh.alias = or similar syntax
<nikivi> is it bad to have alias.zsh file and then source that from nix?
<nikivi> same for zsh functions and so on
<nikivi> just nix adds syntax overhead to specifying the same things
<joepie91> nikivi: my reason for nix-ifying configurations is that it allows a shared syntax and set of abstractions for configuring everything
mfernandez has quit [*.net *.split]
pSub_ has quit [*.net *.split]
ikwildrpepper has quit [*.net *.split]
thblt has quit [*.net *.split]
qz has quit [*.net *.split]
pemeunier has quit [*.net *.split]
mjrosenb has quit [*.net *.split]
oldnborg has quit [*.net *.split]
stew has quit [*.net *.split]
colescott has quit [*.net *.split]
sigtrm has quit [*.net *.split]
eliasp has quit [*.net *.split]
Ashy has quit [*.net *.split]
henrytill has quit [*.net *.split]
<symphorien> I guess it is mostly a matter of declarative configuration vs imperative ones
stew has joined #nixos
<symphorien> for aliases the advantage is arguably not that great
<symphorien> but for example vim plugins declare their non vim dependencies and I find this great
romildo has quit [Quit: Leaving]
<nikivi> I am in the process of moving everything in my dotfiles to nix. And I am curious, how do you deal with folders like ~/.ssh
<nikivi> ideally I want to have a way to completely specify how my OS looks so I can run one command and everything is as I specified. but I am curious how do I deal with private settings like these
aw has quit [Ping timeout: 240 seconds]
_habnabit has joined #nixos
thblt has joined #nixos
aw has joined #nixos
Ashy has joined #nixos
Fare has joined #nixos
revtintin has joined #nixos
thc202 has joined #nixos
revtintin has quit [Client Quit]
revtintin has joined #nixos
<sphalerite> nikivi: nix isn't really any good for managing secrets
ryanartecona has quit [Quit: ryanartecona]
<nikivi> sphalerite so whats the conventional way to solve the issue?
init_6 has quit [Ping timeout: 276 seconds]
<nikivi> I was thinking of syncing the secrets with my own server and then fetching those in ./install script
<sphalerite> well for managing dotfiles in general, there's
<sphalerite> ,home-manager
<{^_^}> home-manager allows you to manage your per-user configuration similarly to NixOS' configuration.nix: https://nixos.wiki/wiki/Home_Manager
arjen-jonathan has joined #nixos
joebobjoe has joined #nixos
rardiol has joined #nixos
<emily> how well does home-manager work on non-NixOS?
<emily> I guess Linux-only at least?
kisik21 has joined #nixos
inquisitiv3 has joined #nixos
ryanartecona has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
<sphalerite> emily: nope, macos too AFAIK
<Thra11> Is it possible to run a sandboxed nix-shell? i.e. to recreate the same environment a sandboxed builder sees.
<sphalerite> Thra11: yes, it should be possible. There's no tool I know of for it yet though.
<sphalerite> I found myself really wanting that the other day too
<Thra11> Is the build sandbox a chroot?
<kisik21> I think it will be something between a container and a chroot.
<kisik21> Not sure though.
<kisik21> Probably take everything out of container that isn't chroot - here's your sandbox.
vidbina has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @samueldr merged pull request #44923 → nixos/thermald: add manual config generation → https://git.io/fN5QW
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fAv0C
mayhewluke has joined #nixos
silver has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @joachifm merged pull request #45317 → ir.lv2: 1.2.3 -> 1.2.4 → https://git.io/fAejz
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fAvEv
alex`` has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<{^_^}> [nixpkgs] @vcunat pushed to staging « Revert "Merge #43190: libyaml: 0.1.7 -> 0.2.1" »: https://git.io/fAvEY
Izorkin has quit [Read error: Connection reset by peer]
<__monty__> No python 2.5 in nixpkgs?
<srhb> __monty__: Not since 2010, it appears.
<kisik21> Somewhere in 202X: No python 2.x in nixpkgs?
<kisik21> Is Python 2 planned to be removed from nixpkgs after 2020?
<__monty__> Any suggestions on how I can get a python 2.5 or anything under 2.6 really?
<{^_^}> [nixpkgs] @Infinisil merged pull request #45342 → neovim-qt: fix msgpack dependency, disable failing test, Darwin → https://git.io/fAv4a
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fAvEu
<srhb> kisik21: Presumably.
<srhb> kisik21: Insofar as we generally remove obsoleted software at some point..
<symphorien> Import a 2010 nixpkgs ?
<kisik21> __monty__: Try to find Python 2.5 in old commits of nixpkgs... or write your own derivation (it's not that hard!)
<srhb> __monty__: 3b94efffe508b8e171b1af2b69a225f74e1c9873 is the commit that removed it.
<CodeKiwi> what still uses python 2.5?
<kisik21> symphorien: I'd not recommend it. Porting Py2.5 to new nixpkgs would be better, since updated libraries and stuff. Less security vulnerabilities.
<__monty__> Just testing that my makefile would reject python 2.5 : )
joebobjoe has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging « openjdk: fixup build after #44767 »: https://git.io/fAvE6
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #45319 → hydron: 2018-08-15 -> 2018-08-18 → https://git.io/fAvvX
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fAvED
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/4df3426f5a5 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> [nixpkgs] @joachifm merged pull request #45316 → x42-plugins: 20180803 > 20180812 → https://git.io/fAejW
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fAvE9
<{^_^}> [nixpkgs] @vmandela opened pull request #45345 → [RFC] nixos/install-grub: include child configs in grub menu → https://git.io/fAvul
sphaugh has joined #nixos
Izorkin has joined #nixos
booglewoogle has joined #nixos
<booglewoogle> hey there! how can i chroot into a broken nixos system from a rescue system to rebuild the config?
vmandela has left #nixos ["Leaving"]
<kisik21> nixos-enter is nixos for chroot
<joepie91> booglewoogle: boot from live CD, mount system, run `nixos-install` without the hardware config generation etc.
<joepie91> essentially as if you were reinstalling the system
<joepie91> booglewoogle: broke it badly enough that bootloader rollbacks don't work? :P
<booglewoogle> yea, seems that way. idk what did either, was just updating after not having used the system for a while :x
<booglewoogle> thanks guys, going at it
drakonis_ has joined #nixos
<Myrl-saki> What does emacsWithPackages do?
<Myrl-saki> Like, what happens if I run `emacs -q`
<hyper_ch> Ashy: I don't believe in uefi
<hyper_ch> sphalerite:
joebobjoe has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #45015 → linbox: Add darwin support → https://git.io/fNbu9
<sphalerite> hyper_ch: so you have legacy boot on your zfs-native-encryption systems?
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAvup
<sphalerite> and MBR partition tables?
<hyper_ch> sphalerite: yes
<hyper_ch> except servers where I have a seperate disk just for /boot and then just assign the whole big disks as zpool.... I think it uses gpt there
<sphalerite> right but there it's still booting off an MBR disk
<hyper_ch> yes
<{^_^}> [nixpkgs] @srhb merged pull request #45335 → ansible: add jmespath dependency → https://git.io/fAvCg
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAvz3
<hyper_ch> I just wished I could also have /boot as unencrypted dataset in the zpool and boot from it
<sphalerite> you can't?
<hyper_ch> I couldn't achieve it so far
<sphalerite> oh right because of the stuff
<{^_^}> [nixpkgs] @bignaux opened pull request #45347 → PySolFC: 2.0 -> 2.4.0 → https://git.io/fAvzW
<hyper_ch> grub can load zfs so it should be possible somehow I think
<genesis> :)
<hyper_ch> but as said, couldn't get it to work
<sphalerite> yeah but it needs to get the zfs module from somewhere
<hyper_ch> if coreboot would be more universal.... it would be so nice to have itin there
<sphalerite> and for "somewhere" to be a zfs dataset, it needs the zfs module
<sphalerite> etc
<sphalerite> go team coreboot!
<hyper_ch> it seems to be possible to do it with grub https://github.com/zfsonlinux/zfs/issues/2028 but I didn't manage to get it to run
<{^_^}> zfsonlinux/zfs#2028 (by seletskiy, 4 years ago, closed): Right way to boot from vanilla ZFS pool placed on entire disk?
<Zajcev> guys, I have libvirtd-qemu virtual machine with nginx webserver, I can't make portforwarding working, I don't know if problem is on my side ... here is conf https://pastebin.com/gUeSV7rp , thank you for any advice ...
<Zajcev> port forward from public to qemu machine
<Zajcev> I'm quite new in nixos :-)
<sphalerite> Zajcev: is the machine exposed directly to the internet?
<sphalerite> Zajcev: you probably also need to open the firewall port using networking.firewall.allowedTCPPorts = [ 80 ];
<Zajcev> allready done of course
<Zajcev> networking.firewall.enable = true;
<Zajcev> networking.firewall.allowedTCPPorts = [ 80 443 ];
<Zajcev> on both real and virtual machines
<Zajcev> maain nixos machine is vps, I guess threre is another nat
<sphalerite> ok, and what problem are you having with connecting?
<sphalerite> If there's another layer of NAT you need to configure it with your hosting provider
<Zajcev> my public ip is 37.205.14.80, but ...
abueide has joined #nixos
<sphalerite> but usually VPSes should have a public IP address
<Zajcev> venet0: inet 172.16.193.150
<clever> Zajcev: sounds like you may be double-nat'ing
<sphalerite> yep that does look like a NATed thing
<clever> Zajcev: look up the gateway ip, then open that in a browser
<sphalerite> not sure Zajcev has a browser on their VPS…
<sphalerite> nor if the gateway on a VPS will be configurable in a browser
<clever> Zajcev: which VPS provider is it?
<Zajcev> vpsfree.cz
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ed7b0f6f4fb (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Fare has quit [Ping timeout: 244 seconds]
<Zajcev> I'm not that skilled in linux and networking, maybe problem is on my side
<booglewoogle> this is really weird
<booglewoogle> i did find an old generation i can boot
<sphalerite> Zajcev: if you try to access the server's public IP address with an HTTP client, what error do you get?
<booglewoogle> but when i rebuild the exact same configuration.nix that was using (i have it backed up), the resulting generation will be useless
<booglewoogle> i only get a stale cursor in the top left on a blank black screen
<sphalerite> Zajcev: also, there may be some firewalling going on on the provider's side, which you can usually configure on the hosting control panel or something
<clever> Zajcev: i port scaned the IP you gave above, 22 is open, 443 is closed, and all others are blocked
<Zajcev> curl 37.205.14.80
<Zajcev> curl: (7) Failed connect to 37.205.14.80:80; Connection refused
<clever> Zajcev: which machine did you run that from?
<sphalerite> what I've seen of your nixos config looks ok
<Zajcev> hm
<clever> Zajcev: ok, thats very very weird, curl and nmap give different responses
<Zajcev> I'll have to talk with guys from provider, tank you, I needed to know if my config is wrong or something ot there :-)
<Zajcev> thank
<Zajcev> out of there ... wehere are my letters ...
<Zajcev> thanks
<clever> bbl
<sphalerite> Zajcev: also try `curl 192.168.122.153` on the host
<Zajcev> its working
<Zajcev> allready tried
<sphalerite> ok
<Zajcev> hello world working
za1b1tsu has joined #nixos
joebobjoe has quit [Ping timeout: 260 seconds]
<srk> venet has two different IP addresses and the external one is the second one, might cause trouble but we've managed to get docker working with SNAT and correct ip (https://paste.vpsfree.cz/kvG43lkI/)
<srk> not sure why NAT won't work even with externalIP (SNAT)
<sphalerite> srk: you're working with Zajcev ?
<srk> sphalerite: yeah
<srk> from the provider side :D
<sphalerite> oh, that's convenient :D
<Myrl-saki> Okay, um. If I do "${foo}/bin/foo" instead of adding it to {native,}buildInputs, which one does it correspond to/
<ij> how does nixops rename work?
<ij> or rather how do I use it?
<sphalerite> Myrl-saki: what do you mean?
<Myrl-saki> sphalerite: Like, If I have `buildPhase = "${foo}/bin/foo";`
<Myrl-saki> Is `foo` equivalent to buildInputs or nativeBuildInputs?
<sphalerite> Myrl-saki: for cross-compilation purposes?
<Myrl-saki> I'm guessing nativeBuildInputs, since it has to run on the host.
<Myrl-saki> Yeah.
<sphalerite> It depends
<{^_^}> [nixpkgs] @shlevy opened pull request #45348 → haskellPackages.shellFor: fix after recent getHaskellBuildInputs fix. → https://git.io/fAvg1
<Myrl-saki> sphalerite: How is it decided?
<sphalerite> I don't know. {native,}buildInputs is unpleasantly magical
<Myrl-saki> lol
<sphalerite> my guess would be that just ${foo} gives you the one that runs on the target
<Myrl-saki> sphalerite: FWIW, these are nixpkgs constructs and not Nix?
<sphalerite> yes
<Myrl-saki> Interesting.
<sphalerite> you could always just try, and see whether it runs or gives you exec format error :p
<{^_^}> [nixpkgs] @LnL7 merged pull request #45324 → libvirt: darwin/linux fix dlopen("libjansson.so.4") → https://git.io/fAvm3
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAvg9
<booglewoogle> https://pastebin.com/1CKx9QwE at 12. - this seems to be the culprit for the fact that any new generation i build just gives me a black screen with a stale cursor and no functionality?
<booglewoogle> nothing changed about the configuration.nix, i was just absent from this system for a month. anybody got a hunch as to whats going on?
<Myrl-saki> God, nixpkgs is magical.
<Myrl-saki> Was nixpkgs part of the thesis?
<gchristensen> Myrl-saki: which part are you referring to?
<gchristensen> ("magical")
<LnL> it's just some bash
<Myrl-saki> gchristensen: Was asking how buildInputs and nativeBuildInputs compare to ${foo}
<samueldr> booglewoogle: what do you mean "stale cursor"?
<gchristensen> yes, I don't like that magic.
<Myrl-saki> lol
<gchristensen> I think that is a mistake
<emily> nixpkgs magic is scary
<Myrl-saki> gchristensen: FWIW, how does buildInputs "switch" the platform?
<booglewoogle> theres a _ in the top left corner of the screen, not blinking
<sphalerite> gchristensen: +1
<Myrl-saki> I'm actually curious.
<gchristensen> honestly no idea, that specifically is what I think is the mistake
<sphalerite> booglewoogle: oh this sounds familiar
<Myrl-saki> gchristensen: Oh. :P
<sphalerite> booglewoogle: not sure what it was though
abueide has quit [Ping timeout: 256 seconds]
<sphalerite> but yeah what was wrong with crossPkgs? :(
<sphalerite> or maybe pkgsBuildBuild, pkgsBuildHost, etc
<LnL> Myrl-saki: buildInputs adds headers/libraries to CFLAGS nativeBuildInputs adds binaries to PATH
<sphalerite> but blargh magical changes
<Myrl-saki> I checked the PDF, and nixpkgs *is* part of the thesis.
<Dezgeg> which one is a mistake?
<gchristensen> Dezgeg: the way buildInputs and nativeBuildInputs magically transmutes its inputs to a cross version of what it needs
<Myrl-saki> LnL: Oh okay, that at least explains the environment side.
<Dezgeg> well, they also transmute the inputs that they pick
<gchristensen> pkgs.hello, imo, should always be pkgs.hello, and passing it in to one attrset over another shouldn't, imo, transmute it
<booglewoogle> sphalerite: oh you had that problem before on nixos? its really weird.
<Dezgeg> well yes, but it's probably too painful to try changing that
<sphalerite> booglewoogle: with graphics driver problems
<LnL> gchristensen: agreed, but how do you get that in nixpkgs...
<gchristensen> maybe? dunno
<Dezgeg> and it's actually convenient in some contexts
<Dezgeg> i.e. in a nixos option you're asked to pick services.foo.package = pkgs.foo_42;
<booglewoogle> nixos-installing from a live medium didnt help, which makes me wonder if reinstalling nixos all over would...
<Dezgeg> it would be quite annoying if you'd need both the native and cross version of that
<booglewoogle> this is kinda worrisome :x
<Dezgeg> I mean, have the user manually specify both of them
Thra11 has quit [Quit: WeeChat 1.4]
<sphalerite> booglewoogle: and rolling back didn't fix it either?
<sphalerite> as in booting into a previous, working generation
<Myrl-saki> Oh okay. I think I'm just at the edge of craziness now. I made a nix file which converts org to LaTeX(through Emacs) and LaTeX to PDF.
<Myrl-saki> :D
<Myrl-saki> Oh yeah. What spawned my question.
jD91mZM2 has quit [Quit: WeeChat 2.0]
<Myrl-saki> How do I add fonts to buildInputs?
<booglewoogle> sphalerite: i can boot into an older generation, but nixos-rebuilding still breaks any generation it produces
<Myrl-saki> Er, badly stated. How do I add fonts to the environment? I'm thinking it has something to do with fc-* so it's.. erm. difficult.
<booglewoogle> from there
<sphalerite> booglewoogle: oh ok so it's not *that* bad :p
<sphalerite> you can roll back your channels
rfold has quit [Ping timeout: 276 seconds]
<sphalerite> and report it on nixpkgs, specifying the last version that works and the first that doesn't
<booglewoogle> hmm
<booglewoogle> im currently on generation 80 on that pc, so that exists and booting into it works. when i go "nix-channel --rollback 80" it says generation 80 doesnt exist. am i missing something?
alex`` has quit [Quit: WeeChat 2.2]
<sphalerite> channel generations are separate from system generations
<sphalerite> the system generation increases every time you make a config change *or* a channel update and rebuild
<sphalerite> the channel generation only increases when you nix-channel --update and a new version is available
<sphalerite> just nix-channel --rollback should do
<booglewoogle> ah
<{^_^}> [nixpkgs] @primeos merged pull request #45309 → iputils: 20161105 -> 20180629 → https://git.io/fAe93
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fAv2S
<booglewoogle> okay, i see, thanks. ill see if i can figure something out that way
Lisanna has quit [Quit: Lisanna]
<{^_^}> [nixpkgs] @zimbatm opened pull request #45349 → pythonPackages.nixpart0: fix nixops deploy → https://git.io/fAvar
<Myrl-saki> How do I override emacsWithPackages. :/
<{^_^}> [nixpkgs] @megheaiulian opened pull request #45350 → avocode: 3.2.0 -> 3.4.0 → https://git.io/fAvaK
<sphaugh> how can i run all the phases in series from nix-shell?
<Myrl-saki> sphaugh: Each step is equivalent to `eval ${fooPhase:-fooPhase}`
<Myrl-saki> sphaugh: This basically says "if there is a string fooPhase, then evaluate it, otherwise run the fooPhase function"
<sphaugh> but how do i run them all at once (if they exist)?
<sphaugh> say a package only has unpackPhase and installPhase
<infinisil> sphaugh: genericBuild should do it
<sphaugh> that's what i was looking for, thanks :)
<Myrl-saki> Oh.
<sphaugh> <3
<Myrl-saki> Holy crap, I'm stupid. I didn't realize you can just call genericBuild
<sphaugh> i knew that at one point :P
<Myrl-saki> Then I scrolled up and saw the function name
<sphaugh> hehe
<infinisil> Well it will however fail at installPhase, but maybe that's preventable through setting out to something else
<Myrl-saki> infinisil: dontInstall=true
<infinisil> Ah!
<infinisil> Nice
<Myrl-saki> Or something like that, I really don't know. :P
<Myrl-saki> if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then continue; fi
<Myrl-saki> Just a guess.
arjen-jonathan has quit [Ping timeout: 276 seconds]
ennui has quit [Remote host closed the connection]
<inquisitiv3> I've an configuration.nix file that I want to check for errors before I make a git commit. But I don't want the system to actually change when testing the file. What is the easiest and simplest solution to do that_
<inquisitiv3> ?
<tilpner> nix-build --no-out-link '<nixpkgs/nixos>' -A system
<tilpner> Almost identical to nixos-rebuild build
<infinisil> inquisitiv3: Or just nixos-rebuild build
<infinisil> Oh
<infinisil> (you said that already)
<inquisitiv3> Note that the file is located in a local directory and is in no way referenced in my system's configuration.nix file.
joebobjoe has joined #nixos
<inquisitiv3> Should I run `nix-build --no-out-link '<nixpkgs/nixos>' -A system [path to configuration.nix]`?
vidbina has quit [Ping timeout: 244 seconds]
<infinisil> nix-build --no-out-link '<nixpkgs/nixos>' --arg configuration /path/to/configuration.nix -A system
<infinisil> Or `nixos-rebuild build -I nixos-config=/path/to/configuration.nix`
<tilpner> Or even NIXOS_CONFIG=path/to/configuration.nix nix-build --no-out-link '<nixpkgs/nixos>' -A system
<inquisitiv3> Is the two variants give the same result?
<{^_^}> [nixpkgs] @Infinisil merged pull request #45334 → Fix backblaze CLI bash autocomplete issue → https://git.io/fAvCc
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fAvVm
<tilpner> The nixos-rebuild one will litter your cwd
<inquisitiv3> I'll use the former one then. I just want to check the file.
<inquisitiv3> Thanks for the help!
<infinisil> tilpner: isn't it just a result symlink?
<tilpner> Yes
Anton-Latukha has quit [Remote host closed the connection]
<tilpner> And I tend to forget deleting that, resulting in a loss of space worth one system closure
<tilpner> (Until I check what is eating all that space)
<infinisil> Ah yeah
<infinisil> Lol I don't wanna know how much space I'm wasting because of result symlinks
Anton-Latukha has joined #nixos
<sphaugh> anyone know a convenient way to add mime types to nginx?
<tilpner> services.nginx.virtualHosts.<name>.locations.<name>.extraConfig is as good as it gets
rfold has joined #nixos
<{^_^}> [nixpkgs] @swdunlop opened pull request #45351 → gnatsd: init at 1.2.0 → https://git.io/fAvVg
<{^_^}> [nixpkgs] @xeji merged pull request #44753 → librelp: 1.2.16 -> 1.2.17 → https://git.io/fN9Lh
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « librelp: 1.2.16 -> 1.2.17 (#44753) »: https://git.io/fAvVr
<{^_^}> [nixpkgs] @xeji merged pull request #44708 → QmidiNet: 0.5.1 -> 0.5.2 → https://git.io/fNSfY
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « QmidiNet: 0.5.1 -> 0.5.2 (#44708) »: https://git.io/fAvVi
<{^_^}> [nixpkgs] @xeji merged pull request #44787 → drumgizmo: 0.9.14 -> 0.9.15 → https://git.io/fN9aH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « drumgizmo: 0.9.14 -> 0.9.15 (#44787) »: https://git.io/fAvVM
BlessJah_ has quit [Remote host closed the connection]
joebobjoe has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @LnL7 opened pull request #45352 → vim_configurable: fix darwin build with guiSupport → https://git.io/fAvV5
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @xeji merged pull request #45167 → pgroonga: 2.0.6 -> 2.0.9 → https://git.io/fNhDN
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pgroonga: 2.0.6 -> 2.0.9 (#45167) »: https://git.io/fAvVN
<{^_^}> [nixpkgs] @xeji merged pull request #45168 → pgbouncer: 1.8.1 -> 1.9.0 → https://git.io/fNhDh
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pgbouncer: 1.8.1 -> 1.9.0 (#45168) »: https://git.io/fAvVh
mayhewluke has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45169 → psmisc: 23.1 -> 23.2 → https://git.io/fNhyO
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « psmisc: 23.1 -> 23.2 (#45169) »: https://git.io/fAvwT
<{^_^}> [nixpkgs] @xeji merged pull request #45184 → mnemosyne: 2.6 -> 2.6.1 → https://git.io/fNhQt
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mnemosyne: 2.6 -> 2.6.1 (#45184) »: https://git.io/fAvwm
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45185 → mate.mate-themes: 3.22.17 -> 3.22.18 → https://git.io/fNhQl
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mate.mate-themes: 3.22.17 -> 3.22.18 (#45185) »: https://git.io/fAvw3
<{^_^}> [nixpkgs] @aanderse opened pull request #45353 → redmine: 2.5.2 -> 3.4.6 → https://git.io/fAvws
<{^_^}> [nixpkgs] @xeji merged pull request #45198 → libguestfs: 1.38.3 -> 1.38.4 → https://git.io/fNhb4
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libguestfs: 1.38.3 -> 1.38.4 (#45198) »: https://git.io/fAvwu
<{^_^}> [nixpkgs] @xeji merged pull request #44749 → libwps: 0.4.9 -> 0.4.10 → https://git.io/fN9IG
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libwps: 0.4.9 -> 0.4.10 (#44749) »: https://git.io/fAvwg
inquisitiv3 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45236 → fldigi: 4.0.17 -> 4.0.18 → https://git.io/fNjmb
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fldigi: 4.0.17 -> 4.0.18 (#45236) »: https://git.io/fAvwM
<{^_^}> [nixpkgs] @xeji merged pull request #45200 → libgit2_0_27: 0.27.3 -> 0.27.4 → https://git.io/fNhba
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libgit2_0_27: 0.27.3 -> 0.27.4 (#45200) »: https://git.io/fAvwy
dmj` has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45205 → krusader: 2.7.0 -> 2.7.1 → https://git.io/fNhx2
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « krusader: 2.7.0 -> 2.7.1 (#45205) »: https://git.io/fAvw7
<{^_^}> [nixpkgs] @xeji merged pull request #45253 → discount: 2.2.3a -> 2.2.4 → https://git.io/fNjCW
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « discount: 2.2.3a -> 2.2.4 (#45253) »: https://git.io/fAvwb
joebobjoe has joined #nixos
<srk> sphalerite: so NAT works after all but looks like libvirt added rules cause issues
<srk> gonna disable libvirt manage networking all together and just manage it by host nixos I guess
<srk> *managed
<sphalerite> aaah
<{^_^}> [nixpkgs] @xeji merged pull request #45194 → libdwarf: 20180527 -> 20180809 → https://git.io/fNhdr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libdwarf: 20180527 -> 20180809 (#45194) »: https://git.io/fAvrW
<sphalerite> good to know
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #45275 → rubygems: 2.7.6 -> 2.7.7 and update src URL to official HTTPS location → https://git.io/fNjS3
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fAvrE
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
adamantium has quit [Quit: ZNC 1.7.1 - https://znc.in]
infinisil has quit [Remote host closed the connection]
rfold has quit [Quit: leaving]
infinisil has joined #nixos
rfold has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45331 → efl: 1.20.7 -> 1.21.0 → https://git.io/fAvcl
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « efl: 1.20.7 -> 1.21.0 (#45331) »: https://git.io/fAvrx
techieAgnostic has joined #nixos
jonreeve has joined #nixos
<jonreeve> Does anyone here use bspwm?
<infinisil> ,ask jonreeve
<{^_^}> jonreeve: Just ask your question. It's the best way to know if anybody can help.
<jonreeve> I'm having trouble getting bspwm set up, and I'm trying to find examples of good configs that use it
<jonreeve> In particular, I can't get it to launch polybar on login
<jonreeve> And I can't seem to quit properly (it quits bspwm, but not the rest of X, and doesn't drop me back to my display manager)
<{^_^}> [nixpkgs] @xeji merged pull request #45341 → sqldeveloper_18: init at 18.2.0.183.1748 → https://git.io/fAv8L
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAvoc
<{^_^}> [nixpkgs] @xeji merged pull request #45350 → avocode: 3.2.0 -> 3.4.0 → https://git.io/fAvaK
<{^_^}> [nixpkgs] @xeji pushed commit from @megheaiulian to master « avocode: 3.2.0 -> 3.4.0 (#45350) »: https://git.io/fAvo8
joebobjoe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45123 → wayland-protocols: 1.15 -> 1.16 → https://git.io/fNhUE
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « wayland-protocols: 1.15 -> 1.16 (#45123) »: https://git.io/fAvoB
<{^_^}> [nixpkgs] @markuskowa opened pull request #45354 → [WIP] xfig: 3.2.5b -> 3.2.7a → https://git.io/fAvow
<jonreeve> Anyway I'm sure I could figure it out if I could find some examples of configs that use it
<infinisil> jonreeve: Ahh, samueldr's logs can be searched through, very useful for this case: https://logs.nix.samueldr.com/nixos/search?q=bspwm
<{^_^}> [nixpkgs] @xeji merged pull request #44932 → stdenv: linux: inherit texinfo in stage4 instead of the final stdenv → https://git.io/fN5AK
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/fAvoK
Fare has joined #nixos
aarvar has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45327 → perlPackages.TextBibTeX: fix build on Darwin → https://git.io/fAvGH
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « perlPackages.TextBibTeX: fix build on Darwin (#45327) »: https://git.io/fAvo9
<{^_^}> [nixpkgs] @ThomasMader opened pull request #45355 → ldc: 1.10.0 -> 1.11.0, dmd: 2.081.1 -> 2.081.2, dtools: 2.081.1 -> 2.081.2 → https://git.io/fAvoH
simukis has quit [Quit: simukis]
jonreeve has quit [Quit: Konversation terminated!]
rfold has quit [Ping timeout: 276 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45333 → r-jqr: fix build → https://git.io/fAvCq
<{^_^}> [nixpkgs] @xeji pushed commit from @mnacamura to master « r-jqr: fix build (#45333) »: https://git.io/fAvKf
<techieAgnostic> Does NixOS have a mascot?
booglewoogle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eadwu opened pull request #45356 → google-musicmanager: beta_1.0.243.1116-r0 -> beta_1.0.467.4929-r0 → https://git.io/fAvKU
<{^_^}> [nixpkgs] @xeji merged pull request #45264 → adapta-gtk-theme: 3.94.0.1 -> 3.94.0.92 → https://git.io/fNj0S
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « adapta-gtk-theme: 3.94.0.1 -> 3.94.0.92 (#45264) »: https://git.io/fAvKL
<infinisil> techieAgnostic: Not that I know of!
<infinisil> There is a "release-animal" though
<techieAgnostic> we need to get on that
__monty__ has quit [Quit: leaving]
Pneumaticat has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45259 → chirp: 20180707 -> 20180815 → https://git.io/fNjBk
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « chirp: 20180707 -> 20180815 (#45259) »: https://git.io/fAvKG
<infinisil> Anybody got an idea why the tests of this package only fail with python3? https://github.com/NixOS/nixpkgs/pull/45033#discussion_r211117034
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #45315 → dragon: init at 18.04.3 → https://git.io/fAepC
<{^_^}> [nixpkgs] @ttuegel pushed 3 commits to master: https://git.io/fAvKn
Ariakenom has quit [Quit: Leaving]
<{^_^}> worldofpeace: 2 days, 11 hours ago <jtojnar> re: elementary geoclue agent https://github.com/elementary/default-settings/issues/17
<jtojnar> heh
<worldofpeace> lol
<infinisil> Nooo, need to fix that lol
<{^_^}> [nixpkgs] @xeji merged pull request #45256 → perl: remove duplicated code → https://git.io/fNjWi
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/fAvK5
<infinisil> worldofpeace: Huh, what's this got to do with dominate
logzet has quit [Ping timeout: 265 seconds]
<infinisil> (Oh, i don't need to fix that, nothing is broken)
vidbina has joined #nixos
<infinisil> Ohh
<worldofpeace> no python > 3.5
<infinisil> I was confused twice there, but I got it now
<infinisil> > python.name
<{^_^}> "python-2.7.15"
<infinisil> > python3.name
<{^_^}> "python3-3.6.6"
<infinisil> worldofpeace: You mean <= 3.5?
<worldofpeace> lol yeah
<infinisil> Maybe I'll open an issue for this
<worldofpeace> I think you use like `disabled = blah;`
<infinisil> I actually intend to fix the cause, not just suppress the symptoms!
<worldofpeace> But suppression is so much easier :P
graphene has quit [Remote host closed the connection]
dmc has quit [Quit: WeeChat 2.2]
<Pneumaticat> how can I conditionally do a `++` to a listToAttrs if I want to make one item conditionally enabled?
<infinisil> > [ "foo" ] ++ lib.optional false "bar"
<{^_^}> [ "foo" ]
<infinisil> > [ "foo" ] ++ lib.optional true "bar"
<{^_^}> [ "foo" "bar" ]
<infinisil> Pneumaticat: ^
<Pneumaticat> sweet, thanks! :B
<Pneumaticat> it works! :D
dmc has joined #nixos
<genesis> gchristensen : https://github.com/NixOS/nixpkgs/pull/45347#issuecomment-414159712 classic nightmare with SF, your bot can't check the good package, mirror issue
<genesis> erf not graham sorry.
<genesis> fetchurl should have some special issue on sourceforge.
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
kisik21 has quit [Ping timeout: 276 seconds]
nckx has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
trevthedev has joined #nixos
<infinisil> genesis: Has nothing to do with the bot
<{^_^}> [nixpkgs] @markuskowa opened pull request #45357 → Add licenses → https://git.io/fAv6A
<genesis> known bug, if we could choose another mirror, the bot could check if an htlm has not be reached instead and change mirror.
<infinisil> Yeah, but that's a nixpkgs issue, nothing to do with the bot
init_6 has joined #nixos
<worldofpeace> ,
<{^_^}> All commands: -A IFD NUR arm ask bootfull callPackage channels cloudfront context dnw error escape" escape'' escape-special fancy-uninstall github hardware haskell help home-manager howoldis library logs nix-env-r nix-info nix-repl nixGL nixcon nixeval nixpkgsVersion not-os notfound outPath overlay paste pills pinning pr profiling pure-eval python qt replaceModule runtimeDeps stateVersion stuck thesis timer todeclarative tofu unfree unstable which-channe
init_6 has quit [Client Quit]
goibhniu has quit [Ping timeout: 272 seconds]
ryanartecona has joined #nixos
vidbina has quit [Ping timeout: 276 seconds]
<joepie91> ,-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.
<joepie91> ah
sphaugh has quit [Remote host closed the connection]
<trevthedev> nix-env -iA nixos.
za1b1tsu has quit [Ping timeout: 272 seconds]
<nikivi> anyone here use https://github.com/junegunn/fzf.vim and installed fzf with nix?
<nikivi> I don't get what I would do in such a case
<nikivi> Plug '~/.nix-profile/bin/fzf'
<nikivi> Plug 'junegunn/fzf.vim'
<nikivi> I tried this
<{^_^}> [nixpkgs] @leenaars opened pull request #45358 → eunomia-font: init at 0.200 → https://git.io/fAvi9
<nikivi> but it fails
joebobjoe has joined #nixos
rprije has joined #nixos
jluttine has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
rardiol has left #nixos [#nixos]
joebobjoe has quit [Ping timeout: 244 seconds]