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
sigmundv__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fAZpj
<dmj`> anyone use yarn2nix here?
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<elvishjerricco> dmj`: I've been using node2nix. It's... ok...
carlosdagos has joined #nixos
<samueldr> dmj`: used yarn2nix yes
<dmj`> samueldr: seems to be the ticket
<samueldr> though, dmj`, anything specific in mind?
<samueldr> oh
<samueldr> dmj`: which yarn2nix?
<samueldr> confusingly, there are two
<dmj`> samueldr: yea, the nodejs one, not the haskell one
<samueldr> dmj`: which author?
<dmj`> samueldr: it calls yarn build, which is what I need
<dmj`> the one in the top-level nixpkgs
<dmj`> nix-env -iA yarn2nix -f ‘<nixpkgs>’ that one
spietz has joined #nixos
<samueldr> right, moretea's
<samueldr> (I think it wasn't in top-levels when I started using it)
<samueldr> so, the same one it looks like
hellrazor has quit [Ping timeout: 252 seconds]
<dmj`> samueldr: yea
<dmj`> samueldr: I have my static assets, just need to configure nginx to send them
<dmj`> samueldr: yarn2nix is much simpler
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAZjT
fzer0 has joined #nixos
fzer00 has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
kisik21 has joined #nixos
jperras has joined #nixos
Lisanna has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 252 seconds]
alexteves has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jerith666 opened pull request #45768 → perl: Text-Unaccent: fixup build → https://git.io/fAney
r0bby has joined #nixos
iwakura0613 has joined #nixos
<iwakura0613> How do I install C devs, I think I am doing it wrong
<iwakura0613> Such as curses.h
takeda has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
Supersonic has joined #nixos
justbeingglad has joined #nixos
silver has quit [Read error: Connection reset by peer]
<jasom> iwakura0613: if you set the library as a dependency in your nix expression, the build environment should have the proper headers in the include path already. If you're doing a manual build of something, perhaps nix-shell will do what you want?
<iwakura0613> How do I do that
<infinisil> ,pills iwakura0613
seanparsons has quit [Ping timeout: 246 seconds]
<iwakura0613> infinisil: I don't get it :S
<infinisil> iwakura0613: Use your mouse to click the link
<iwakura0613> I did
<iwakura0613> How does that get me curses.h to build with make
<infinisil> You lack a basic understanding of Nix, get that first
<infinisil> iwakura0613: The answer to your question is to add ncurses to your buildInputs, but the pills will get you to that answer and many more as well
<iwakura0613> Alright, I will look at buildInputs
drakonis_ has joined #nixos
<ekleog> iwakura0613: you really should read the pills, they're great :)
kisik21 has quit [Ping timeout: 252 seconds]
lassulus_ has joined #nixos
<iwakura0613> is pills referring to red pills?
<ekleog> idk
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
iwakura0613 has quit [Remote host closed the connection]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
hellrazor has joined #nixos
jonreeve has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
<jonreeve> I've been having issues with polybar running as a service in NixOS. I think it could be a NixOS path thing. Any ideas? https://github.com/jaagr/polybar/issues/1405
<{^_^}> jaagr/polybar#1405 (by JonathanReeve, 37 minutes ago, open): Custom script appears to be broken on fish (with polybar running as a service)
filterfish__ has quit [Ping timeout: 240 seconds]
joehh has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
<dmj`> Hi, I’m setting some environment variables in a nixos module, some are abosulte paths on the machine. I’ve noticed NixOS turns them into file paths inside the /nix/store
<dmj`> environment.ENV_VAR = /home/dmj/path/to/db
<dmj`> turns into ENV_VAR=/nix/store/<hash> when I call env
<dmj`> why is this?
<emily> because that's what filepaths do as nix expressions
<emily> you can quote it if you want it to be a literal string
<emily> otherwise paths you reference get copied to the store
jmeredith has joined #nixos
jonreeve has quit [Ping timeout: 246 seconds]
<dmj`> oh
<dmj`> emily: thanks :)
<dmj`> late night
<emily> ^_^
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
DigitalKiwi has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
filterfish has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2d51cceda41 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drakonis_ has quit [Remote host closed the connection]
hiroshi has quit [Ping timeout: 246 seconds]
hiroshi has joined #nixos
ted_ has quit [Ping timeout: 272 seconds]
filterfish has quit [Read error: Connection reset by peer]
<elvishjerricco> I'm trying to debug why my NixOS config is producing a different build right now, so I'm loading it in the nix repl and poking around the resulting `options` and `config`. Is there any way to see all the NixOS `imports` that were used?
hiroshi- has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
justbeingglad has quit [Quit: Leaving.]
binaryphile has joined #nixos
b has joined #nixos
ted_ has joined #nixos
binaryphile has quit [Ping timeout: 240 seconds]
<manveru> i'm having issues with the keybase module, all i get in the logs is `keybase.service: Failed to run 'start' task: Permission denied`
seanparsons has joined #nixos
seanparsons has quit [Read error: Connection reset by peer]
<manveru> it works when i run it myself, but the user service fails for some reason
<manveru> how do you debug this?
<Enzime> ,
<{^_^}> 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 nixlang++ nixpkgsVersion not-os notfound outPath overlay paste pills pinning pr profiling proot pure-eval python qt replaceModule runtimeDeps stateVersion stuck thesis timer todeclarative tofu unfree unsta
<Enzime> ,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.
<justanotheruser> will most of the nixcon 2018 talks be on youtube?
<manveru> justanotheruser: yeah
<justanotheruser> thanks
seanparsons has joined #nixos
filterfish has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<manveru> i really wish nix repl was fixed :|
graphene has quit [Remote host closed the connection]
trcc has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
<ekleog> manveru: add `strace` in front of the command line of the service?
<manveru> so it looks like i messed up my /var/lib permissions
<manveru> and not all services fix it on startup
<manveru> i didn't preserve permissions when i copied it from my old disk :(
hyper_ch2 has joined #nixos
Izorkin has joined #nixos
jbgi has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
periklis has joined #nixos
Thra11 has joined #nixos
<manveru> ekleog: for some reason strace won't work either
<manveru> all i can see is `kbfs.service: Job kbfs.service/start failed with result 'dependency'.`
smolboye has quit [Ping timeout: 240 seconds]
<manveru> which is super helpful...
<{^_^}> [nixpkgs] @Mic92 opened pull request #45770 → nix-review: 0.5.0 -> 0.5.1 → https://git.io/fAnqh
<Glenn> Wondering if anyone here is using nixops with libvirtd, and happens to have a working example of filesystem passthrough using deployment.libvirtd.extraDevicesXML?
<Mic92> How can I ignore ~/.nixpkgs/config.nix in scripts?
nschoe has joined #nixos
<ekleog> manveru: isn't that systemd's way of telling you a dependency of kbfs.service failed to start?
<manveru> ekleog: it has no dependencies...
<ekleog> oh.
<ekleog> do an echo in the script actually display?
<manveru> wait, that's wrong
<ekleog> Mic92: iirc the technique for overlays is to re-import nixpkgs with an explicit overlay argument, I'd guess the same can be done with ~/.nixpkgs/config.nix?
<manveru> keybase has no deps, but kbfs does
<ekleog> Mic92: yeah, there appears to be a `config` parameter to nixpkgs, if you set it to the right thing I think it should disable the auto-loading from ~/.nixpkgs/config.nix
logzet has joined #nixos
<manveru> there should also be a way to up the log level of systemd
<Mic92> ekleog: I wonder why: overriding it via NIXPKGS_CONFIG does not has the same: https://github.com/Mic92/nix-review/blob/master/nix_review/app.py#L176
<Mic92> *effect
<teto> Glenn: I mount folders in mapped mode and run qemu with myself as user
<ekleog> Mic92: that's weird :/
<teto> (via a nixops+libvirtd setup)
* ekleog gotta go, unfortunately, would love a ping if you get to the bottom of it
<Glenn> teto: why do you do it that way? Were you unable to get passthrough working? (This is my first go at sharing files between host and guest, so I'm a bit clueless at the moment.)
<Mic92> ekleog: simple reason, the file was deleted to early
<teto> Glenn: I didn't want to run qemu as root, which makes passthrough boring since I couldn't run sudo commands on shared files anymore etc
<teto> if you run qemu as root, passhtrough is the way to go i believe
jbgi has quit [Ping timeout: 246 seconds]
<Glenn> It looks like qemu running as root is the default behaviour, so that's probably what I'm doing
lezed1 has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
vodurden has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45752 → xpra: fix the xkb search path → https://git.io/fAGbz
<{^_^}> [nixpkgs] @xeji pushed commit from @atanasi to master « xpra: fix the xkb search path (#45752) »: https://git.io/fAnYq
periklis has quit [Remote host closed the connection]
vodurden has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<{^_^}> [nixpkgs] @xeji merged pull request #45770 → nix-review: 0.5.0 -> 0.5.2 → https://git.io/fAnqh
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fAnYu
periklis has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45411 → linux-libre: init → https://git.io/fAJ8M
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/fAnY9
orivej has quit [Ping timeout: 240 seconds]
hamishmack has joined #nixos
<kenshinCH> I'm trying to run this example https://github.com/vikpe/react-webpack-typescript-starter using node2nix. The environment is created properly, as far as I can tell, but webpack-dev-server is not in the path - I can run it, however, specifying the full path to the nix store. What am I missing?
zgrep has joined #nixos
rtjure has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45766 → corgi: init at 0.2.3 → https://git.io/fAZNE
<{^_^}> [nixpkgs] @xeji pushed commit from @kalbasit to master « corgi: init at 0.2.3 (#45766) »: https://git.io/fAn3s
<{^_^}> [nixpkgs] @Mic92 merged pull request #45750 → nixos/zabbix: fix initial database creation → https://git.io/fAGdX
<{^_^}> [nixpkgs] @Mic92 pushed commit from @johannesloetzsch to master « nixos/zabbix: fix initial database creation (#45750) »: https://git.io/fAn3F
<{^_^}> [nixpkgs] @Mic92 pushed to master « alacritty: 2018-07-20 -> 2018-08-30 »: https://git.io/fAnsU
<c15ade4> How do I get a valid config to pass to make-vm-image ? I'm a little confused by it
<c15ade4> make-disk-image.nix *
sontags has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fAnsd
<{^_^}> [nixpkgs] @vcunat merged pull request #45764 → pango: 1.42.1 → 1.42.4 → https://git.io/fAZws
orivej has joined #nixos
thc202 has joined #nixos
thibm has joined #nixos
<elvishjerricco> ekleog: You ever get `Error looking up example.org port 655: Device or resource busy` with tinc?
mayhewluke has quit [Ping timeout: 240 seconds]
sontags has quit [Quit: WeeChat 2.2]
mayhewluke has joined #nixos
<elvishjerricco> Ah: `stat("/etc/resolv.conf", 0x7ffc74ed9bd0) = -1 ENOENT (No such file or directory)`
<elvishjerricco> It does that chroot stuff by default. How does that ever work if this file isn't also visible?
spietz has quit [Quit: WeeChat 1.9.1]
Thra11 has quit [Ping timeout: 246 seconds]
* manveru punches systemd
<{^_^}> [nixpkgs] @Mic92 merged pull request #43388 → Fix neovim PYTHONPATH handling → https://git.io/fNIw7
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fAnZI
sigmundv__ has joined #nixos
<etu> manveru: Why is that?
<manveru> impossible to debug issues :P
<etu> Not really
<manveru> i wish
<LnL> elvishjerricco: it doesn't IIRC
<etu> What do you need to debug? Probably noting in systemd itself, probably some service
<elvishjerricco> LnL: Huh? So the option that is enabled by default never works by default?
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « gnome3.gnome-shell: fix build (missing xsltproc) »: https://git.io/fAnZu
<manveru> etu: why does setting PrivateTmp on a user service fail?
<etu> manveru: Some services doesn't like that, I don't know why
ckauhaus has joined #nixos
<LnL> elvishjerricco: oh wait not the nix build chroot?
<manveru> etu: see? :)
<elvishjerricco> LnL: No, this option: https://nixos.org/nixos/options.html#services.tinc.networks.%3Cname%3E.chroot
<etu> manveru: But then you'd have to debug that service, not systemd itself
thibm has quit [Quit: WeeChat 2.0]
<manveru> etu: i just spent an hour trying to figure out why https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/keybase.nix#L34 won't start
orivej has quit [Ping timeout: 252 seconds]
<manveru> and i consider it a bug in systemd if it doesn't give any output when PrivateTmp fails
<etu> oh, keybase
* etu has removed his account there for reasons
johanot has joined #nixos
edwtjo has quit [Ping timeout: 252 seconds]
b has quit [Quit: Lost terminal]
joehh has quit [Ping timeout: 250 seconds]
commande1 has joined #nixos
Mic92_ has joined #nixos
Mic92 has quit [Ping timeout: 264 seconds]
commander has quit [Ping timeout: 264 seconds]
domenkozar has quit [Ping timeout: 268 seconds]
ckauhaus is now known as ckauhaus[away]
<manveru> we use it at work :)
edwtjo has joined #nixos
<manveru> was a lot simpler than trying to teach everyone about git-crypt
<etu> manveru: Wow, I kinda ran into this issue and decided to drop my account: https://github.com/keybase/keybase-issues/issues/1593
<{^_^}> keybase/keybase-issues#1593 (by pkirkovsky, 3 years ago, open): Implement user blocking
nefix has joined #nixos
<elvishjerricco> Alright, I got tinc up and running! This is insanely cool. I can use the same address and just magically get a local connection speed to my desktop whenever my laptop is at home.
<manveru> etu: ok, i guess some people care about that :)
<etu> But keybase motivated me to get a smartcard and now I do "proper" gpg usage with keysignings and such instead :p
<etu> So I got something good from it
<manveru> well, i have no issue with normally using gpg
<manveru> but keybase is just convenient for shared folders and repos, so i use it for that
ArahaelPi has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bjornfor pushed to master « treewide: fix typo: asumed -> assumed »: https://git.io/fAncT
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b470ed6b78f (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<manveru> if i started caring about who follows me on all the platforms i'm on... i'd go insane
<etu> Some people have had problems with harassment as well
<{^_^}> [nixpkgs] @vcunat closed pull request #44903 → Revert "nix-repl: Remove" → https://git.io/fN5E8
<{^_^}> [nixpkgs] @ciil opened pull request #45771 → atlassian-jira: 7.11.0 -> 7.12.0 → https://git.io/fAnci
<jtojnar> does anyone has some tips for GitLab CI using Nix? I am currently doing this https://gitlab.gnome.org/GNOME/buoh/merge_requests/4/diffs but it is slow (~5 min)
ArahaelPi has joined #nixos
ThatDocsLady_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fAncD
<{^_^}> [nixpkgs] @ciil opened pull request #45772 → atlassian-jira: 7.7.0 -> 7.12.0 (18.03) → https://git.io/fAncS
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @teh opened pull request #45773 → pytorch: 0.4.0 -> 0.4.1 → https://git.io/fAncp
<{^_^}> [nixpkgs] @vcunat merged pull request #45636 → Throw error for removed nix-repl attribute → https://git.io/fAmnT
hellrazor has quit [Ping timeout: 240 seconds]
ArahaelPi has quit [Ping timeout: 246 seconds]
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « xorg.libX11: 1.6.5 -> 1.6.6 (security) »: https://git.io/fAnCL
jtojnar has quit [Ping timeout: 245 seconds]
<srhb> ,tell jtojnar: At a first guess, it's because you have to populate a largely empty store in order to start building anything. Making images that are mostly ready to deal with the build is one way to go about this. Better yet would probably be to share a store across builds.
<{^_^}> srhb: I'll pass that on to jtojnar:
<etu> srhb: I think the colon after the nick will make it fail
<srhb> etu: Thanks :)
<srhb> ,tell jtojnar At a first guess, it's because you have to populate a largely empty store in order to start building anything. Making images that are mostly ready to deal with the build is one way to go about this. Better yet would probably be to share a store across builds.
<{^_^}> srhb: I'll pass that on to jtojnar
jtojnar has joined #nixos
ArahaelPi has joined #nixos
<c15ade4> elvishjerricco: thats awesome, I have just setup wireguard but have the problem of a pointless roundtrip when I am at home
DigitalKiwi has quit [Quit: DigitalKiwi]
<srhb> lezed1: Taking this to #nixos since it seems to be a general question about how to package python, not deep in the design of NixOS itself :) Can you share your expression?
<lezed1> srhb: Ah, I guess I messed up the split of the channels. I'll push my expression to GitHub so I can link directly to the code
f0i has joined #nixos
<srhb> It's not completely obvious. #nixos-dev is more about wide-ranging changes to the overall design, not single packages (unless perhaps it's about something deep like stdenv)
thibm has joined #nixos
DigitalKiwi has joined #nixos
<mpickering> Has anyone used the `aws` command line tool? All the commands fail for me
<mpickering> sanity-check: "": file is missing. (Format: AccessKeyID\nSecretAccessKey\n)
<srhb> mpickering: I have, yes
<elvishjerricco> as have i. Never had a problem on nixos with it.
<srhb> mpickering: Moving the config files that I know of away does not produce that error for me (on nixos-unstable)
__Sander__ has joined #nixos
<mpickering> What is the package called?
<srhb> mpickering: awscli
<mpickering> Is it just `aws` or is there another one?
<mpickering> .. ok
<lezed1> srhb: Here is the expression https://github.com/lezed1/nixpkgs/commit/4bede36cbf0b396d55157a33eba3e6f7c2ac41c3. When I add it to systemPackages I get import errors, but if I use `nix-shell -A openrazer` it works great
<mpickering> srhb: thanks, I'll try that then
<mpickering> this seems to be working
<mpickering> it's unfortunate that aws is the wrong thing
<srhb> mpickering: Yes, I wonder what it's even supposed to be
<mpickering> I think a cli for aws
<mpickering> but it looked very outdated
<srhb> Maybe it should be removed...
<srhb> (I think awscli is the right name for the aws cli still)
ArahaelPi has quit [Read error: Connection reset by peer]
nefix has quit [Quit: Lost terminal]
<srhb> lezed1: That part is the driver itself, right
<lezed1> srhb: Looking at it more, I think setting the pythonpath did work, but the current error is `ValueError: Namespace Gdk not available`, which is gnome related
<srhb> Oh ugh..
<lezed1> that commit has expressions for the kernel driver and python libraries that accompany it
<lezed1> I think some more env variables get set up in the shell, I can see what it sets
<lezed1> but I couldn't figure out a better way to package a python application that using buildPythonApplication and then wrapping the program to set the pythonpath: https://github.com/lezed1/nixpkgs/commit/4bede36cbf0b396d55157a33eba3e6f7c2ac41c3#diff-5c2513588062c1bf95849c40a973a6dbR49
<srhb> lezed1: You might also want to use --pure to make sure you're not leaking stuff into it?
<lezed1> Is there a better way to do that?
<srhb> I think that's a generally accepted way, though I'm no expert at python packaging. fwiw I think it's normal to prefix rather than suffix though, since first entries take precedence.
<srhb> (Just in case something else is on the path already)
thibm has quit [Quit: WeeChat 2.0]
<lezed1> okay, I changed that
<lezed1> I also tested in pure, and it works
arahael1 has joined #nixos
<srhb> Good.
<lezed1> so it's something not set globally
thibm has joined #nixos
<lezed1> `GI_TYPELIB_PATH` seems to be the magic missing variable
<{^_^}> jtojnar: 22 minutes, 27 seconds ago <srhb> At a first guess, it's because you have to populate a largely empty store in order to start building anything. Making images that are mostly ready to deal with the build is one way to go about this. Better yet would probably be to share a store across builds.
<jtojnar> lezed1: adding wrapGAppsHook to nativeBuildInputs will wrap the program and set the variable
<srhb> That thing has always mystified me, good to know. :D
ThatDocsLady has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #45774 → linux_testing_bcachefs: 4.16.2018.08.03 -> 4.18.2018.08.21 → https://git.io/fAnlj
<jtojnar> srhb: is it fine to just cache /nix/store? I would worry about it bloating over time with the builds itself
<jtojnar> also not sure if it is compatible with using latest nixos/nix image
<srhb> jtojnar: I'm not sure how to do it with the image exactly. The sad thing is that it would basically _just work_ without using dockerized builds, of course.
<jtojnar> also I think the cache can be cleared after some periods inactivity
<srhb> jtojnar: But yes, since the gitlab ci doesn't know of any of the Hydra gc root tricks, it's a bit more difficult to keep just the latest around.
<srhb> But it might be acceptable to just have the occasional gc and the subsequent build take longer.
<jtojnar> srhb: I played with the image building here https://gitlab.com/pages/hakyll, but it has been a long time
<{^_^}> [nixpkgs] @xeji merged pull request #44895 → sshuttle: 0.78.3 -> 0.78.4 → https://git.io/fN54C
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « sshuttle: 0.78.3 -> 0.78.4 (#44895) »: https://git.io/fAn8n
<srhb> jtojnar: I don't know exactly how the gitlab ci caching works, but could you maybe just cache a directory of gcroots? And then maybe name the root after the branch and overwrite it on each subsequent build?
<lezed1> Are you asking about caching `/nix/store` in GitLab CI builds? I have done that and can give you the config for it I believe
<srhb> lezed1: Please do share, that would definitely help jtojnar's use case :)
<srhb> (And I'm curious as well)
<{^_^}> [nixpkgs] @srhb merged pull request #45753 → wine{Unstable,Staging}: 3.13 -> 3.14 → https://git.io/fAGhE
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAn87
arahael1 is now known as ArahaelPi
lassulus_ has joined #nixos
philippD has joined #nixos
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @vcunat pushed to master « linux: build with SCHEDUTIL governor »: https://git.io/fAn4w
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
thibm has quit [Quit: WeeChat 2.0]
TweyIV has joined #nixos
TweyIV has quit [Ping timeout: 240 seconds]
<jtojnar> srhb: it looks like I could set up one stage running `nix-shell --run ":"` with push-pull policy
logzet has quit [Remote host closed the connection]
<jtojnar> and run the build in a different stage only using pull policy
<jtojnar> then only the dependencies would be cached
<srhb> That sounds sensible.
TweyIV has joined #nixos
<jtojnar> though I am still not sure about copying /nix/store around
<srhb> jtojnar: No, it would be much nicer if it could just communicate with the host daemon
<srhb> Still leaves the question about gc roots open though
<srhb> idk, this is the sort of thing Hydra does really well. :P
lassulus has quit [Ping timeout: 246 seconds]
logzet has joined #nixos
lassulus has joined #nixos
alexteves has joined #nixos
<jtojnar> well, it definitely is not as simple as setting `cache.paths: /nix/store` https://gitlab.com/gitlab-org/gitlab-ce/issues/4431
<jtojnar> there is an issue about native Nix support https://gitlab.com/gitlab-org/gitlab-ce/issues/31312
simukis has joined #nixos
Phlogistique has joined #nixos
<Phlogistique> Hi! How can I refer to the current nix-shell generated environment? For example to run "nix-env -q"
kini has quit [Remote host closed the connection]
<srhb> Phlogistique: I don't think there's any way to do that. It isn't a profile in the regular sense.
kini has joined #nixos
nly has joined #nixos
<lezed1> With GitLab you have to copy all of `/nix/store` into a path in your repo and cache that
<lezed1> also, things get huge really quickly
<siers> Would nix packages build on android, if one had root?
<srhb> lezed1: Shouldn't the build be able to add a gc root for the (succesful) build environment and collect garbage?
<srhb> And keep that root around of course.
<lezed1> yeah, you could definitely start pruning it to keep it manageable, I never went that route and stopped using the caching because it wasn't helping (I just verify that you can evaluate all my machine expressions, I don't build them on GitLab)
<srhb> lezed1: How do you reuse the store dir though? Copy it back or use some of the proot features?
<lezed1> the cache puts it into your repo somewhere, then you can copy it over to the correct location at /
<srhb> I see.
TweyIV is now known as Twey
<{^_^}> [nixpkgs] @vcunat pushed 229 commits to staging: https://git.io/fAnz0
castilma has joined #nixos
<castilma> how can i install the e2fsprogs man pages?
<srhb> castilma: For your user? nix-env -iA nixpkgs.e2fsprogs.man
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 260 seconds]
kisik21 has joined #nixos
<srhb> Actually, that won't work, will it
<castilma> no, it doesnt
lassulus_ has quit [Ping timeout: 250 seconds]
<srhb> castilma: Yeah.. Multi output troubles: https://github.com/NixOS/nixpkgs/issues/24717
<{^_^}> #24717 (by nixy, 1 year ago, open): Missing man pages for packages with multiple outputs
<{^_^}> [nixpkgs] @globin merged pull request #45772 → atlassian-jira: 7.7.0 -> 7.12.0 (18.03) → https://git.io/fAncS
<{^_^}> [nixpkgs] @globin pushed 6 commits to release-18.03: https://git.io/fAn2w
<{^_^}> [nixpkgs] @globin merged pull request #45771 → atlassian-jira: 7.11.0 -> 7.12.0 → https://git.io/fAnci
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/fAn2D
init_6 has joined #nixos
lassulus_ has joined #nixos
<{^_^}> [nix] @edolstra pushed 4 commits to 2.1-maintenance: https://git.io/fAnaA
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @xeji pushed to staging « systemd: don't use options from fstab on remount »: https://git.io/fAnV4
filterfish_ has joined #nixos
filterfish has quit [Remote host closed the connection]
filterfish_ has quit [Remote host closed the connection]
filterfish_ has joined #nixos
<castilma> thanks
castilma has left #nixos [#nixos]
ericsagnes has joined #nixos
joehh has joined #nixos
init_6 has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
init_6 has joined #nixos
<emily> is there an easy way to install a node package (with binary tools) globally if it's not included in nixpkgs.nodePackages?
<emily> hard to see how to go from node2nix(1) to something I can put in, say, systemPackages
orivej has joined #nixos
<fzer0> emily: I just got on to ask how to use npm2nix, good timing!
<nly> hi all, can someone quickly remind me how I nix-build a pkg from local nixpkgs dir
<fzer0> well, i guess npm2nix is no longer maintained.
<nly> I put the default.nix in appropriate folders and added package attributes in top-level/all-packages.nix
<symphorien> nix-build /path/to/checkout -A name
silver has joined #nixos
johanot has quit [Quit: leaving]
<{^_^}> [nixpkgs] @bkchr opened pull request #45776 → Gstreamer 1.14.2 → https://git.io/fAnKk
<{^_^}> [nixpkgs] @dtzWill opened pull request #45777 → swift: 4.1 -> 4.1.3 → https://git.io/fAnKm
filterfish_ has quit [Remote host closed the connection]
filterfish_ has joined #nixos
<nly> ty
<{^_^}> [nixpkgs] @mpickering opened pull request #45778 → kythe: init at 0.0.28 → https://git.io/fAnKu
bjpbakker has joined #nixos
TheAceOfHearts has joined #nixos
timj has joined #nixos
<mpickering> Anyone fancy a review of my old PR? https://github.com/NixOS/nixpkgs/pull/39125
<{^_^}> #39125 (by mpickering, 19 weeks ago, open): SAGA, SAGA LTS release, dependencies and QGIS SAGA plugin
rprije has quit [Ping timeout: 240 seconds]
nefix has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5e42ee936db (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
kwork has joined #nixos
ericsagnes has quit [Ping timeout: 246 seconds]
octovarnik has joined #nixos
<octovarnik> yo mates
<octovarnik> ,locate file
<{^_^}> Found in packages: go, ola, apt, calc, file, z88dk, davix, and 53 more
pjan has quit [Quit: さようなら]
<infinisil> ,locate bin file
<{^_^}> Found in packages: file
NightTrain has joined #nixos
ckauhaus[away] is now known as ckauhaus
Denommus` has joined #nixos
kisik21 has quit [Ping timeout: 272 seconds]
Twey has quit [Ping timeout: 246 seconds]
Denommus has quit [Ping timeout: 252 seconds]
pie_ has joined #nixos
Twey has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #45779 → Nix minimal version: 1.11 -> 2.0 → https://git.io/fAnP0
<{^_^}> [nixpkgs] @Mic92 merged pull request #45330 → rustup: wrap bindgen to find header files in a nix-shell → https://git.io/fAvno
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAnP2
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> What's the right way to override `mesonFlags` for a package? Should I overrideDerivation on the package, or on meson itself?
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
timj1 has joined #nixos
nckx has joined #nixos
<selfsymmetric-mu> I'm doing `overrideAttrs (oldAttrs: rec { mesonFlags = [ "--buildtype=debugoptimized" ];});` but I know that's not working because I can put garbage in the `mesonFlag` argument and it doesn't error out.
timj has quit [Ping timeout: 240 seconds]
<kenshinCH> I'm lost trying to use node2nix for a simple(?) react-typescript project with webpack. Can anyone help?
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
trcc has quit [Read error: Connection reset by peer]
ericsagnes has joined #nixos
<jtojnar> srhb: I managed to make it work, mostly https://gitlab.gnome.org/GNOME/buoh/merge_requests/4/diffs
<jtojnar> now I only need to figure out how to rebuild the image on-demand (considering using nix-hash default.nix as a tag)
<nly> can someone help me with the package guix, here is the paste: http://paste.debian.net/1039918/
<srhb> jtojnar: Neat :)
<{^_^}> [nixpkgs] @gebner pushed to master « gogs: 0.11.34 -> 0.11.53 »: https://git.io/fAnD8
logzet has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
<jtojnar> hmm, nix-hash probably is not what I am after
ThatDocsLady_ has joined #nixos
<drp> whats up with these programs.<app>.enable options? I haven't seen these before, it seems for programs.java it includes the JAVA_HOME variable, why not just have that as part of the packages? I think I've missed this devopment/only just learned enough to see
ThatDocsLady has quit [Ping timeout: 250 seconds]
<Mic92_> drp: nix-env is limited to data in /nix. nixos modules provide functionality for everything else.
kenshinCH has quit [Read error: Connection reset by peer]
qyliss has joined #nixos
qyliss^work has joined #nixos
jperras has quit [Ping timeout: 246 seconds]
<drp> so if I add java to my systemPackages i can't run jars that expect JAVA_HOME but if I do programs.java.enable I can?
<Mic92_> drp: usually we try to wrap most applications in nixpkgs upfront to have JAVA_HOME set.
<Mic92_> if you run your own non-packaged ones, you might want to use the module instead
kenshinCH has joined #nixos
<drp> Mic92_: Thank you! That cleared it up for me. I was looking at running yacy, it seems programs.java will help me if I don't want to create my own nix package
<Mic92_> drp: if you ever plan, there is a nixpkgs manual chapter on java. If you package ready-build jars it is not much nix to write.
periklis has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/fAnyR
orivej has quit [Ping timeout: 240 seconds]
<drp> ..<_<...>_> I totally forgot about the nix manual, I was looking at the nixos manual
<Mic92_> drp: actually there are three, nixpkgs, nixos and nix.
<{^_^}> [nixpkgs] @manveru opened pull request #45780 → asciidoctor: 1.5.6.2 -> 1.5.7.1 → https://git.io/fAnyw
<Mic92_> all listed here: https://nixos.wiki/
<drp> haha, and here I thought I was RTFMing when in reality I was only looking at 1/3rd of the documentation
<srhb> drp: And I think Nix is far shorter than the two others as well :-P
<drp> thank you for the link
<{^_^}> [nixpkgs] @ciil opened pull request #45781 → rstudio: 1.1.442 -> 1.1.456 → https://git.io/fAnyb
johanot has joined #nixos
das_j has joined #nixos
<das_j> Hi, is there a way to override the name of a `runCommand` derivation? I tried .override { name = "whatever"; }, but it fails because it says that attribute "override" is missing
<{^_^}> [nixpkgs] @dotlambda opened pull request #45783 → buttersink: move out of pythonPackages → https://git.io/fAn9U
<das_j> In particular, I'm trying to do something like environment.systemPackages = (manual.manpages.override { name = "my-manpages"; });
<mpickering> overrideAttrs?
<das_j> mpickering: I thought so as well, but this results in error: attempt to call something which is not a function but a set
kisik21 has joined #nixos
<mpickering> what is your code?
<andi-> ...overrideAttrs (old: { name = "bar"; })
<das_j> Oh well, I forgot the parameter...
<das_j> andi-: Thank you, this way it works!
<{^_^}> [nixpkgs] @oxij opened pull request #45784 → nixos/shells: Avoid overriding the environment for other child shells → https://git.io/fAnHL
<gchristensen> OfBorg will be undergoing some maintenance very soon and may have a bit of down-time. If you notice problems, please drop by #nixos-borg. Some are to be expected, but please be proactive in reporting them.
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.plotly: fix build »: https://git.io/fAnHP
[Leary] has joined #nixos
<das_j> Okay, weird. maybe somebody can help me here, this makes no sense at all to me. I changed the name of the manual which caued the manual to be rebuilt. However, the line `optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);` (nixos/nixpkgs/nixos/doc/manual/default.nix:79) fails with "in 'toFile': the file 'options.xml' cannot refer to derivation outputs". What? How can this be built?
chreekat has quit [Ping timeout: 252 seconds]
Lears has quit [Ping timeout: 240 seconds]
<gchristensen> maybe you can share your code
<das_j> If I look at the nix source code, this seems to happen when toFile tries to write a derivation. But toXML shouldn't return a derivation IMO
<gchristensen> usually this is a problem with a Nix option referring directly to a package
<gchristensen> NixOS option*
Twey has quit [Ping timeout: 244 seconds]
alex`` has quit [Quit: WeeChat 2.2]
<jtojnar> srhb: I think I would still need an ability to use dynamically set image name https://paste.gnome.org/pzxcalbuj
<jtojnar> I guess I will just have to delete the image manually for now
<jtojnar> and use the same name
<das_j> gchristensen: My code is (from inside a module): environment.systemPackages = (manual.manpages.overrideAttrs (old: { name = "my-manpages"; }));
chreekat has joined #nixos
<das_j> I change the name to force nix to rebuild the manual so configuration.nix also contains the options of my modules
<Phlogistique> srhb: alright, thanks!
<gchristensen> what version of nixpkgs are you based on?
<das_j> 18.03
<das_j> or do you mean the commit?
<gchristensen> the commit
<gchristensen> why would you need to force the manual to rebuild to contain your options? that shouldn't be required
<das_j> .git-revision from nixpkgs contains edd63e05d1e37ed3fb9623aca25c874014d9778ccat
<gchristensen> and: what are the options of your modules? there is clearly more going on than just the one change, and I'm betting one of your options has the problem.
<das_j> I don't know, but it doesn't contain the options so I assume I need to force it
__monty__ has joined #nixos
<das_j> I add some modules by including them, I'll look for the code. However, I doubt it's because of modules because `${manual.optionsJSON}` works and gives me a JSON including my modules
<das_j> So it's `imports = (import ./3modules)` and default.nix in 3modules is just a list of paths, like module-list.nix
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/fAn7f
<{^_^}> [nixpkgs] @vcunat merged pull request #42193 → libinput: split utilities to a bin output → https://git.io/ffCdQ
<gchristensen> das_j: do you have any module options where you set a default package? like: package = mkOption { default = pkgs.foobar; ?
shreyansh_k has joined #nixos
<das_j> gchristensen: Yes, there is type = listOf package;
<das_j> But it doesn't have a default...
<das_j> Ah got it
<das_j> default = "${pkgs.openssh}/bin/ssh"
<gchristensen> so, there you go
<das_j> Ah, that's nice!
<das_j> I just removed the option ;)
<gchristensen> sure
<das_j> Thank you so much! I would probably have never found that
<gchristensen> it is a bit annoying :)
<das_j> At least it's never going to happen to me again
<ryantm> It seems that https://nixos.org/nixpkgs/packages-unstable.json.gz is not keeping up with nixpkgs-channels again. It builds fine when I run make on nixos-homepage repo though.
<shreyansh_k> Hi, I can't get intel 8260 wifi adapter to work. dmesg says "firmware missing". I tried a fresh install. Any pointers?
jperras has joined #nixos
<gchristensen> ryantm: I think the repo updates first and then a bunch of processing happens. give it some time?
commande1 is now known as commander
<ryantm> gchristensen: It looks like it has had about 5 days to update. How much processing time is reasonable?
<gchristensen> less :)
<srhb> ryantm: That update plain failed
<srhb> ryantm: The two next succesful tested sets are hopefully better, but there are still evals queued for them
<Phlogistique> Has anyone compiled a project using Boost with Meson under Nix?
<ryantm> srhb: I thought updates in the nixpkgs-channels GitHub repo succeeded.
<srhb> ryantm: (Re. plain failed: last-succesful of that build now points to 8395f9aa85e -- but nixpkgs-channels is on a newer rev)
<srhb> ryantm: Correct, it did.
fendor has joined #nixos
<srhb> But since last-succesful is now older than that, the nixos.org channel won't update.
<srhb> (As far as I can read from the scripts, at least)
<ryantm> srhb: Where are the scripts at?
<srhb> Ack, I'm too slow
<gchristensen> your link was better
timj1 has quit [Quit: Leaving.]
<srhb> So what happened is: last-succesful was at the rev that nixpkgs-channels/nixos-unstable is now at. So a) update nixos.org b) update nixpkgs-channels to that. a) failed, b) succeeded. Then, last-succesful went BACK in time to where nixos.org is now at, so we will not ever hit the rev that channels/nixos-unstable is at now.
iyzsong has joined #nixos
nh2 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45780 → asciidoctor: 1.5.6.2 -> 1.5.7.1 → https://git.io/fAnyw
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAnFX
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fAnbe
<{^_^}> [nixos-channel-scripts] @edolstra merged pull request #22 → Fixes channel going back in time due to incomplete change. → https://git.io/fAmlI
<{^_^}> [nixos-channel-scripts] @edolstra pushed 2 commits to master: https://git.io/fAnb0
ciil has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @vcunat pushed 6 commits to staging: https://git.io/fAnNY
<{^_^}> [nixpkgs] @vcunat merged pull request #44910 → cmake: 3.11.2 -> 3.12.1 → https://git.io/fN5VG
<gchristensen> Most of the OfBorg infrastruture is now updated. I'm now begining the upgrade procedure for the core of the infrastructure. New messages to ofborg will be lost while it is down. It should only take a few minutes. https://butt.holdings
ciil has joined #nixos
<chreekat> Given a haskell package with a pkgconfig-depends, nix-build and 'nix-shell --run "cabal new-build" both work -- but new-repl fails with a ghc panic about a missing symbol that should be supplied by the pkgconfig'd library. Nix problem? cabal problem?
carlosdagos has quit [Quit: Connection closed for inactivity]
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/fAnAH
<{^_^}> [nix] @edolstra closed pull request #2373 → Add human readable closure sizes to nix path-info → https://git.io/fAmCm
<{^_^}> [nix] @edolstra merged pull request #2365 → Docs: Fix install prefix → https://git.io/fAUj6
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAnAj
rct has left #nixos ["WeeChat 1.9.1"]
<{^_^}> [nix] @edolstra closed pull request #2352 → docs: Update installation location on the hacking section → https://git.io/fNb8z
iyzsong has quit [Ping timeout: 240 seconds]
<gchristensen> niksnut!!
<gchristensen> niksnut++
<{^_^}> niksnut's karma got increased to 1
vaibhavsagar has joined #nixos
<gchristensen> :O
<{^_^}> [nixpkgs] @vcunat opened pull request #45787 → firefox-esr-52: remove, it's EOL around now → https://git.io/fAnxs
endformationage has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to master « buttersink: move out of pythonPackages (#45783) »: https://git.io/fAnpU
<{^_^}> [nixpkgs] @xeji merged pull request #45783 → buttersink: move out of pythonPackages → https://git.io/fAn9U
jperras has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
orivej has joined #nixos
work_ has joined #nixos
lezed1 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @romildo opened pull request #45788 → Upd.enlightenment → https://git.io/fAnhB
<ryantm> srhb: What does it mean that last-successful went back in time? Where is last-sucessful defined?
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<samueldr> ryantm: I can show you the code
<{^_^}> nixos-channel-scripts#22 (by samueldr, 4 days ago, merged): Fixes channel going back in time due to incomplete change.
* samueldr failed to see the previous discussion that was much better
<samueldr> there was a sea of changes though :)
<samueldr> but yeah, basically, last-successful != most recent changes successful within hydra
<samueldr> (apparently)
jabranham has joined #nixos
<gchristensen> Due to an upstream provider issue, the final piece of maintenance won't be performed today. We're done with today's maintenance and everything should be okay.
<ryantm> I don't see any references to "last-successful" in your PR either.
jperras has quit [Ping timeout: 246 seconds]
<gchristensen> s/last-successful/latest-finished/
<ryantm> thanks!
<{^_^}> [nixpkgs] @xeji pushed commit from @ciil to master « rstudio: 1.1.442 -> 1.1.456 (#45781) »: https://git.io/fAnjQ
<{^_^}> [nixpkgs] @xeji merged pull request #45781 → rstudio: 1.1.442 -> 1.1.456 → https://git.io/fAnyb
<samueldr> hm, yeah, sorry, kinda jumped the gun here :/ but this shouldn't happen anymore
<ryantm> This will be the first NixOS release since I started doing nixpkgs-update/r-ryantm. I hope we didn't break a bunch of stuff that unstable people don't test!
<{^_^}> [nixpkgs] @dotlambda opened pull request #45789 → buildbot: use python3Packages → https://git.io/fAcem
<gchristensen> ryantm: it'll be an experience for sure
jonreeve has joined #nixos
das_j has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45790 → zsh-completions: 0.27.0 -> 0.28.0 → https://git.io/fAce7
<ryantm> Yay, thanks to mpickering, new nixpkgs-update PRs have much easier testing instructions https://github.com/NixOS/nixpkgs/pull/45790
<{^_^}> #45790 (by r-ryantm, 1 minute ago, open): zsh-completions: 0.27.0 -> 0.28.0
jonreeve has quit [Ping timeout: 240 seconds]
JonReed has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45624 → extract_url: init at 1.6.2 → https://git.io/fAqpT
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « extract_url: init at 1.6.2 (#45624) »: https://git.io/fAcv8
bjpbakker has quit [Ping timeout: 240 seconds]
<mpickering> ryantm: So nixpkgs-updates also looks at github now rather than just repology?
<mpickering> how does that work?
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #45058 → freedesktop modules: init → https://git.io/fNAi6
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fAcfm
<Zajcev> guys ... any documentation to help me understand nixos basics? ... how does it work, channels, store, what is NIX_PATH and what is it for and how to use, etc etc etc ... I'm honestly lost ...
<Zajcev> thanks
<cransom> have you read the nix pills?
<Zajcev> nope, only nixos manual and nixops manuale yet
<cransom> the pills are highly recommended.
<Zajcev> start with pills?
<cransom> you can kind of drive the system without knowing whats underneath, but you'll hit an impass if you don't have a little knowledge of the system underneath
<Zajcev> ok, next pills ...
<cransom> i would say pills first.
<Zajcev> oukey
<Zajcev> I guess it is not very human like :-)
<Zajcev> cransom: thanks
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d347eed5142 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @xeji merged pull request #45773 → pytorch: 0.4.0 -> 0.4.1 → https://git.io/fAncp
<{^_^}> [nixpkgs] @xeji pushed commit from @teh to master « pytorch: 0.4.0 -> 0.4.1 (#45773) »: https://git.io/fAcJF
jperras has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 424 commits to python-unstable: https://git.io/fAcU7
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @samueldr merged pull request #45779 → Nix minimal version: 1.11 -> 2.0 → https://git.io/fAnP0
<{^_^}> [nixpkgs] @samueldr pushed 5 commits to master: https://git.io/fAcTZ
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7c40ff54956 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
ckauhaus has quit [Quit: WeeChat 2.0]
jperras has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45791 → umockdev: 0.11.3 -> 0.12 → https://git.io/fAcTo
bennofs has joined #nixos
aarvar has left #nixos [#nixos]
<siers> my nixos hasn't been able to suspend on lid lock after some update and I keep typing sudo pm-suspend for the god knows which month ;(
erasmas has joined #nixos
<chreekat> Zajcev: there are two other manuals to read, as well: the Nix manual and the Nixpkgs manual
<johanot> any easy way of getting the sources of a package? something like "nix-build -A firefox.src"
pie_ has quit [Ping timeout: 244 seconds]
<chreekat> siers: suspend has never worked for me on NixOS. :( And hibernate-on-closing-lid works on about 75% of reboots
<siers> chreekat, It worked on 17.09
<chreekat> I can't even pm-suspend though - it just pops back alive
<chreekat> Haven't had the time to learn whatever I'd need to learn to even know what layer of Linux the problem might be in
<{^_^}> [nixpkgs] @FRidh merged pull request #45732 → pythonPackages.pywatchman: 1.3.0 -> 1.4.1 → https://git.io/fAGGs
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fAcI7
<siers> same
<{^_^}> [nixops] @erictapen opened pull request #998 → Documentation about special NixOS module inputs → https://git.io/fAcIx
<{^_^}> [nixpkgs] @FRidh pushed 22 commits to python-unstable: https://git.io/fAcLL
<{^_^}> [nixpkgs] @FRidh opened pull request #45792 → Python packages fixes → https://git.io/fAcLq
nefix has quit [Read error: Connection reset by peer]
nefix has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45793 → urh: 2.2.3 -> 2.2.4 → https://git.io/fAcLa
solaire has joined #nixos
solaire has quit [Client Quit]
solaire has joined #nixos
drakonis_ has quit [Remote host closed the connection]
zack_moe_ has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/fAcL7
<{^_^}> [nixpkgs] @vcunat merged pull request #43817 → procps: enable systemd support when available → https://git.io/fNnjh
<JonReed> johanot: `nix edit nixpkgs.firefox`
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<ekleog> Mic92_: thank you for the final answer for why NIXPKGS_CONFIG didn't work! :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45794 → wallabag: 2.3.2 -> 2.3.3 → https://git.io/fActB
lord| has quit [Quit: WeeChat 2.2]
<ekleog> <elvishjerricco> It does that chroot stuff by default. How does that ever work if this file isn't also visible? <-- yeah, I still haven't understood whether tinc was broken, or if that was the tinc module, so haven't tried to fix it yet. you've already found the services.tinc.networks.[…].chroot, or so it seems :)
lord| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45795 → wayland: 1.15.0 -> 1.16.0 → https://git.io/fActi
ThatDocsLady_ has quit [Ping timeout: 246 seconds]
sigmundv__ has quit [Ping timeout: 252 seconds]
akamaus has joined #nixos
<akamaus> hello
<johanot> JonReed: I meant the source code of a package. For some packages, it is very easy to just grab the literal github url from a package nix-file. In other cases, for complicated packages, it's not.
<akamaus> what's the proper way to excape @ in indented strings (I mean ones enclosed in double single-quotes)?
<cransom> i don't recall @ being a special character, there should be no need to escape it
worldofpeace has joined #nixos
<akamaus> @cransom, looks like manual skips it, but
<akamaus> nix-repl> let a= '' RP_NEW=join_by : \${RP\@:2\} '' ; in a
<akamaus> results in error
gspia has quit [Quit: Leaving]
__Sander__ has quit [Quit: Konversation terminated!]
<cransom> it's not complaining about the @
<cransom> > let a= '' RP_NEW=join_by : ''${RP@:2} '' ; in a
<{^_^}> "RP_NEW=join_by : ${RP@:2} "
<akamaus> hmm, probably another variant did
<cransom> is that what you were looking for?
<akamaus> let a= '' RP_NEW=join_by : \${RP[@]:2} '' ; in a
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.sarge: disable tests »: https://git.io/fAcmM
<akamaus> this one complains (unfortunately have to type it here, so maybe there are some mistakes)
<akamaus> cransom, even easier, let a = '' RP[@] '' in a
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to python-unstable: https://git.io/fAcmx
<cransom> you missed a ;
<cransom> > let a = '' RP[@] ''; in a
<{^_^}> "RP[@] "
<akamaus> grr
<akamaus> nix-repl> let a = '' RP_NEW=join_by : \${RP[@]:2} ''; in a
<akamaus> error: syntax error, unexpected '@', at (string):1:36
<akamaus> here it is!
m0rphism has joined #nixos
<cransom> you can't escape $ with \
fzer00 has joined #nixos
<infinisil> > let a = '' RP_NEW=join_by : ''${RP[@]:2} ''; in a
<{^_^}> "RP_NEW=join_by : ${RP[@]:2} "
<infinisil> akamaus: ^
<infinisil> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<akamaus> got it
<akamaus> thanks
<akamaus> I misread the manual about escaping
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45796 → wireshark: 2.6.2 -> 2.6.3 → https://git.io/fAcYl
fzer0 has quit [Ping timeout: 240 seconds]
nly has quit [Quit: Leaving]
ixxie has joined #nixos
bigvalen has quit [Ping timeout: 272 seconds]
hexagoxel has joined #nixos
chreekat has quit [Ping timeout: 252 seconds]
hellrazor has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 252 seconds]
akamaus has quit [Quit: Leaving]
hellrazor has joined #nixos
h30 has quit [Quit: WeeChat 2.0]
h30 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45797 → verilator: 3.924 -> 3.926 → https://git.io/fAc3a
<JonReed> johanot: Some packages will not have an `src` though (or can something else like `srcs`). Or the source can be already build somewhere previously and then passed to an expression. It can also be inside `let in` expression and be build there somehow before being passed to the mkDerivation.
<JonReed> johanot: For those that do have `src`, you can go to `nix repl "<nixpkgs>"` and go `:b redshift.drvAttrs.src` which will output the path for the source
kenshinC1 has joined #nixos
<JonReed> johanot: I used `redshift` package because firefox doesn't have `src` attribute
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45798 → weston: 4.0.0 -> 5.0.0 → https://git.io/fAcsv
<JonReed> johanot: It wil not have a url though, but already a store path to the source.
WilliamHamilton[ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fAcso
balsoft has joined #nixos
pie_ has joined #nixos
nefix has quit [Quit: Lost terminal]
sigmundv__ has joined #nixos
Thra11 has joined #nixos
balsoft has quit [Client Quit]
balsoft has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #45796 → wireshark: 2.6.2 -> 2.6.3 → https://git.io/fAcYl
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to python-unstable: https://git.io/fAcGQ
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « pythonPackages.cmd2: fix build »: https://git.io/fAcZm
init_6 has quit [Ping timeout: 240 seconds]
bennofs has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « wireshark: 2.4.7 -> 2.4.9 (security) »: https://git.io/fAcZQ
jtx has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45778 → kythe: init at 0.0.28 → https://git.io/fAnKu
<{^_^}> [nixpkgs] @xeji pushed commit from @mpickering to master « kythe: init at 0.0.28 (#45778) »: https://git.io/fAcnl
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « awsebcli: use python3 »: https://git.io/fAcng
<adisbladis> Anyone who knows how (or if it's even possible) to load pulseaudio modules by absolute path?
<{^_^}> [nixpkgs] @timokau merged pull request #45790 → zsh-completions: 0.27.0 -> 0.28.0 → https://git.io/fAce7
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAcc3
<{^_^}> [nixpkgs] @timokau merged pull request #45791 → umockdev: 0.11.3 -> 0.12 → https://git.io/fAcTo
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAccn
<{^_^}> [nixpkgs] @timokau merged pull request #45793 → urh: 2.2.3 -> 2.2.4 → https://git.io/fAcLa
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAcc4
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
Ariakenom has joined #nixos
Denommus` has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAcCz
<{^_^}> [nixpkgs] @xeji merged pull request #45788 → enlightenment: 0.22.3 -> 0.22.4 → https://git.io/fAnhB
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « pythonPackages.bottleneck: get rid of warnings during tests »: https://git.io/fAcCr
jtx has quit []
periklis has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #37693 → treewide: Re-add reverted Nix 2 syntax features → https://git.io/vx87b
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to master: https://git.io/fAcWI
jperras has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xplat opened pull request #45799 → findlib: make #use "topfind" work → https://git.io/fAcWb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45800 → re2c: 1.0.3 -> 1.1 → https://git.io/fAclT
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
periklis has quit [Ping timeout: 260 seconds]
Rovanion has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
smolboye has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #45038 → module system: rework module merging → https://git.io/fNN98
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fAc86
alex`` has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
FRidh has quit [Remote host closed the connection]
chaker has joined #nixos
jbgi has joined #nixos
<chaker> Hey, What's the type of `nodes.machine` in nixops? Is't "machine"? Because I'm trying to add some configuration and even though I set the type of the resource option to `types.nullOr (types.either types.str (resource "machine"));` The evaluation of the deployment fail with "error: The option value `destination' in `<unknown-file>' is not of type `null or string or resource of type ‘machine’'."
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<kini> On https://nixos.wiki/wiki/NixOS_on_ZFS#Known_issues it says that as of march 2014, one shouldn't use a zvol as a swap device. But the arch wiki and the zfsonlinux project itself both seem to say this is fine to do. Was this a nixos-specific problem, or is our wiki just outdated?
chreekat has joined #nixos
<sphalerite> kini: not a nixos-specific problem. AFAIK it's still not recommended, I'd suggest asking #zfsonlinux. What's your source on "this is ok"?
chaker has quit [Ping timeout: 250 seconds]
<kini> Hmm. Here's a page on the zfsonlinux project wiki: https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-use-a-zvol-as-a-swap-device
<maurer> sphalerite: If you just google zfs, swap, you'll find instructions from zfsonlinux for putting swap on a zvol
<kini> There's no text on there saying that this is a non-recommended configuration
<maurer> I mean, the reason given as of 2014 was that zfs could deadlock under memory pressure
<kini> similar with https://wiki.archlinux.org/index.php/ZFS#Swap_volume , though that's not from the zfs project
<maurer> and I _think_ zfs's stability has improved since 2014, but I don't know about that specific problem
<{^_^}> [nixpkgs] @xplat opened pull request #45801 → lib: debian-style version comparison → https://git.io/fAcBM
<{^_^}> [nixpkgs] @xeji merged pull request #45798 → weston: 4.0.0 -> 5.0.0 → https://git.io/fAcsv
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « weston: 4.0.0 -> 5.0.0 (#45798) »: https://git.io/fAcBS
<sphalerite> oh yeah, there's also the bit where if you need swap you probably can't afford zfs ram-wise.All I know is hearsay though, I haven't tried it myself.
<kini> I'm trying to set up nixos on my new laptop, and I need to be using LUKS for policy reasons, so I'm wondering if I should just skip the LVM layer and directly give ZFS the LUKS volume. But then I'd need to put swap on a zvol, I guess, hence the question.
<sphalerite> Anyway, there shouldn't be any nixos-specific issues with zfs AFAIK
<sphalerite> kini: you could also have multiple LUKS volumes. For swap you don't even need a persistent key unless you use susepnd-to-disk, so no complication of adding a passphrase (just use a random key on each boot)
<sphalerite> s/adding a passphrase/unlocking multiple volumes on boot/
<kini> I will probably suspend-to-disk from time to time unfortunately
<sphalerite> then another option is a setup like I have — I have 3 luks partitions, one is the key for the other two
grp has joined #nixos
<sphalerite> or swap on zvol, but I've said what I know about that :)
<maurer> kini: Do you have multiple physical disks?
<kini> nope, just one SSD
<maurer> Do you have a remote zfs server you intend to use zfs send/recv with?
<kini> hmm, nope
<maurer> I would advise against ZFS
<maurer> It's great, and I use it
<maurer> but without multiple disks, send/recv, or a big ol' server to use dedup
<{^_^}> [nixpkgs] @caugner closed pull request #42363 → php: add imagick + mailparse support → https://git.io/f4D4B
<maurer> you're basically just buying checksumming at the expense of a lot of configuration arcana
<kini> What would you recommend instead? The main thing I like from what I've heard about zfs (I have yet to actually use it) is the snapshotting feature, which can be useful even if I don't send the snapshots anywhere
<maurer> How often do you want to take snapshots?
<maurer> If you only want to keep a couple around, LVM has a snapshot feature that should work fine
<maurer> If you do actually want to do, say, daily snapshots, then ZFS makes sense
<kini> probably on an exponential dropoff kind of schedule, i.e. daily for week, then weekly for a month, then monthly for a year, then yearly, or something like that
<maurer> OK, yeah, if you want that kind of schedule, ZFS is actually buying you something
<maurer> I just wanted to make sure you were going to get something for your configuration work
<sphalerite> maurer: I use zfs send/recv with an external USB disk
<kini> I mean, it's not essential but I've worked on NASes which had such a snapshotting schedule and it was nice to be able to go back in time to look for stuff that went missing :)
<maurer> sphalerite: Yeah, I listed send/recv as a benefit? My claim about a big'ol server was for deduping
<maurer> kini: My ZFS guy has informed me:
<sphalerite> yeah just that it doesn't need to be with a remote server :)
<maurer> it has no immediate known deadlocks, but a couple of eventual deadlocks that haven't been debugged because they happen infrequently.
<maurer> It's safe on illumos and FBSD, mostly safe on Linux unless you get into exciting memory pressure.
<maurer> So, if you're only using the swap to suspsend, you're probably fine
<maurer> if you want to use the swap in order to actually swap, you should probably avoid the zvol for safety
<gchristensen> the problem with that scenario is you always only use it to suspend until you don't :)
<kini> deduping seems to require more RAM than I have, and doesn't seem like it would buy me much in practice, though it sounds like a cool idea :) How many duplicated fs pages is the average desktop-class user going to really have, I wonder
<gchristensen> don't use dedup
<kini> maurer: yeah, I've definitely spilled over into swap when having too many tabs open in firefox before, so I guess I'll avoid the zvol...
<kini> LVM on LUKS it is
<{^_^}> [nixpkgs] @jtojnar pushed to master « deadbeefPlugins.infobar: init at 1.4 »: https://git.io/fAcRi
f0i has quit [Remote host closed the connection]
<sphalerite> kini: what about the multi-partition setup I mentioned?
<maurer> kini: Yeah, do not dedup on a non-server
<maurer> people keep turning it on and it's rarely what you want
<sphalerite> I'm not sure if it makes a noticeable difference in practice, but to me putting zfs in LVM feels icky :p
<maurer> gchristensen: when I used to use suspend-to-disk, my solution was that my suspend button ran swapon
<maurer> gchristensen: and resuming ran swapoff
<gchristensen> nice
<maurer> (I am opinionated on swap, and think that it should only be used for suspend or on servers)
<maurer> (I'd prefer my programs to just go down hard if they need memory and can't have it than for my system to thrash)
<kini> sphalerite: sounds cool, but a single unlockable LVM partition seems simpler to work with in practice :)
<maurer> kini: The other option you can consider is that LVM does have a snapshotting feature
<kini> maurer: but if zfs on linux breaks under "exciting memory pressure", then isn't a total lack of swap just as likely to cause problems as swap being on a zvol?
<sphalerite> kini: no, because then the OOM killer comes in. I think.
<fgaz> is there a read equivalent to writeText?
<maurer> kini: When it's swap, this means that you go to allocate more memory than you have
<maurer> then are in a memory pressure situation, and must perform a zfs write to resolve it
<fgaz> I'm trying to prepend a string to a file and put the result in the store
<maurer> fgaz: readFile
<kini> I see, the problem is that actually swapping out a page causes more memory pressure
<maurer> kini: Yeah. Basically, you need more memory than you have to perform the swap
<maurer> and you can get hung
<{^_^}> [nixpkgs] @xeji merged pull request #45432 → [staging]: texlive: 2017 -> 2018 → https://git.io/fAUKv
<{^_^}> [nixpkgs] @xeji pushed 11 commits to staging: https://git.io/fAc0n
<fgaz> maurer: oh. builtins.readFile. Thanks!
<kini> Maybe I'll try just not having swap, then... I don't run important long-term computations locally on my laptop anyway, so stuff getting OOM-killed should theoretically not bother me, but I guess I'll see how it goes :P
<kini> Unrelated question -- do people use NixOps to set up their desktop/laptop machines, or is it really only suitable for servers?
<sphalerite> fgaz: note that builtins.readFile is impure or may be a form of IFD (if you're reading from a store path). In the latter case, this means it's not allowed in nixpkgs and won't work well with remote builds
<maurer> I don't see anything that would _prevent_ it from working well for desktop/laptops, but I only use it for servers
<maurer> (re: nixops)
<kini> I figured that if I'm trying to manage my whole system via declarative configuration, it would be nice if I could set up low level stuff like the partition table, LUKS, etc. declaratively as well, but maybe that's going overboard
<maurer> So, _that_ stuff nixops can't do for non-cloud systems
<maurer> nixops on bare metal works under the assumption it can ssh in and switch
<sphalerite> kini: understandable! https://github.com/NixOS/nixpkgs/pull/21403
<{^_^}> #21403 (by aszlig, 1 year ago, open): [WIP] NixOS integration of nixpart
<maurer> Yeah, as sphalerite pointed out, that would be cool, but belong in nixos, not nixops
<aszlig> maurer: that was specifically also for nixops
<maurer> Oh, I see
<aszlig> maurer: it's used there already
<aszlig> maurer: but the monkey-patched ugly version 0.4
<maurer> Wait, can I repartition a ssh-targeted machine through nixops now?
simukis has quit [Quit: simukis]
<sphalerite> I doubt it
<aszlig> maurer: not yet
<maurer> Well, thanks for your work.
<sphalerite> it would need to boot switch root into a tmpfs and stuff to do that
<sphalerite> possible, but fiddly to say the least
<aszlig> maurer: but yeah, i intend to pick up work on 1.0 the upcoming month
<maurer> Pivoting onto a ramdisk is not the end of the world
simukis has joined #nixos
<maurer> it is finicky though
<sphalerite> and when it goes wrong the real pain begins :p
<aszlig> maurer: you could kexec into a systemd with initrd and do the partitioning there if kexec is available
<kini> if one could require the user to manually boot into a ramdisk environment with sshd, then I guess it should be possible (?)
<aszlig> s/systemd/system/
<sphalerite> aszlig: I don't think kexec is necessary really?
<sphalerite> kini: you don't need to boot into it initially, you can switch root from a running system as well
<aszlig> sphalerite: it's only necessary if you want to repartition the currently running system
<kini> ah, didn't realize that
<sphalerite> aszlig: good point!
<sphalerite> aszlig: did I hear blue-green boot?
<maurer> aszlig: What goes wrong if you just pivot root rather than kexec?
<aszlig> clever has done some work on this
<sphalerite> aszlig: but my point was that you don't need to kexec, you can keep the current kernel and just switch roots and unmount all the normal filesystems
<aszlig> sphalerite: that could work in theory as well
<sphalerite> as long as your init supports it. systemd has systemctl switch-root for it
<aszlig> sphalerite: sorry for not reading carefulle, not yet fully awake X-D
<aszlig> s/ulle/ully/ - i really should properly boot, ttyl :-D
jperras has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45802 → plantuml: 1.2018.9 -> 1.2018.10 → https://git.io/fAcEw
<sphalerite> no worries :D happy booting
sibi_ has joined #nixos
smolboye has quit [Read error: Connection reset by peer]
smolboye has joined #nixos
Thra11 has quit [Ping timeout: 240 seconds]
<mpickering> Has anyone run selenium in nix-build before? Is this even possible?
<mpickering> I should have just strung together my nix scripts with a makefile
<{^_^}> [nixpkgs] @rycee pushed commit from @arcadio to release-18.03 « nixos: stumpwm: switch from package marked as broken to working quicklisp package (#40501) »: https://git.io/fAcuz
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45803 → pspg: 1.3.0 -> 1.4.2 → https://git.io/fAcua
cryptix has joined #nixos
<cryptix> can somebody tell me how what constitues a `nix channel`? I want to package some software apart from the nixpkgs tree. I tried nixpkg overlays but it looks like this is more usefull to override paramteters of other pkgs in the channel
<ldlework> i feel like channels are an underbaked feature
orivej has joined #nixos
<cryptix> ldlework: not the kind of encouragment I was hoping for but still good to know.. : )
<ldlework> cryptix: you can just make a nix expression that exports an attrset containing a bunch of derivations
<ldlework> that is pretty easy to use by people with things like fetchFromGithub, etc
timj has joined #nixos
<samueldr> ldlework: could you explain a bit how they are underbaked?
<ldlework> samueldr: everyone ends up pinning nixpkgs anyway
balsoft is now known as balsoft[away]
balsoft[away] is now known as balsoft
<samueldr> ldlework: channels are not necessarily for a full nixpkgs checkout
<ldlework> i don't know what that means
<ldlework> but i just notice that not many people are using channels
<samueldr> you can use concurrent channels with different sources
<samueldr> but the main issue is that there aren't much tooling (that I know of) around making custom channels
<ldlework> so underbaked.
<samueldr> right now most consumers of channels make them using a hydra server
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45804 → pulseeffects: 4.2.8 -> 4.3.1 → https://git.io/fAcza
<gchristensen> all you need for a custom channel is a tarball
<ldlework> a tarball of what
<gchristensen> `man nix-channel` describes the format and how to make one
<gchristensen> not sure how you conclude it is underbaked?
rfold has joined #nixos
<samueldr> gchristensen: nix-push (I think) in the past could be used to create the manifest and files; does `nix copy` create them?
<samueldr> (I'm basing this on way old comments on an issue)
<gchristensen> as far as I know, nix-push wouldn't create a channel, no
<gchristensen> a channel is just a tarball of nix exprs
<sphalerite> samueldr: nix-push was for creating binary caches
<sphalerite> nix copy does that nowadays
<ldlework> I just don't see many (anyone) using them really.
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/fAcgL
<{^_^}> [nix] @edolstra merged pull request #2371 → nix-upgrade: resolve profile symlinks → https://git.io/fAmLa
<sphalerite> ldlework: a whole bunch of people use channels for their nixos!
<sphalerite> I do myself
<gchristensen> indeed!
<infinisil> Yeah, I'd think about 99% use the channels
<sphalerite> also channel:nixos-unstable and friends are really handy
<gchristensen> I use channels to distribute software to users inside a big company.
<samueldr> gchristensen, sphalerite (never made my own channel) "A Nix channel is just a URL that points to a place that contains a set of Nix expressions and a manifest" from https://nixos.org/nix/manual/#sec-channels
<infinisil> A bit less people use nix-channel though, but still the channels commits
<ldlework> sure, people use it for the nixos...
<ldlework> kinda misses the thrust of my statement
<ldlework> but i'll shutup, channels are great and popular!
<sphalerite> no I'll agree they're not great!
trcc has joined #nixos
<infinisil> sphalerite: I mean, the channels themselves are pretty good, just not nix-channel, right?
<cryptix> i tried to read man nix-channel but I still have no idea what should go into the default.nix for it
<sphalerite> infinisil: I'm not sure about that bit
<infinisil> sphalerite: What's bad on channels themselves? It's really just a set of releases in shorter intervals
<fgaz> Anyone knows how to get the nixos containers to connect to the internet? I set up networking.nat as described in the manual but still nothing :-/
<sphalerite> infinisil: ideally channels.nix.gsc.io wouldn't be necessary
<ldlework> apparently, gchristensen thinks that my observation about nix-channels is purely to tear down an important and valued feature of nix and that my "jab" didn't land very well
<infinisil> sphalerite: Ah yeah, I'll attribute that deficiency to git
<ldlework> and that they've recieved "numerous" complaints about my contributions here
<ldlework> well, those are over
<ldlework> gchristensen: hope that was your intention
<sphalerite> fgaz: nothing meaning? What does `ip a` say inside and outside the containers? Can you show us the relevant bits of your config?
<cryptix> oh wow.. looks like I kicked a hornet nest
<ldlework> (I have only ever tried to contribute to the thinking around nix's rough edges as a user, nix something I absolutely love and spend all my time on - no I'm just a bad faith actor trying to tear it down)
<ldlework> cryptix: i was just trying to give you my impression - my mistake
<cryptix> ideally I just want to supply a hand full of packages and software and coordinate with some people until we are comfortable with supplying them to manline nixpkgs.. but maybe we will just live on some branch of nixpkgs and rebase ourselfs crazy? o_o
<sphalerite> cryptix: you don't really need to make a "true channel" — you can do something as simple as putting a default.nix in your repo and telling your users to `nix-env -f https://github.com/lheckemann/numptyphysics/archive/master.tar.gz -i`
<infinisil> Yes ^^^ Nix makes it so easy to do stuff like that
Denommus has joined #nixos
<infinisil> There was even some one-click install support for Nix packages, I wish we'd have something like that still
<cryptix> aah interesting, didn't know that worked as well.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9527b016e7a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<sphalerite> infinisil: not sure I'm a fan of that as it was, since it had no facilities for updating at all AFAIK
<infinisil> sphalerite: Ah, might need some reworking then
<cryptix> so I oculd have a `all-packages/default.nix` like thing and add more packages to the repo... I think I got down the wrong rabbit whole when looking into nixpkg-overlays
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to python-unstable: https://git.io/fAcaI
<fgaz> sphalerite: the container is empty (nixos-container create)
<sphalerite> fgaz: prefix length looks wrong. Container thinks it can only talk to itself on the interface
<sphalerite> fgaz: likewise for the host
<sphalerite> you probably want /24 rather than /32
<sphalerite> that way all of 10.233.2.* will be reached via that interface
<sphalerite> you'll also want the default route to be via 10.233.2.1 in the container
Denommus has quit [Remote host closed the connection]
<fgaz> sphalerite: ip route tells me "via 10.233.2.1" already (no idea if that's what you mean, first time doing this stuff)
<gchristensen> cryptix: a tarball with a default.nix in the root is how a channel is formed :)
<fgaz> sphalerite: could you give me a few pointers on how to do that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45805 → powerdns: 4.1.3 -> 4.1.4 → https://git.io/fAcVZ
<cryptix> okay one more question then: is there a good overview or example of _what form_ that root default.nix should have? maybe i need to swollow more nix pills but I'm still getting confused by lazy evaluation... some of my nix code works for nix-shell others only for nix-build/nix-env and when I try to put it all together it mostly just burns down with confusing errors
work_ has quit [Quit: Connection closed for inactivity]
v0|d has quit [Remote host closed the connection]
Adluc has joined #nixos
tilpner has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.cairocffi: remove superfluous patch »: https://git.io/fAcwB
civodul has joined #nixos
<tilpner> I have a case where a "nix copy"ed file on the destination does not match the source file. How do I force a retransmission? cc clever, I talked about this a few times
kenshinC1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed 89 commits to staging-next: https://git.io/fAcwH
<infinisil> tilpner: You could just delete it on the target
<tilpner> infinisil - How? Last time I tried, I killed the entire server and had to reinstall
<infinisil> nix-store --delete
<tilpner> It's still live
<Dezgeg> maybe nix-store --repair-path
<tilpner> And --ignore-liveness kills things
<infinisil> Oh so you copied it over and are already using it?
<tilpner> Now I could redeploy with the service disabled, so that it's dead, but that's ugly
<Dezgeg> but maybe you should first see what/why it differs so the bug can be figured out
<tilpner> infinisil - A systemd service depends on it
<tilpner> Dezgeg - It happens more frequently with a bad connection
<tilpner> A few hours ago, I did a nix copy on wifi, maybe that caused it
masterdonx has joined #nixos
<tilpner> Dezgeg - Oh, and --repair-path doesn't work. Destination has no idea how to rebuild it
<Dezgeg> yes but what are the differences? a bit flip? missing file? zero-byte file?
<tilpner> Hash differs, file length matches
grumble has quit [Quit: brb]
<Dezgeg> diff the hexdump -C of it or something like that
<{^_^}> [nixpkgs] @dotlambda pushed 37 commits to python-unstable: https://git.io/fAcrT
orivej has quit [Ping timeout: 252 seconds]
<infinisil> nix copy should have a feature to verify that no errors were transmitted
<infinisil> And try again if there were errors
trcc has quit [Remote host closed the connection]
<tilpner> It's a fairly small diff, the differences are concentrated in a few parts
<{^_^}> [nixpkgs] @xplat opened pull request #45806 → opam: 1.2.2 -> 2.0.0 → https://git.io/fAcrn
trcc has joined #nixos
<tilpner> Dezgeg - Diff here, but it's not going to help with finding out why it happens: https://tx0.co/1Y
trcc has quit [Ping timeout: 240 seconds]
<Dezgeg> huh that's a ton of changes indeed
jfo has joined #nixos
<Dezgeg> maybe if you copy the .drv to the destination machine nix-store --repair-path starts working (by rebuilding)
<tilpner> The full hexdump is 115M, this is just 1.3M
<tilpner> So *fairly* few differences
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAcrX
<{^_^}> [nixpkgs] @timokau merged pull request #45803 → pspg: 1.3.0 -> 1.4.2 → https://git.io/fAcua
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45807 → nfs-utils: 2.1.1 -> 2.3.2 → https://git.io/fAcrH
<tilpner> Dezgeg - I can't seem to copy the drv, it's ignoring it
<{^_^}> [nixpkgs] @markuskowa opened pull request #45808 → Add licenses → https://git.io/fAcrd
<Dezgeg> right, maybe nix copy can't copy them... nix-copy-closure at least can
<tilpner> Indeed
<tilpner> Not sure what I expected
<tilpner> --repair-path now says "checking path", no errors or warnings
<tilpner> But it doesn't rebuild anything
<tilpner> And how would it know, it's not a fixed-output derivation
jtojnar has quit [Remote host closed the connection]
<Dezgeg> the database maintains a hash of the contents
<{^_^}> [nixpkgs] @timokau merged pull request #45794 → wallabag: 2.3.2 -> 2.3.3 → https://git.io/fActB
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAcoO
<tilpner> Dezgeg - I don't expect the database to sync when I copy a drv closure though
grumble has joined #nixos
<Dezgeg> no but the hash should have been copied when the original copy was made
Xal has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « octoprint: pin pylru to 1.0.9 »: https://git.io/fAcoK
Thra11 has joined #nixos
<tilpner> That can't be right...
<tilpner> I just checked the db on each side, the hash differs
jtojnar has quit [Remote host closed the connection]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<tilpner> Dezgeg - How certain are you that the hash is copied, and not just recomputed on the receiving side?
<Dezgeg> well no, I am not certain
rfold has quit [Ping timeout: 245 seconds]
<Dezgeg> case wopAddToStore: calls LocalStore::addToStore() which has a check like: throw Error("hash mismatch importing path '%s'; expected hash '%s', got '%s'",
jtojnar has joined #nixos
grumble has quit [Quit: grumble]
grumble has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
ldlework has left #nixos ["WeeChat 2.0"]
hyper_ch has joined #nixos
balsoft has quit [Ping timeout: 240 seconds]
<tilpner> Hmm, commited 2018-03-16, while 2.0.4 was released 2018-05-31
wpcarro has joined #nixos
TheAceOfHearts has quit [Quit: TheAceOfHearts]
<wpcarro> I'm currently trying to read someone else's .nix file to understand how I can port my Emacs to nix. I'm having trouble understanding things things like `emacsPackagesNg`, `emacsWithPackages`, `autostartEmacsDaemon`.... where can I look to learn more about these things? I think at this stage, I'm just not sure how I can help myself, but I'm eager to learn
<wpcarro> I'm working through 8 and the 20 Nix Pills, and I'm comfortable with the Nix language itself. Just trying to figure out how to navigate the ecosystem...
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.natsort: no pyflakes and pep8 checks »: https://git.io/fAciv
<wpcarro> I've tried searching online for a starter guide to porting something like a Vim config or Emacs config to Nix, but to no avail...
<{^_^}> [nixpkgs] @lsix opened pull request #45809 → gnupg22: 2.2.9 -> 2.2.10 → https://git.io/fAcik
<{^_^}> [nixpkgs] @xeji closed pull request #45807 → nfs-utils: 2.1.1 -> 2.3.2 → https://git.io/fAcrH
<vaibhavsagar> wpcarro: it doesn't sound like this is well documented, so you might need to look at the source of nixpkgs to learn more
sphalerit has joined #nixos
<vaibhavsagar> either that or ask someone who is well-versed in the emacs nixpkgs stuff to explain it to you
<wpcarro> vaibhavsagar: happy to do that. What's the best way to do that? The other day I cloned the repo and grepped it locally...
<wpcarro> But that felt suboptimal
<sphalerit> fgaz: sorry for disappearing, back now
<vaibhavsagar> that's pretty good, I often google "nixpkgs <blah>" too
<wpcarro> ok so I'm not crazy... that's good
<wpcarro> thanks for the pointers
<vaibhavsagar> I'm not aware of any Nix tags tools
<wpcarro> for like goto-definition etc?
<vaibhavsagar> yeah
<wpcarro> that'd be fantastic
<wpcarro> idk how it'd be version resolution, but that sounds awesome
<sphalerit> fgaz: I don't actually know much about nixos containers, could you paste your relevant config as well?
<wpcarro> vaibhavsagar: so are all of the files listed here available in camelCase form within a .nix file?
<sphalerit> vaibhavsagar: wpcarro: jDsomething has a project to do a nix parser in rust which seems to be going in the direction of an LSP server for it
<wpcarro> things like haskellPackages, emacsPackages look familiar to me
<wpcarro> sphalerit: two things I love: Rust, LSP
<vaibhavsagar> sphalerit: I think HNix might eventually help here
<{^_^}> [nixpkgs] @xeji merged pull request #45808 → Add licenses → https://git.io/fAcrd
<{^_^}> [nixpkgs] @xeji pushed 16 commits to master: https://git.io/fAci7
grp has quit [Remote host closed the connection]
<wpcarro> might help if a base parser written using a PEG or something could be shared b/w the C++ codebase and the Rust project
grp has joined #nixos
<infinisil> I might soon have a go with creating a nixpkgs indexer, it's actually very with my deprecation RFC I'm writing
<wpcarro> Also trying to figure out how Nix chooses which version of Emacs to even use from a .nix file... doesn't look like any of the examples I've looked at specifiy
<infinisil> wpcarro: emacsPackagesNgGen is the most general function: It takes an emacs package as the first argument and a set of packages as the second argument. It creates a set of emacs packages for that emacs version
<fgaz> Linus: well, it's literally an empty container, so there isn't much to paste
<infinisil> wpcarro: emacs*PackagesNg is just the first argument applies, e.g. emacs25PackagesNg is emacsPackagesNgGen with emacs25 passed to it
<infinisil> wpcarro: And emacs*Packages is with the second argument passed as well
jbgi has quit [Ping timeout: 240 seconds]
<infinisil> The former 2 exist for when you want to do emacs customization
<wpcarro> infinisil: interesting... so emacsPackagesNgGen takes an argument like emacs25, which is a nix package hosting an Emacs version, and then resolves the set of packages to that version?
<infinisil> wpcarro: Something like that, I don't know the details
<wpcarro> infinisil: if so, that makes a lot of sense
<wpcarro> All I'm trying to do atm is write some .nix file that allows me to start a nix-shell that has emacs in it with one package...
<wpcarro> I figure if I can do that, I can eventually port my entire config
<{^_^}> [nixpkgs] @vincentbernat opened pull request #45810 → nixos/nginx: ensure TLS OCSP stapling works out of the box with LE → https://git.io/fAcXL
<infinisil> wpcarro: A good way to find the source of stuff (that's how I found this out), is to use ripgrep in nixpkgs, e.g. `rg 'emacsPackages = '` to find the definition of emacsPackages
jbgi has joined #nixos
<infinisil> wpcarro: Ah, yeah hold on
<fgaz> sphalerite: oops, I used your matrix display name. There are two messages up there
<wpcarro> infinisil: good idea. I did that the other day to find out `meta = ` stuff for docs. I may write a bunch of cheap shell helpers to query this stuff
<{^_^}> [nixpkgs] @Nadrieril opened pull request #45811 → nixos/usbguard: ensure the audit log file can be created → https://git.io/fAcXs
balsoft has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45812 → mkvtoolnix: 25.0.0 -> 26.0.0 → https://git.io/fAcXZ
<infinisil> wpcarro: Oh wait, I actually confused 2 functions there, emacsPackagesGen is the one taking 2 args
<infinisil> And now I'm confused myself, what the Ng thing does..
<infinisil> Oh well
<wpcarro> infinisil: no worries. The basic mechanism for how that was resolved was what I was interested in know
<wpcarro> just that *somewhere* the version was specified
<fgaz> sphalerite: I use networkmanager, so I added the last line too
<infinisil> wpcarro: So to get an emacs with some packages, you can do `pkgs.emacsWithPackages (p: [ p.foo p.bar ])`
<wpcarro> infinisil: and that'll do the LTS emacs or something?
<infinisil> wpcarro: Look at the definition of emacsWithPackages in nixpkgs (pkgs/top-level/all-packages.nix)
<infinisil> It's defined as `emacsPackagesNg.emacsWithPackages`, which in turn is defined as `emacs28PackagesNg.emacsWithPackages`
<infinisil> Will get updating in nixpkgs with the most recent stable emacs version
<pie_> anyone know anything about running "native" discord
<pie_> its some kind of electron junk
<wpcarro> infinisil: interesting... ok. I think I'll write a few shell helpers to introspect my local nixpkgs
johnw_ is now known as johnw
<infinisil> wpcarro: There's actually also a nix function for getting the location of attributes, doesn't always work as one would hope though
<infinisil> > builtins.unsafeGetAttrPos pkgs "emacsWithPackages"
<{^_^}> value is a set while a string was expected, at (string):171:1
<infinisil> > builtins.unsafeGetAttrPos "emacsWithPackages" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/state/nixpkgs/pkgs/top-level/all-packages.nix"; line = 15943; }
<wpcarro> ah so I'd run stuff like that from within a nix-repl?
<infinisil> wpcarro: Yeah, or via nix-instantiate --eval -E '1 + 2' (that evals nix)
Xal has joined #nixos
<infinisil> Or nix eval '(1 + 2)'
justbeingglad has joined #nixos
<fzer00> Hello everyone, new NixOs user here. I have a question about installing python libraries and am getting more unconfident that i know how to do it the more i read. The example in the manual (https://nixos.org/nixpkgs/manual/#python) says to create a seperate .nix file. Can anyone share an example with many libraries?
justbeingglad has left #nixos [#nixos]
<fzer00> Second question. Would you build out the same sort of package ecosystem declaration for a language like ELM as you would with python?
das_j has joined #nixos
jbgi has quit [Ping timeout: 240 seconds]
<wpcarro> infinisil: thanks so much
<wpcarro> infinisil: just tried to run this: nix-instantiate --eval -E 'builtins.unsafeGetAttrPos "emacsWithPackages" pkgs' but got an error about pkgs not being available
<wpcarro> I imagine that's because it isn't globally available like it was in the repl you ran it on in here?
<{^_^}> [nixpkgs] @dasJ opened pull request #45813 → nixos/dhcpcd: Expose less information to servers → https://git.io/fAcMe
<JonReed> fzer00: What do you mean by "many libraries"? There is already an example there.
<JonReed> fzer00: You can drop into an environment by either using a command like `nix-shell -E "with import <nixpkgs> {}; python.withPackages (ps: with ps; [ numpy toolz ])" `
<JonReed> fzer00: Or having the same expression as .nix file and calling nix-shell on it
<fzer00> JonReed: the manual says that you can list numpy an toolz like that because they are in the nix package repos, but that isn't the same whay i would do it if i wanted a python package like dash (https://pypi.org/project/dash/), is it?
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.h5py: disable tests »: https://git.io/fAcMc
johanot has quit [Quit: leaving]
<JonReed> fzer00: You would have to add those packages to nix first. E.g., https://gist.github.com/LnL7/7686899026e9bc5839b041782c5e0ac3
<LnL> heh, where did you find that :p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45814 → mdds: 1.3.1 -> 1.4.1 → https://git.io/fAcMX
<JonReed> LnL: :)
<fzer00> JonReed: Thank you for the example. So LnL is adding this information in his mixpkgs definition, but this doesn't necessarily mean it has to be added to the NixStore (not local store), right?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a37638d4670 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45815 → libtirpc: 1.0.3 -> 1.1.4 → https://git.io/fAcDf
<fzer00> I do see some python packages like requests in the nix package server.
<LnL> yeah, there are a decent amount of python packages in nixpkgs but we don't have everything
lucus16 has joined #nixos
<JonReed> fzer00: You can add it to your global nixpkgs, you would have to use a local git clone for it. So, you would clone a repository, add a package somewhere at this location https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/python-packages.nix and then use that new repo
<fzer00> LnL: that gist was yours, right? if so, this means that you are building the package dynamically and it may or may not be in NixPackages, right?
simukis has quit [Quit: simukis]
v0|d has joined #nixos
<LnL> yeah, those 2 I defined are not (or where not at the time)
<LnL> but all their dependencies already existed
<wpcarro> Is there a good way to hide a directory from nix-shell? I'm trying to sandbox but a lot of my existing packages are leaking through
<wpcarro> I tried the --pure option, but that didn't seem to work
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45816 → minizinc: 2.1.7 -> 2.2.0 → https://git.io/fAcDr
<fzer00> JonReed: I think i understand now. It looks like Python and Haskell have good representation on NixPackages, but what would you do with ELM, Clojure, etc?
<JonReed> fzer00: You can check how support is implemented by browsing nixpkgs repo
<JonReed> fzer00: Then possibly add packages you need at some place like https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/elm/packages/elm-elm.nix
sibi_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45817 → lightdm: 1.26.0 -> 1.28.0 → https://git.io/fAcyn
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a37638d4670 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @jglukasik opened pull request #45818 → ipfs-cluster: init at v0.5.0 → https://git.io/fAcSU
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
Thra11 has quit [Ping timeout: 252 seconds]
zack_moe_ has quit [Quit: zack_moe_]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45819 → mdp: 1.0.13 -> 1.0.14 → https://git.io/fAcSS
TheAceOfHearts has joined #nixos
drakonis_ has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
<sphalerit> fgaz: sorry my internet is really patchy so I haven't been able to get through
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerit> fgaz: I can have a look at what we've got tomorrow, but for tonight I need some sleep
TheAceOfHearts has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #45820 → treewide: Dont use obsolete platform aliases → https://git.io/fAc9i
balsoft is now known as balsoft[away]
TheAceOf_ has joined #nixos
TheAceOf_ is now known as TheAceOfHearts
<fgaz> sphalerite: sure, it's late here as well anyway. Thanks for the help!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45821 → libircclient: 1.9 -> 1.10 → https://git.io/fAcHJ
<{^_^}> [nixpkgs] @Mic92 opened pull request #45822 → doc/python: convention for attributes names → https://git.io/fAcHG
<{^_^}> [nixpkgs] @xeji merged pull request #45747 → ocamlPackages: default to 4.06 → https://git.io/fAGD6
<{^_^}> [nixpkgs] @xeji pushed 46 commits to master: https://git.io/fAcHW
jfo has quit [Ping timeout: 250 seconds]
vaibhavsagar has quit [Ping timeout: 245 seconds]
grp has quit [Quit: box shutting down...]
<{^_^}> [nixpkgs] @jtojnar merged pull request #45804 → pulseeffects: 4.2.8 -> 4.3.1 → https://git.io/fAcza
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fAcHM
kiloreux has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #45823 → lightdm: 1.26.0 -> 1.28.0 → https://git.io/fAcQt
kisik21 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45824 → libivykis: 0.42.2 -> 0.42.3 → https://git.io/fAcQo
HarpoRoeder has joined #nixos
filterfish_ has quit [Ping timeout: 240 seconds]
bigvalen has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #45817 → lightdm: 1.26.0 -> 1.28.0 → https://git.io/fAcyn
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45825 → libconfuse: 3.2.1 -> 3.2.2 → https://git.io/fAcQN
<kiloreux> I have a question about the passthru param. I have checked through docs but still failing to understand how I can take advantage of this line https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/opencv/default.nix#L85
hamishmack has joined #nixos
<kiloreux> I installed all my python depencies through pypi2nix. And was hoping I could take advantage of that param to add opencv to that installation
<kiloreux> since pypi2nix can't download wheels.
joehh has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45823 → lightdm: 1.26.0 -> 1.28.0 → https://git.io/fAcQt
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fAc7E
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45826 → kid3: 3.6.1 -> 3.6.2 → https://git.io/fAc7z
<clever> kiloreux: passthru is basically the same as (stdenv.mkDerivation { ... }) // { foo = "bar"; }
<clever> it allows you to do .foo on the derivation to get the value, but the derivation itself has no clue its there, the value wont impact the computation of $out, and it doesnt have to be a flat string
justanotheruser has quit [Quit: WeeChat 2.0]
justanotheruser has joined #nixos
<kiloreux> I see. So if I want to include opencv with my python custom derivation (that has my other packages). I just have to include the pythonPath there for my derivation ?
balsoft[away] has quit [Ping timeout: 252 seconds]
<clever> kiloreux: probably
jabranham has quit [Remote host closed the connection]
kisik21 has joined #nixos
das_j has quit [Quit: WeeChat 2.1]
<{^_^}> [nix] @cleverca22 opened pull request #2383 → fix `error: unknown serve command 9` → https://git.io/fAc5r
JonReed has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @xeji pushed to staging « cmake_2_8: fix build, restore search-path.patch »: https://git.io/fAcdU
erasmas has quit [Quit: leaving]
HarpoRoeder has quit [Remote host closed the connection]
Acou_Bass has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45827 → itk: 4.13.0 -> 4.13.1 → https://git.io/fAcd6
TheAceOfHearts is now known as TheAceOfHearts_
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @renatoGarcia opened pull request #45828 → Snakemake → https://git.io/fAcFG
endformationage has quit [Quit: WeeChat 1.9.1]
Acou_Bass has joined #nixos
__monty__ has quit [Quit: leaving]
teej has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
ericsagnes has quit [Ping timeout: 250 seconds]
h30 has quit [Quit: WeeChat 2.1]
Forkk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
TheAceOfHearts_ has quit [Quit: TheAceOfHearts_]
Forkk has joined #nixos
kisik21 has quit [Ping timeout: 240 seconds]
h30 has joined #nixos
joehh has joined #nixos