Guest37084 has joined #nixos
r0bby has joined #nixos
bitchecker has quit [(Ping timeout: 240 seconds)]
Bane^ has quit [(Ping timeout: 260 seconds)]
themistocle has quit [(Ping timeout: 258 seconds)]
steshaw has quit [(Ping timeout: 258 seconds)]
bitchecker has joined #nixos
CodingWithClass has joined #nixos
cnu- has joined #nixos
alphor has joined #nixos
nckx has joined #nixos
Bane^ has joined #nixos
sjourdois has joined #nixos
astronavt has quit [(Quit: Leaving...)]
astronavt has joined #nixos
steshaw has joined #nixos
themistocle has joined #nixos
<Acou_Bass> andi-: i have a GPD Win, uses the same kernel as the Pocket (but I've not tried Nixos on it yet)
x1n4u has joined #nixos
<Acou_Bass> but thats really awesome, that overlay someone linked - thats exactly the linux kernel i use (on another distro) so id expect it to work just as good on nixos assuming all the same settings were applied
Wieke[m] has joined #nixos
rummik has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
cybrian has joined #nixos
erasmas has quit [(Quit: leaving)]
jensens has quit [(Ping timeout: 250 seconds)]
ericbmerritt_ has quit [(Ping timeout: 258 seconds)]
philipcristiano has quit [(Ping timeout: 258 seconds)]
philipcristiano has joined #nixos
ericbmerritt_ has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
sary has quit [(Quit: leaving)]
sary has joined #nixos
ma27 has quit [(Ping timeout: 276 seconds)]
gerschtli has quit [(Ping timeout: 248 seconds)]
gerschtli has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
Lisanna has quit [(Ping timeout: 260 seconds)]
digitus has quit [(Quit: digitus)]
vandenoever has quit [(Quit: ䷴៚)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
dbmikus__ has joined #nixos
cnu- has quit [(Ping timeout: 255 seconds)]
cnu- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vbENr
<NixOS_GitHub> nixpkgs/staging 62cd4f1 Will Dietz: clang_multi: fix incorrect leftover use of "callPackages"...
<NixOS_GitHub> nixpkgs/staging a1471bb Orivej Desh: Merge pull request #32571 from dtzWill/fix/clang_multi-callPackages-meta...
NixOS_GitHub has left #nixos []
vandenoever has quit [(Ping timeout: 248 seconds)]
jb55 has quit [(Ping timeout: 260 seconds)]
Synthetica has quit [(Quit: Connection closed for inactivity)]
kreisys has quit [(Quit: Textual IRC Client: www.textualapp.com)]
dbmikus__ has quit [(Quit: WeeChat 1.9.1)]
erictapen has joined #nixos
<samueldr> Acou_Bass: not the same config, it's the "all yes" config that nixos uses
<samueldr> it *should* give the same results, from what I've seen
<samueldr> (with one or two tweaks since one of the patches in the repo stopped a module from being built as a module)
<samueldr> the config shipping in the repo is built upon fedora's default config
<Acou_Bass> ahh OK i didn't know that :P but still cool to see a nix overlay for it
<samueldr> it *might* not build as-is, as they're often rebasing the patches
<Acou_Bass> right
<samueldr> that's why I previously shyed away from sharing
<samueldr> the way I fix it, go to the repo, pick the most recent commit, fix sha256, generally it works, unless upstream upgraded the version
<Acou_Bass> i built the kernel from git for a while on arch ( using the repo config) until i discovered there were prebuilt ones available,
<Acou_Bass> never hit any issues building it aside from time wasted because the GPD Win isn't the fastest thing ever for compiling :D
<samueldr> I know the pain
<samueldr> --build-host for nixos is a godsend
<Acou_Bass> oh yeah didn't think of that (i used distcc on arch but my desktop runs Nixos now so can't use that)
<samueldr> (and the shared configs makes me save bandwidth)
<Acou_Bass> would be interested in trying it at some point, but quite happy with arch for now ( despite it being Linux i still play games on it so having latest Mesa and stuff is really handy)
<clever> Acou_Bass: for weak devices, i tend to use nixops to manage them
<clever> push based deployments, rather then pull based
<clever> this manages a pair of netbooks
obadz has quit [(Ping timeout: 268 seconds)]
hellrazor has joined #nixos
isaac__ has joined #nixos
<Acou_Bass> huh
<Acou_Bass> so what, it build it on your big machine then basically copies it to the small machine and deploys it? that's cool (I've never used nixops so that's interesting!)
<clever> yep, exactly
<Acou_Bass> sweet
<clever> also, neither of those machines started out in any "sane" state
<clever> the first one was gentoo, i installed nix with the curl script, then i used nix-build to build a copy of nixos within /nix/store/
<clever> then i just forcibly ran the script to update the nixos bootloader!
<samueldr> nice
<Acou_Bass> hehe
<Acou_Bass> can i cross-compile too? like could i build for an arm device using that?
<clever> half of nixos broke, because of gentoo binaries and config
<clever> it will need an arm build slave to do the building for it
<Acou_Bass> ah, no cross compiling? :(
<clever> or at least, something that can run un-modified arm binaries
<Acou_Bass> still a really good idea
<clever> this derivation lets an x86 machine run arm binaries :P
<Acou_Bass> hmm
<clever> and the nix on line 12 has been modified, so you can convince it to run arm binaries on a non-arm machine
<samueldr> I used that again yesterday btw
<Acou_Bass> using qemu to emulate arm. Then building inside the vm?
<clever> its not a full vm
<samueldr> qemu-user uses the host's kernel
<clever> yeah
<Acou_Bass> ohh
<clever> it emulates things on a per-process basis
<Acou_Bass> very handy then :D
<samueldr> yes it is
<clever> so you just run an arm ELF file, and it works
<clever> and thanks to nix, you can have arm and x86 glibc's instaled at the same time
<clever> so you dont even need a chroot
<samueldr> don't expect miracles though, it's still slow, a full kernel builds goes from ~20 minutes (x86 on x86) to ~4 hours (armv7 on x86)
<Acou_Bass> I'll need to look into this further... i could use my nix desktop to deploy to both my nix laptops *and* my nix Pi xD
<Acou_Bass> xD
<Acou_Bass> hmm
<samueldr> but, still better than the I/O starved board that used to take 17 hours
<clever> you also gain the ability to spread jobs over every x86 machine in the house
<Acou_Bass> suppose most packages don't need to be built anyway
<Acou_Bass> yeah
<Acou_Bass> that's why i like distcc, just run it on everything heh
<samueldr> raspi 3 can use nixos' aarch64, but raspi 1 and 2 need to use armv6/7, depending, and there's no upstream builds
<Acou_Bass> yeah I've been using aarch64 on my pi3, there are upstream build for nixos-unstable but not stable channels
<Acou_Bass> and i sorta feel like using nix on unstable defeats the point of using it for a server which is what my Pi does xD
<samueldr> unstable can be seen as "configuration options might change without warning"
<Acou_Bass> yeah
<samueldr> but nixos, to the rescue, allows rollbacks
<samueldr> it's not *that* bad on servers
<Acou_Bass> and really all i want my server to do is sit there and update from the same configuration.nix
erictapen has quit [(Ping timeout: 248 seconds)]
<samueldr> though, I'm guessing that the reason there's no stable builds yet is that it's still a new infra
<Acou_Bass> yeah definitely not, it's not unstable to the point of insane breakage, but I'd prefer to run stable channel if possible
<samueldr> let's hope for 18.03
<Acou_Bass> :D
<samueldr> (I too would prefer to track -stable)
erictapen has joined #nixos
<Acou_Bass> wouldn't mind using unstable on my desktop/gpd for reasons outlined above, but for server stable is preferred :D
evangeline has quit [(Ping timeout: 240 seconds)]
<Acou_Bass> now all i need to do is bootstrap nixos onto my phone from sailfishOS then nixops can handle everything!!
ajp_ has quit [(Remote host closed the connection)]
<samueldr> "all"
<samueldr> :D
ajp has joined #nixos
<samueldr> I'll be taking a look at postmarketos' progress, for fun
<Acou_Bass> yeah how hard can it be...
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<samueldr> depends if you need 100% features
<samueldr> how important is the screen?
<Acou_Bass> yeah I've got two phones that can run that just haven't found time yo try it
<samueldr> LTE/3G? :)
<Acou_Bass> this is my first 4G phone so i can handle 3G...
<samueldr> (I meant it in the general cellular data)
<Acou_Bass> oh yeah true
<Acou_Bass> very important sadly
<samueldr> calls? SMS?, I'm lucky enough that I'm not using calls nor sms
elvishjerricco has joined #nixos
<Acou_Bass> as is thy screen
<samueldr> (tablet plan on cellphone)
<Acou_Bass> yeah my phone is basically just an irc client so no sms needed, just mobile internet and an irc app needed
<Acou_Bass> plus you know the usual rubbish, a reddit client, vlc remote app
<Fare> what is the current status of nixpkgs on mac?
evangeline has joined #nixos
<gchristensen> many people use nix on darwin, though the installer is somewhat broken on 10.13.2 (with a patch waiting on being released)
obadz has joined #nixos
<samueldr> I have colleagues succesfully using nix on macOS for development purposes
<Fare> if I tell my brother to go download nix, will it work?
phreedom has joined #nixos
<Fare> what about chromebooks? Can I install nixos on them?
<samueldr> x86 chromebooks will generally work with nixos if other distros work
<Fare> or at least nixpkgs?
<samueldr> arm chromebooks can work
<clever> Fare: i think sphalerite was doing that
<samueldr> nixpkgs can work on most distros, so inside crouton it should
<samueldr> as for straight onto chromeos, without developer mode, no, with developer mode, I'm curious
<samueldr> sphalerite indeed is working with an ARM-based chromebook
<samueldr> I have nixos on a c720p, x86 haswell-based chromebook
<samueldr> (with coreboot flashed)
phdoerfler has quit [(Quit: Leaving.)]
* samueldr just realized his phone is aarch64
erictapen has quit [(Ping timeout: 240 seconds)]
<Acou_Bass> xD
<Acou_Bass> mine too, i feel special
<Acou_Bass> maybe i can st least run nixpkgs on it....
<gchristensen> aarch64 support is a WIP
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
<Acou_Bass> yee
<Acou_Bass> gchristensen: any idea if it'll ever get prebuilt binaries on Hydra with stable channel?
<Acou_Bass> or is that basically unplanned
<gchristensen> there is a chance 18.03 will be fully support aarch64
coot_ has joined #nixos
<samueldr> that would be wonderful
<samueldr> if there's anything I can do, even "only" testing,
<Acou_Bass> sweet
<samueldr> please ask
<gchristensen> WorksOnArm just approved NixOS for a dual-socket Cavium ThunderX to help us work through the issues
<gchristensen> #nixos-aarch64
<Acou_Bass> i agree with samueldr :D
<samueldr> (I'm already there)
<samueldr> this reminds me that I need to read more on u-boot and contributing there
<gchristensen> it is likely @grahamcofborg will start building PRs on aarch64 soon, too
shachaf has quit [(Quit: !)]
coot_ has quit [(Client Quit)]
yegortimoshenko has joined #nixos
<yegortimoshenko> hi, is there a way to make it work? i'm getting an infinite recursion error, and for a good reason
<yegortimoshenko> there is no super/self (or previous/final) distinction for config afaik... or is there?
Supersonic112 has quit [(Disconnected by services)]
Sonarpulse has quit [(Ping timeout: 268 seconds)]
Supersonic112_ has joined #nixos
kier has quit [(Ping timeout: 248 seconds)]
Supersonic112_ is now known as Supersonic112
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc force-pushed unstable-aarch64 from ab67fea to 08b8bc2: https://git.io/vSSlm
<NixOS_GitHub> nixpkgs/unstable-aarch64 08b8bc2 Graham Christensen: Netboot: Add aarch64
NixOS_GitHub has left #nixos []
shachaf has joined #nixos
<yegortimoshenko> in other words, is there a way to self-reference option, e.g. `nixos.option = config.nixos.option;`?
thc202 has quit [(Ping timeout: 248 seconds)]
globin has joined #nixos
hellrazo1 has joined #nixos
lambdamu has joined #nixos
ertesx has joined #nixos
<Ankhers> Is there anyone around that can help me understand how Haskell and Nix work? Specifically the cabal2nix and hackage2nix tools?
hellrazor has quit [(Ping timeout: 240 seconds)]
orivej_ has quit [(Ping timeout: 255 seconds)]
lambdamu_ has quit [(Ping timeout: 248 seconds)]
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
<vaibhavsagar> Ankhers: what is your question?
ivanivan has joined #nixos
<ivanivan> I added a custom package to packageOverrides, but it's not actually overriding an existing package, but instead defining a personal package that wouldn't make sense in the upstream pkgs tree. Is there a "more correct" place to put such packages?
marusich has joined #nixos
nuncanada has quit [(Remote host closed the connection)]
nuncanada has joined #nixos
cybrian has joined #nixos
ivanivan has quit [(Quit: WeeChat 1.9.1)]
<Ankhers> vaibhavsagar: Basically, if my application wants to use package "foo" version 2.3.4, but one of my transitive dependencies also wants to use "foo" on a range of "foo >= 2.3 && < 3". How do the two tools coordinate to use the proper version of the dependency?
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<Ankhers> Hopefully that makes some semblance of sense.
<vaibhavsagar> Ankhers: Nix uses a Haskell package set based on a Stackage LTS
<vaibhavsagar> if you use nixos-17.09 it's currently LTS-9.3
<Ankhers> That makes sense. Any idea how any other language works for this?
<vaibhavsagar> every language is different in its own way :)
<vaibhavsagar> Nix just wraps the existing build tools and ecosystems
<Ankhers> Yeah. I'm just trying to create something for the BEAM (Erlang) and I just don't really know what to do about this question.
marusich has quit [(Ping timeout: 255 seconds)]
<vaibhavsagar> I have no idea how the Erlang infra works, but maybe your answer is there?
<Ankhers> Thanks for that. I'm actually trying to help fix the tooling.
<vaibhavsagar> oh, oops
drakonis has quit [(Ping timeout: 255 seconds)]
<vaibhavsagar> I'm not aware of a Stackage equivalent for Erlang
<Ankhers> There isn't one. But we have lock files that list all of the dependencies and their transitive dependencies for a project.
<Ankhers> I'm wondering if we should skip the hex2nix tool and just create the rebar2nix tool.
<vaibhavsagar> it sounds like you want something more like the way npm works then?
<Ankhers> Could be. I will look into how that works. Thanks!
<vaibhavsagar> ivanivan: packageOverrides sounds fine, or a custom overlay
astronavt has quit [(Remote host closed the connection)]
astronavt has joined #nixos
jereem1 has quit [(Quit: Connection closed for inactivity)]
babyflakes has quit [(Quit: Connection closed for inactivity)]
cybrian has quit [(Read error: Connection reset by peer)]
kier has joined #nixos
pie_ has quit [(Remote host closed the connection)]
<gchristensen> my minimal netboot is "Filesystem size 295723.27 Kbytes (288.79 Mbytes)" anyone know a way I could reduce this by 30mb?
pie_ has joined #nixos
ssmike has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manoj23 opened pull request #32584: davfs2: create user/group davfs2 if not specified in the configuration (master...davfs2-v3) https://git.io/vbuJp
NixOS_GitHub has left #nixos []
manoj has joined #nixos
<manoj> hello
<manoj> the default mediaDir for the pmount program is "/media/". Should it be created when we install the package? In my case, I need to manually create that folder.
cybrian has joined #nixos
marusich has joined #nixos
indika has quit [(Ping timeout: 258 seconds)]
indika has joined #nixos
dvim has quit [(Ping timeout: 258 seconds)]
dieggsy has joined #nixos
dvim has joined #nixos
<disasm> ipv6 works now :)
babyflakes has joined #nixos
<disasm> so you need to specify it on the interface, and if forwarding is allowed you need to set it to 2, setting to 1, true, etc... won't work
<disasm> some would say this could be a security issue blindly accepting routes, but other option is to statically add it since dhcpv6 doesn't do the things v4 does like telling you your default gateway
babs_ has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<disasm> so if anyone has a computer they want to to make a router with at least two physical interfaces (or even 1 if you have a managed switch that can trunk vlans) https://github.com/disassembler/network should be a fully working example for running nixos on a router with ipv6 and ipv4 support on any ISP that does dhcpv4/dhcpv6 with prefix delegation.
cybrian has joined #nixos
slack1256 has joined #nixos
<gchristensen> disasm: can we do this together sometime, maybe this weekend?
<samueldr> ooh, coreboot
marusich has quit [(Ping timeout: 276 seconds)]
marusich has joined #nixos
sary_ has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
yorick has quit [(Ping timeout: 248 seconds)]
<pierron_> garbas: Tuesday sounds fine for me, but I might have a last minute team dinner.
<disasm> gchristensen: sure!
<grahamc> Cool :) I’m late for bed tonight. I got another Type 2A from Packet.net booted in to NixOS tonight. For giving out access to people in order to get our support first class!
cybrian has quit [(Read error: Connection reset by peer)]
<disasm> me too, lol, heading that way myself
ylwghst has quit [(Ping timeout: 240 seconds)]
marusich has quit [(Ping timeout: 240 seconds)]
dieggsy has quit [(Remote host closed the connection)]
steshaw has quit [(Quit: Connection closed for inactivity)]
proteusguy has quit [(Ping timeout: 240 seconds)]
sary_ has quit [(Ping timeout: 248 seconds)]
marusich has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
slack1256 has quit [(Remote host closed the connection)]
cybrian has joined #nixos
whatnoise has joined #nixos
mk-fg has quit [(Ping timeout: 246 seconds)]
hamishmack has quit [(Quit: hamishmack)]
mizu_no_oto has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
zzamboni has joined #nixos
sary has joined #nixos
whatnoise has quit [(Ping timeout: 260 seconds)]
astronavt has quit [(Quit: Leaving...)]
<catern> here's an example of something exciting you could do with unsandboxed builders
<catern> you could pull source code from a local repository trivially
dywedir has joined #nixos
<catern> and avoid pulling in random other files, by only pulling in git-tracked files
dywedir has quit [(Remote host closed the connection)]
dywedir has joined #nixos
marusich has quit [(Ping timeout: 246 seconds)]
zzamboni has quit [(Quit: Leaving.)]
marusich has joined #nixos
ma27 has joined #nixos
Guanin has quit [(Ping timeout: 250 seconds)]
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
marusich has quit [(Ping timeout: 255 seconds)]
Guanin has joined #nixos
marusich has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ma27 has quit [(Ping timeout: 240 seconds)]
babyflakes has quit [(Quit: Connection closed for inactivity)]
<Fare> how do I use python packages interactively in nixos?
<Fare> say I want to use pandas
<Fare> import pandas as pd ===> ModuleNotFoundError: No module named 'pandas'
<Fare> even though I did nix-env -iA nixos.python36Packages.pandas
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #32585: Add OCaml libraries: psq, lru, faraday, farfadet, digestif (master...ocaml-lru-0.2.0) https://git.io/vbuq6
NixOS_GitHub has left #nixos []
leat has joined #nixos
babyflakes has joined #nixos
hamishmack has joined #nixos
MercurialAlchemi has joined #nixos
<dhess> Fare: `which python` ?
<srhb> You can usually avoid the confusion about which python is in scope by not using nix-env
<srhb> nix-shell -p 'python.withPackages (ps: with ps; [ pandas ])'
<pie_> any recommendations on how to get the python bindings for this? https://github.com/Z3Prover/z3 scroll down to the "Python" section at the bottom
ilyaigpetrov has joined #nixos
<srhb> Fare: And add whatever you want to list to construct a more complex python environment in your shell.
marusich has quit [(Ping timeout: 255 seconds)]
proteusguy has joined #nixos
reinzelmann has joined #nixos
asuryawanshi has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
kreetx has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
proteusguy has quit [(Ping timeout: 246 seconds)]
leat has quit [(Quit: WeeChat 1.9.1)]
shanemikel has joined #nixos
oida has quit [(Ping timeout: 246 seconds)]
Oida has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon3 is now known as Mateon1
justanotheruser has quit [(Ping timeout: 246 seconds)]
asuryawanshi has quit [(Ping timeout: 268 seconds)]
cybrian has joined #nixos
asuryawanshi has joined #nixos
<Fare> dhess, ~/.nix-profile/bin/python ===> /nix/store/9zriyh8kgflvpp4xmd7ai36rs120lksi-python3-3.6.3/bin/python
griff__ has joined #nixos
kreetx has quit [(Ping timeout: 260 seconds)]
griff_ has quit [(Ping timeout: 255 seconds)]
griff__ is now known as griff_
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<Fare> srhb: thanks
cybrian has quit [(Read error: Connection reset by peer)]
leat has joined #nixos
manoj has quit [(Quit: WeeChat 1.9.1)]
periklis has joined #nixos
babs_ has quit [(Quit: Leaving)]
proteusguy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vbu3t
<NixOS_GitHub> nixpkgs/master 8a716eb Moritz Drexl: kafka-python: init at 1.3.5
<NixOS_GitHub> nixpkgs/master 80cc3de Frederik Rietdijk: fixup
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
Itkovian has joined #nixos
Tucky has joined #nixos
bert_ has joined #nixos
jtojnar has joined #nixos
<sphalerite> Fare: yes, as the others said I got nixos running on my arm Chromebook
hotfuzz_ has joined #nixos
<sphalerite> disasm: why do you need to set forwarding to 2 exactly?
proteusguy has quit [(Ping timeout: 240 seconds)]
hotfuzz has quit [(Ping timeout: 248 seconds)]
<dhess> I suspect he meant 'net.ipv6.conf.all.accept_ra = 2'
<dhess> which allows a router to accept route advertisements from an upstream router.
<sphalerite> Shouldn't just setting the default route to fe80::1%enpXYZ (where the interface is the gateway to the internet) do just as well?
<sphalerite> Ah right and he only sets it on enp1s0
<sphalerite> I don't really see how that would be a security issue
<dhess> Only if your ISP uses that link-local address for routing, which isn't a requirement.
<dhess> It's not really a security issue as long as you trust your ISP... which you pretty much have no choice about :)
<dhess> not when it comes to routing, anyway.
<sphalerite> Are you sure it's not required?
<dhess> It is not required.
<sphalerite> Huh.
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<aw> sphalerite, dhess: While you're at discussing IPv6 routing anyways, might I throw in a question?
<dhess> aw: I'm no expert, but you can try me.
<aw> I have a vServer connected to native IPv6 through the ISP. I have disabled DHCPv6 (I think) and set defaultGateway6 to fe80::1%ens3 but I seem to be too dumb to disable RA…
<aw> IIRC I already tried setting net.ipv6.conf.all.accept_ra=0 but I got assigned two additional routes and dmesg is spilled with »ICMPv6: RA: ndisc_router_discovery failed to add default route«, which is quite annoying…
<aw> Wrong knob?
<dhess> aw: oh yeah, I had similar issues I think. Let me check.
<dhess> it's been awhile since I had to deal with that so I'm not sure I can find it, but give me a minute.
<aw> Sure. Anything that helps is welcome. ;) If you don't find it it doesn't matter either (IPv6 actually works but I wanted to get rid of this messages some time now ;)
periklis has quit [(Ping timeout: 255 seconds)]
<sphalerite> I don't really know either.
<sphalerite> Why is RA actually handled in the kernel, I wonder?
<dhess> aw: right, I believe I had to also disable .default.accept_ra
<dhess> aw: here is what I did to disable RA, SLAAC, and tempaddrs: https://gist.github.com/dhess/ea8dbf5ce2ec402449c5a52405de10ff
<aw> dhess: Ah, okay. I never actually managed to grasp the difference between all and default…
<dhess> aw: me neither :) I just did that in anger and I think it did the trick. It's been awhile though so again, I might be not remembering correctly.
<dhess> Either Debian/Ubuntu or the kernel at the time did not behave very well when you tried to disable IPv6 auto* stuff.
<aw> dhess: I'm going to have a look at dmesg for the next 10 minutes and tell you whether it helped. For the record. ;)
<dhess> aw: I dunno if it'll help with the log messages, but I think it prevented any routes from being added, in any case.
<dhess> aw: you might also want to disable it on the interface itself. Oh and I think this maybe had something to do with when the net.ipv6.conf.* settings were applied during the boot process
<dhess> because if they get applied *after* the kernel accepts a route advertisement, it's probably too late.
<dhess> In Debian I think I resorted to setting accept_ra to 0 in a pre-up script for the NIC in questino.
<dhess> question.
yrashk has quit [(Ping timeout: 258 seconds)]
bitonic has quit [(Ping timeout: 258 seconds)]
<dhess> but NixOS doesn't have that concept :( Actually I wanted to ask about that when some of the core devs were around. It would be nice to have pre-up/post-up and pre-down/post-down per-interface networking hooks.
rizary has quit [(Ping timeout: 258 seconds)]
yrashk has joined #nixos
bitonic has joined #nixos
mkoenig has joined #nixos
civodul has joined #nixos
rizary has joined #nixos
Supersonic112 has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
periklis has joined #nixos
orivej has joined #nixos
<aw> dhess: Meh, messages still appear.
<aw> dhess: I didn't try enabling at boot time + rebooting, though. Perhaps there's something stale™.
edofic has quit [(Ping timeout: 258 seconds)]
<aw> Ah, and I didn't actually turn the other knobs (autoconf et al).
Supersonic112 has joined #nixos
edofic has joined #nixos
<dhess> aw: are you running NetworkManager on that host?
<Fare> sphalerite, wow, not just nixpkgs but nixos itself? Which model chromebook was it?
<aw> dhess: No, purely static configuration through configuration.nix
<aw> dhess: Something™ has done the trick, though. No message in the last 7 minutes.
<dhess> oh that's good to hear :)
<Fare> sphalerite: care to share the relevant details of your configuration.nix ?
<aw> . o O ( Note to future self: Do one thing after another to actually know what solved the problem. )
<joko> How one could build a package manually? I have forgotten... As in typing buildPhase etc. in the shell
<joko> Just nix-shell instead of nix-build :P
<aw> joko: nix-shell -p '<nixpkgs>' -A ... ?
<aw> joko: man nix-shell | less +/EXAMPLES
shanemikel has joined #nixos
<joko> aw: ditto, thanks
coot_ has joined #nixos
tomster has joined #nixos
pie_ has quit [(Ping timeout: 268 seconds)]
<sphalerite> Fare: C201. There aren't any particularly special bits. I haven't got it booting with a nixpkgs-built kernel though, I still build the kernel from a nix-shell and install it manually
goibhniu has joined #nixos
<sphalerite> Fare: I wrote a bit about it at https://sphalerite.org/ghotl/posts/2017-11-10-chromebook.html
<sphalerite> Still need to do a writeup on how to reproduce it though
tomster has quit [(Ping timeout: 260 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
tomster has joined #nixos
<aw> dhess: It seems ens3.accept_ra wins over {all,default}.accept_ra Oo
<tomster> manveru: mornin...
phdoerfler has joined #nixos
<aw> dhess: With this my shallow understanding of the difference between default and all completely ceases to be…
<aw> Everything without reboot, though. Maybe it's a matter of activation time. Dunno.
asuryawanshi has joined #nixos
<tomster> manveru: did you see my feedback from yesterday? unfortunately the chefdk pkg is still not working.... do you think you will be able to continue to investigate?
aminechikhaoui has joined #nixos
shanemikel has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ssmike has joined #nixos
asuryawanshi has joined #nixos
shanemikel has quit [(Client Quit)]
i-am-the-slime has joined #nixos
Itkovian has joined #nixos
thc202 has joined #nixos
<sphalerite> Calling upon the zfs wizards again: If I don't have native zfs encryption yet, what's the best option for storing snapshots on an untrusted machine (which has zfs support)? Just storing encrypted zfs send streams in files on the untrusted machine?
<sphalerite> or is there a nicer way?
periklis has quit [(Ping timeout: 250 seconds)]
<sphalerite> srhb: btw did you end up using systemd's bind mount options for that module you were writing?
<infinisil> sphalerite: Whew, not idea, maybe #zfsonlinux knows
<sphalerite> oh yeah, of course
<rnhmjoj[m]> are you aware of any way to have a self-referencing option in the nixos configuration without an infinite recursion? some fixed-point trick maybe?
<rnhmjoj[m]> I mean something like `environment.systemPackages = libs.subtractLists [ nano ] config.environment.systemPackages`
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
sigmundv_ has joined #nixos
i-am-the-slime has quit [(Ping timeout: 260 seconds)]
<DIzFer[m]> I don't know if there is such a thing as libs.subtractLists, but this https://github.com/NixOS/nixpkgs/blob/master/lib/lists.nix#L124 should do that I guess, and presumably work. BRB, I'm going to check if it actually works...
dan_b has joined #nixos
<sphalerite> DIzFer: it does exist, problem is the infinite recursion
<infinisil> rnhmjoj[m]: What are you really trying to do?
johann__1 has quit [(Quit: Leaving.)]
i-am-the-slime has joined #nixos
<rnhmjoj[m]> infinisil: exactly that. a user asked for a way to remove some package from the systemPackages directly
cybrian has joined #nixos
<infinisil> you'll need to figure out where it comes from and remove it there
<rnhmjoj[m]> issue #32405
Oida has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
proteusguy has joined #nixos
b has quit [(Quit: Lost terminal)]
Itkovian has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tristan0x opened pull request #32587: assimp: 3.3.1 -> 4.1.0 (master...assimp4) https://git.io/vbuE6
NixOS_GitHub has left #nixos []
<infinisil> rnhmjoj[m]: It's how nix works, things have dependencies and nix makes it so the dependencies are available. If you want to remove dependencies you need to do that where they come from. This is also how you'd go about when you see gcc in the closure of some package (which is not something you want)
Itkovian has joined #nixos
<rnhmjoj[m]> infinisil: i know, that's what I suggested but tracking dependencies can be time consuming
<infinisil> rnhmjoj[m]: Actually, you might be able to use `apply` of the option type
illinit has joined #nixos
orivej has quit [(Ping timeout: 250 seconds)]
orivej has joined #nixos
pie_ has joined #nixos
<infinisil> rnhmjoj[m]: When declaring an option, you can do something like `mkOption { type = types.str; apply = f: stripPrefix "foo" f; ... }`. This will apply the stripping function at the very end when the config has been evaluated, so it won't cause recursion
<rnhmjoj[m]> ah, didn't know about this one
thblt has joined #nixos
dan_b has quit [(Ping timeout: 260 seconds)]
<infinisil> but you'll have to directly modify nixpkgs for this
dan_b has joined #nixos
tmaekawa has joined #nixos
<rnhmjoj[m]> infinisil: uhm, so you can't change the type of an option without patching the source
<infinisil> nope, options themselves can't be changed with other options
<infinisil> I think
i-am-the-slime has quit [(Ping timeout: 240 seconds)]
<joko> garbas: I am struggling using unittest2 on pypi2nix as in https://github.com/garbas/pypi2nix/issues/135, could you help me a bit?
i-am-the-slime has joined #nixos
bert_ has quit [(Quit: leaving)]
<joko> garbas: you could check overrides.nix @ http://nixpaste.lbr.uno/j_tqxSBb?nix and the requirements @ https://github.com/postgres/pgadmin4/blob/master/requirements.txt (hopefully I will do a PR on that soon :D)
Neo-- has joined #nixos
i-am-the-slime has quit [(Ping timeout: 260 seconds)]
i-am-the-slime has joined #nixos
<rnhmjoj[m]> infinisil: well... too bad, thank you anyway!
<Mic92> pmeunier: I have updated documentation and renamed some files to match conventions in nix for your pr
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #32591: pythonPackages.dateparser: 0.3.2-pre-2016-01-21 -> 0.6.0 (master...pkgs/dateparser/update) https://git.io/vbu2z
NixOS_GitHub has left #nixos []
<Mic92> pmeunier: I see some room for improvement in carnix itself to produce more readable output, this can part of future versions of carnix, since this pr is already big.
i-am-the-slime has quit [(Ping timeout: 260 seconds)]
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vbuat
<NixOS_GitHub> nix/master 2a8f09a Chris Martin: Add builtins.concatStringSep to the manual
<NixOS_GitHub> nix/master e3c19ff Eelco Dolstra: Merge pull request #1725 from chris-martin/pr/concatStringsSep...
NixOS_GitHub has left #nixos []
<pmeunier> Mic92: I just saw your changes, looks great to me.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1722: Fix for builds with system libcurl < 7.30 (master...fix-for-older-libcurl) https://git.io/vbBXz
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 248 seconds)]
pie_ has joined #nixos
<pmeunier> Mic92: about the output of carnix, I guess this needs more discussion. The output used to be pretty readable, and became more complicated over time, with new features and requests.
<Mic92> pmeunier: I am going to squash some commits and push them to master
<pmeunier> Mic92: \o/
erictapen has joined #nixos
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
shanemikel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vbuVV
<NixOS_GitHub> nixpkgs/master a13fc5f Pierre-Étienne Meunier: maintainers.nix: add pmeunier
<NixOS_GitHub> nixpkgs/master ea232fe Pierre-Étienne Meunier: add fetchCrate function to fetch rust crates
<NixOS_GitHub> nixpkgs/master 5a0d954 Pierre-Étienne Meunier: add buildRustCrate function to build rust crates
NixOS_GitHub has left #nixos []
<Mic92> pmeunier: ^
<pmeunier> Mic92: This is great! Thanks a lot!
thblt has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
babyflakes has quit [(Quit: Connection closed for inactivity)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
shanemikel has joined #nixos
iyzsong has joined #nixos
simukis has joined #nixos
babyflakes has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
shanemikel has joined #nixos
steshaw has joined #nixos
<gchristensen> woohoo!
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
linarcx has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
TweyII has joined #nixos
TweyII is now known as Guest34783
<sphalerite> gchristensen: btw https://github.com/etsy/hound/issues/239#issuecomment-350895183 someone's fixing it!
<gchristensen> nice!
<sphalerite> gchristensen: haha, sneaky showing off how nice configuring nginx is with nixos haha
<gchristensen> ;)
<toogley> the error is https://pastebin.com/xm6mvMiN
<toogley> and the build command is: nix-build -A neomutt --check ~/src/nixpkgs
<toogley> my target is to add _for testing purposes_ nullmailer as a required dependency
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fmthoma opened pull request #32592: gnome3.at-spi2-core: Set environment variable `NO_AT_BRIDGE=1` if disabled (master...fix-a11y-warnings) https://git.io/vbuKh
NixOS_GitHub has left #nixos []
isHavvy has joined #nixos
sary has quit [(Quit: leaving)]
sary has joined #nixos
Havvy has quit [(Ping timeout: 240 seconds)]
linarcx has quit [(Remote host closed the connection)]
aarvar has quit [(Ping timeout: 268 seconds)]
freusque has joined #nixos
tmaekawa has quit [(Ping timeout: 246 seconds)]
JimBob has quit [(Quit: Page closed)]
<sphalerite> toogley: does nix-build ~/src/nixpkgs -A nullmailer work?
<sphalerite> (also, I'm guessing nullmailer is a run-time dependency. As such it should probably be in buildInputs, not nativeBuildInputs
<toogley> sphalerite: oh, yeah. i meant buildInputs and not nativeBuldInputs. nix-build ~/src/nixpkgs -A nullmailer works.
pie_ has quit [(Ping timeout: 255 seconds)]
<sphalerite> toogley: does the neomutt build work after that?
<toogley> nope. error: some outputs of ‘/nix/store/15dgafgaafrzj987m0ghvf3y56484nfy-neomutt-20171027.drv’ are not valid, so checking is not possible
<gchristensen> sounds like you used --check
<sphalerite> and without the nullmailer input it's fine?
<sphalerite> oh wait some OUTPUTs
<sphalerite> yeah you need to get rid of --check
<gchristensen> --check only works if you built it before
<sphalerite> you can't check whether it's deterministic if you don't already have something to compare it to
ssmike has quit [(Remote host closed the connection)]
<toogley> aah, makes sense
<LnL> using --option build-repeat 2 will build it multiple times
ssmike has joined #nixos
<toogley> LnL: thanks. however, i just noticed that --check doesn't make sense here, because neomtut isn't deterministic.
<tomster> manveru: FTR in your chefdk branch kitchen and knife both don't work (are not found) eventhough their gems are listed in the gemfile and in gemset.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vbuP6
<NixOS_GitHub> nixpkgs/master 2d4fdc1 Eelco Dolstra: debian: 8.9 -> 8.10
NixOS_GitHub has left #nixos []
<tomster> so all in all it's actually a regression :(
pie_ has joined #nixos
<tomster> chefdk and nixos really don't want to play together. my problem is that over at chefdk nobody has ever heard of nixos and they only explicitly support maxos/ubuntu/redhat/windows with their custom installer
<tomster> and in the nixos world nobody seems to be using chef at all...
<gchristensen> I used chef on nixos before chefdk was a thing
<gchristensen> it wasn't so bad then, but it was a while ago
<tomster> gchristensen: once it's installed chef isn't that bad
<tomster> particularly inspec is really nice
<tomster> i can see myself using it to test nixos deployments in the future :)
shanemikel has joined #nixos
<gchristensen> oh yeah, I had an inspec branch which was starting to support nixos
<sphalerite> I'd say that is a reasonable attitude to have. If you adopt a not-very-widely-used distro, especially one like nixos which breaks common assumptions, you just sort of have to deal with upstreams not caring about your niche application
<tomster> gchristensen: for real? interesting!
shanemikel has quit [(Client Quit)]
<sphalerite> heh, inspec says "Any system, any technology, any app."
confused-with-bo has joined #nixos
freusque has quit [(Ping timeout: 250 seconds)]
<gchristensen> * as long as it is FHS Debian-based or Redhat-based ;)
<confused-with-bo> Hello everyone! I'm having some trouble getting boot (http://boot-clj.com) to run a Clojure script under nix, and was hoping you could help me. I'm sure there's something simple I'm misunderstanding.
<tomster> gchristensen: yeah, that seems to be the prevalent underlying assumption
<tomster> that's one thing i'm used to already coming from FreeBSD
fre has joined #nixos
<tomster> oh great, now i'm trying to use chefdk inside a vagrant machine and i get the following error when running `vagrant up`: The `lxc` package does not seem to be installed or `lxc-create` is not accessible on the PATH.
<confused-with-bo> (sorry, collecting necessary info and demo ...)
<gchristensen> the other thing tomster is “It is difficult to get a man to understand something, when his salary depends on his not understanding it.”― Upton Sinclair
<tomster> can anybody give me pointers here, what i need to enable in my configure.nix to get lxc running?
<tomster> gchristensen: yes, that quote has crossed my path before learning about nixos :)
<gchristensen> oh? :)
<gchristensen> tomster: how about using virtualbox instead for vagrant?
<sphalerite> gchristensen: how does that apply?
<tomster> gchristensen: so lxc is just the default for vagrant?
<tomster> maybe that's a new thing...
<gchristensen> sphalerite: chef is unneeded in a brave new world of functional linuxes
<sphalerite> oh right, fair enough
dywedir has quit [(Remote host closed the connection)]
<sphalerite> hey chef people, why doesn't chef run on the OS that hopes to make chef obsolete?
<sphalerite> x)
<confused-with-bo> nix-shell -p nix-info --run nix-info system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(genos): "nixpkgs-18.03pre122433.8a7b2f889dd", channels(root): "nixpkgs-18.03pre122433.8a7b2f889dd", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
erictapen has quit [(Ping timeout: 240 seconds)]
dywedir has joined #nixos
cybrian has joined #nixos
<confused-with-bo> Here's the Clojure/boot script I'd like to run:
<sphalerite> but even upstreams for software whose function is completely unrelated to nixos often have that attitude
<confused-with-bo> cat script.clj #!/usr/bin/env boot (defn -main [& args] (println "Hi!"))
<confused-with-bo> Runs fine with nix-shell -p boot --run ./script.clj
<confused-with-bo> But I can't get a default.nix to run correctly
<confused-with-bo> Either with with import <nixpkgs> {}; stdenv.mkDerivation { name = "script"; buildInputs = [ boot ]; buildCommand = '' ${./script.clj} ''; }
<confused-with-bo> or with import <nixpkgs> {}; runCommand "script" { buildInputs = [ boot ]; } '' mkdir -p $out ${./script.clj} ''
<sphalerite> tomster: virtualisation.lxc.enable = true; might also be good enough
<tomster> sphalerite: i already have that
<sphalerite> confused-with-bo: try using buildCommand = "boot ${./script.clj}";
<tomster> sphalerite: then there are three differen lxc pkgs - do i need to install them in my nix-shell
<sphalerite> confused-with-bo: the issue is that /usr/bin/env isn't available in nix builders
erictapen has joined #nixos
<sphalerite> tomster: that's as much as I know, sorry :p
<gchristensen> confused-with-bo: why do you want a default.nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #32593: qgis: 2.18.14 -> 2.18.15 (master...update_qgis) https://git.io/vbu1v
NixOS_GitHub has left #nixos []
<confused-with-bo> I figured it was some fundamental misunderstanding on my part like that, thanks.
<confused-with-bo> (And my nick was supposed to be "confused-with-boot," but it got cut off, haha)
<confused-with-bo> I was hoping to have a default.nix to make this part of a larger repo of examples that run
<gchristensen> ok, cool :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vbu17
<NixOS_GitHub> nixpkgs/master 0d27df2 Tuomas Tynkkynen: build-support/vm: Use devtmpfs, not static device nodes...
NixOS_GitHub has left #nixos []
<confused-with-bo> sphalerite: buildCommand = "boot ${./script.clj}"; gets the same error message
<confused-with-bo> Exception in thread "main" java.io.IOException: No such file or directory
<sphalerite> confused-with-bo: I wouldn't call it a fundamental misunderstanding :p it's a fairly common pitfall and it's far from being obvious ¯\\\_(ツ)_/¯
<sphalerite> hm…
<tomster> sphalerite: FTR virtualisation.lxc was *not* enabled afterall -> enabling it fixed the issue :)
<sphalerite> hah :D
chpatrick has joined #nixos
<confused-with-bo> And the #! line works fine with nix-shell -p boot --run ./script.clj
<sphalerite> confused-with-bo: oh, apparently boot tries to donwload itself or something
<chpatrick> do you have any advice for cherry-picking only what a given package needs from nixpkgs?
<sphalerite> that's a no-no in nix derivations ;)
<sphalerite> chpatrick: what do you mean?
<confused-with-bo> Yeah, that sounds like boot :-) Really, I'm not tied to it; I was just hoping for a way to run executable Clojure script (not clojurescript; the full example has some dependencies)
zzamboni has joined #nixos
<chpatrick> sphalerite: we have a stable in a submodule that's 17.09 + our stuff
<chpatrick> I'd like to bump a particular package to nixpkgs/master
<chpatrick> while bumping as little as possible else
<chpatrick> *we have a stable nixpkgs
<sphalerite> chpatrick: aah right. I'd try cherry-picking just whatever commit updates the software you need, and just see if that works
<sphalerite> then incrementally get more if necessary
<chpatrick> sphalerite: unfortunately it depends on some other packages, so it gets tedious very quickly
<chpatrick> I was wondering if there's a tool or something
<nixo[m]> How do I complie 32bit programs in a 64 bit nix shell?
<sphalerite> chpatrick: not that I know of. Does it depend on that many packages in such recent versions?
<sphalerite> Nicolò: with difficulty, since you need all the 32-bit libraries. Best to use a 32-bit shell
<sphalerite> Nicolò: nix-shell '<nixpkgs>' --argstr system i686-linux
<nixo[m]> Linus: thanks I'll try
<toogley> i guess its a bug that https://en.wikipedia.org/wiki/Apropos_(Unix) doesn
<toogley> i guess its a bug that https://en.wikipedia.org/wiki/Apropos_(Unix) doesn't work on nixOS? apropos mount gives me nothing
<toogley> ?
<toogley> (forgot that this was a question. :D)
<sphalerite> toogley: yeah, there was some way to get it working but I can't remember. Hang on
<sphalerite> I know it involved mandb, just can't remember how
<toogley> sphalerite: hm, okay. if you stumble on it again, i'd be interested. :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to master: https://git.io/vbuDX
<NixOS_GitHub> nixpkgs/master 834bdd2 Andreas Rammhold: xen: apply patches for XSA-246 & XSA-247 (CVE-2017-{17044,17045})
<NixOS_GitHub> nixpkgs/master 2766830 Andreas Rammhold: xen: Added patches for XSA-248, XSA-249, XSA-250, XSA-251
<NixOS_GitHub> nixpkgs/master 7a011c6 Graham Christensen: Merge pull request #32319 from andir/xsa246_247...
NixOS_GitHub has left #nixos []
confused-with-bo has quit [(Ping timeout: 260 seconds)]
tomster has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #32595: XSA backport of #32319 (release-17.09...xsa_backport) https://git.io/vbuyz
NixOS_GitHub has left #nixos []
<Guanin> is there any way to define luks devices that are decrypted with a keyfile on an encrypted root?
<Guanin> the only thing I can see is putting it into boot.initrd, but I do not want that keyfile in there
<Guanin> oh, and fileSystems.<name?>.encrypted might not be sufficient, because in the luks containers is an mdadm raid
<Guanin> somewhat similar, yes
griff__ has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<Guanin> I have a luks encrypted root (decrypt with password). In there is a keyfile that I need to decrypt /dev/sd[a-l]1, which are then assembled to an mdadm raid
griff_ has quit [(Ping timeout: 248 seconds)]
<Guanin> of course, I could spawn a script with system.activationScripts on boot that iterates over those devices, but I was hoping to use a cleaner approach
<sphalerite> Guanin: I can't remember exactly how it works but it might be helpful to know that luks devices are opened in alphabetical order
griff_ has joined #nixos
<infinisil> Guanin: otherdisk.keyFile = "/dev/mapper/yourkey"; yourkey.device = "/path/to/key/on/root"; ?
<sphalerite> not sure if it'll mount stuff ASAP in between unlocks though
<infinisil> Oh right, alphabetical, forgot about that
<Guanin> well, if it does not mount, it _might_ be a problem
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Enzime opened pull request #32597: Add syncplay 1.5.0 (master...add/syncplay) https://git.io/vbuSL
NixOS_GitHub has left #nixos []
<Guanin> but wait, I might be able to work around that :) I still have some space left on the lvm where / and swap live in, so I might be able to dd the keyfile on a logical volume :)
griff__ has quit [(Ping timeout: 268 seconds)]
<sphalerite> yeah I have a setup I stole from gchristensen where I have a key partition which is unlocked by my passphrase, and then used to decrypt all the other luks volumes
griff__ has joined #nixos
cement has joined #nixos
<sphalerite> Does anyone have a good way of building some package set and pushing it to a binary cache whenever a channel updates? I believe hydra would do the job, but would probably also be overkill
<sphalerite> I'm thinking maybe a shell script triggered by a web hook gchristensen :D
griff_ has quit [(Ping timeout: 240 seconds)]
<gchristensen> :)
<gchristensen> I also offer rabbitmq mesages
griff__ has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
<nixo[m]> Linus: plain nix-shell <nixpkgs> --atgstr system I686-Linux refuses to evaluate (pseudo package yada yada). Without <nixpkgs> it enters the shell.nix but still miss stubs-32.h
cybrian has joined #nixos
<sphalerite> Nicolò: I'm guessing you have an `import <nixpkgs> {}` somewhere in your expression? Try putting system = "i686-linux"; in the {}
coot_ has quit [(Quit: coot_)]
fendor has joined #nixos
cement has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<nixo[m]> Linus: thanks, makes sense and works now
<nixo[m]> Aaand its fetching 2GB of data. Nice
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #31470: electrum: 2.9.3 -> 3.0.2 (master...electrum-3.0.1) https://git.io/vF2Ou
NixOS_GitHub has left #nixos []
<sphalerite> yeah all the deps in 32-bit
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #32599: libva: 1.7.3 -> 2.0.0 (master...u/libva) https://git.io/vbuHr
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 260 seconds)]
orivej has joined #nixos
dywedir has quit [(Remote host closed the connection)]
cement has joined #nixos
pie_ has joined #nixos
ma27 has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/cb751f9b1c3 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
peacememories has joined #nixos
<gchristensen> 17.09 budged!
asuryawa_ has joined #nixos
zzamboni has quit [(Ping timeout: 250 seconds)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
nahamu_ is now known as nahamu
magnetophon has quit [(Remote host closed the connection)]
magnetophon has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
szicari has joined #nixos
ylwghst has joined #nixos
dywedir has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
Maxdamantus has quit [(Ping timeout: 246 seconds)]
orivej has joined #nixos
<disasm> dhess: I tried that first, but it wasn't accepting routes until I specified the interface, not sure why. Anyways, only the external interface needs configured to accept routes.
<disasm> sphalerite: the reason for 2 is because 1 will only accept routes if forwarding is disabled. On a router, by definition you need to forward some packets.
Maxdamantus has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
phdoerfler has quit [(Quit: Leaving.)]
orivej has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
<sphalerite> gchristensen: yay!
phdoerfler has joined #nixos
<sphalerite> disasm: ah right
orivej has joined #nixos
<Ankhers> gleber_: ping
asdf_ has joined #nixos
<asdf_> Hi all. Is there a way to have a dummy runCommand that doesn't produce build output but prints stuff to stdout?
<asdf_> with import <nixpkgs> {}; runCommand "hi" { } '' echo "HI" ''
<asdf_> prints "HI" to stdout, but then complains about failing to produce an output path, which makes sense
<sphalerite> asdf_: not really. You could just touch $out or something to produce an empty output path
<asdf_> I'm basically hoping to have a reproducible shell script. This is an overly simplified example
<asdf_> Thanks sphalerite
<sphalerite> or direct its output to $out
<sphalerite> `exec &> >(tee $out)` before anything else — that way you get the output both on the build log and in the output path
nico202 has joined #nixos
<nico202> guys is relro/norelro/relro,now useless on nioxs?
kosmikus1 is now known as kosmikus
<nico202> in a nix shell all programs get compiled the same regardlass of the options
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vanschelven closed pull request #29281: trollius 1.0.4 -> 2.1 (master...trollius) https://git.io/v5Dnl
NixOS_GitHub has left #nixos []
mizu_no__ has joined #nixos
<asdf_> sphalerite: to have it run every time, is there a way to incorporate the `date` command?
cmiles74 has joined #nixos
<sphalerite> asdf_: You could put date in, but it breaks reproducibility. And nix won't pick up on it
<sphalerite> asdf_: if you want to rebuild to *make sure* it's reproducible, you can use --check when building it another time
<asdf_> Thanks!
<sphalerite> I thought reproducibility is what you're aiming for ;)
<asdf_> Sorry, it is. The more complicated version fo what I'm trying to do: reproduce the build environment to execute a script with dependencies. I'd like to have the same dependencies every time, but really the only "build output" should be some printing
<asdf_> I know I could go the ` nix-shell -p <dep> ` route, but I was hoping to have things tied up neatly with a default.nix file
Maxdamantus has quit [(Ping timeout: 260 seconds)]
<asdf_> Thanks again, sphalerite
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vbubG
<NixOS_GitHub> nix/1.11-maintenance c6e15c4 Eelco Dolstra: Disable shellcheck...
NixOS_GitHub has left #nixos []
Maxdamantus has joined #nixos
<sphalerite> that's pretty much exactly what nix-shell is for
<sphalerite> you can pass an expression to nix-shell instead of -p to get its build environment
<sphalerite> (which would satisfy your "tied up neatly with a default.nix file" want :)
<sphalerite> so basically, take what you already have, but instead of `nix-build`ing it you nix-shell --run "stuff" it
<asdf_> Sure, but then I have to remember to write the `--run "stuff"` portion on the command line, not specified in a file
<sphalerite> If you want it more streamlined you could also put a shellHook in which performs the actual tasks, and then optionally exits
<asdf_> Or in a separate script
sary has quit [(Ping timeout: 246 seconds)]
cybrian has joined #nixos
<sphalerite> or put a function doStuff in the shellHook and do `nix-shell --run doStuff`
<sphalerite> or make an actual doStuff script using writeScriptBin which you add to the shell derivation's buildInputs (which is nice because it doesn't depend on being invoked through nix-shell)
<DIzFer[m]> is shellHook documented anywhere?
<DIzFer[m]> a quick google is failing me
<DIzFer[m]> many thanks!
spacefrogg has left #nixos ["Killed buffer"]
spacefrogg has joined #nixos
<sphalerite> asdf_: do those options sound good?
<asdf_> They do, thanks sphalerite!
<sphalerite> oh, one more option! A script with a nix-shell shebang: https://nixos.org/nix/manual/#use-as-a-interpreter
<laggy_wifi_> i hate unicode
<sphalerite> (although I prefer the shell expression option, since it allows manipulating the inputs more easily)
<asdf_> Thanks, sphalerite; saw that before, but with the other options spelled out it's a good perspective
asdf_ has quit [()]
nico202 has quit [(Ping timeout: 268 seconds)]
nico202 has joined #nixos
sbjorn has quit [(Ping timeout: 255 seconds)]
dan_b has quit [(Ping timeout: 268 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
b has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #32598: postfix: 3.2.3 -> 3.2.4 (master...postfix) https://git.io/vbu9D
NixOS_GitHub has left #nixos []
orivej has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] earldouglas opened pull request #32601: jenkins: 2.93 -> 2.94 (master...jenkins-2.94) https://git.io/vbuhk
NixOS_GitHub has left #nixos []
__Sander__ has quit [(Quit: Konversation terminated!)]
orivej has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
thblt has joined #nixos
ertes has quit [(Quit: Bye!)]
<gchristensen> disasm: #nixos-on-your-router
seanparsons has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #32602: oslo-config: 4.13.2 -> 5.1.0 (master...pkgs/oslo-config/update) https://git.io/vbujq
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
seanparsons has joined #nixos
vidbina has joined #nixos
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
zzamboni has joined #nixos
bbarker has quit [(Ping timeout: 260 seconds)]
leat has quit [(Quit: WeeChat 1.9.1)]
zzamboni has quit [(Client Quit)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ed-packet has quit [(Quit: leaving)]
isHavvyGhosting has joined #nixos
peacememories has joined #nixos
isHavvy has quit [(Ping timeout: 260 seconds)]
<Guanin> hi, how do I write the dependencies for system.activationScripts.<name?>.deps?
coot_ has joined #nixos
sdhand is now known as Tanebobsled
<nico202> do any of you knows how to run a 32bit exe on 64bit? ldd is missing linux-gate.so.1
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/034bf234d69 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
Arcaelyx has quit [(Quit: Textual IRC Client: www.textualapp.com)]
vidbina has quit [(Ping timeout: 260 seconds)]
thblt has quit [(Ping timeout: 268 seconds)]
fikovnik has joined #nixos
Tanebobsled is now known as Sd-Nicholas
<fikovnik> a newbie question - what is the difference between all the firefox packages (e.g., firefox, firefox-bin, firefox-wrapper, firefox-unwrapped, firefox-bin-unwrapped)?
vidbina has joined #nixos
<hiroshi> Show package description
<hiroshi> nix-env -qa --description '.*firefox.*'
<hiroshi> that you have it fikovnik
jchia_1 has joined #nixos
thblt has joined #nixos
<fikovnik> hiroshi: I did that - but that does not really decode it for me
<fikovnik> I see the difference between source / bin builds
<fikovnik> but don't get the -wrapped, -unwrapped or Wrapped
<jchia_1> I'm a Arch Linux & Fedora user trying to learn Nix & NixOS by experimenting in a VM. On the download page https://nixos.org/nixos/download.html, there's the installation CDs and the VirtualBox appliance. Which will give me a better learning experience? Is there much value in going through the installation process?
<hiroshi> wrapper --> is a firefox with plugins
<fikovnik> jchia_1: I think it is useful to go through the whole process - the installation is actually really cool!
<Guest34783> fikovnik: Wrapped versions include a wrapper shell script that sets environment variables correctly so it can find its plugins
Guest34783 has quit [(Changing host)]
Guest34783 has joined #nixos
Guest34783 is now known as TweyII
<fikovnik> TweyII: would I ever wanted non wrapped version?
<TweyII> fikovnik: It's a pretty common pattern in Nix
<TweyII> Maybe for debugging?
<jchia_1> fikovnik: OK, thanks for the advise.
<TweyII> I think mostly -unwrapped is a dependency for the normal Firefox
MP2E has joined #nixos
<TweyII> Presumably firefox = firefox-unwrapped + various Firefox plugins + firefoxWrapper + some install hooks
<fikovnik> TweyII: ok, now it makes sense!
<fikovnik> TweyII: thanks!
<TweyII> NP
<fikovnik> what is the difference between nixos.<package> and nixpkgs.<package>?
<TweyII> fikovnik: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/firefox/packages.nix — usually reading the source is the way to go, at this stage
leat has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<TweyII> fikovnik: I believe that's just your channel name
<hiroshi> how many plugins do you use fikovnik
<fikovnik> hiroshi: I have widevine and h264
Guanin has quit [(Quit: Leaving)]
<fikovnik> TweyII: what do you mean by channel name - since the install I only added unstable, but I don't recall doing anything else with nix-channel
ylwghst has joined #nixos
<hiroshi> Oh I see
thblt has quit [(Ping timeout: 268 seconds)]
jchia_1 has quit [(Read error: Connection reset by peer)]
jchia_ has joined #nixos
globin has quit [(Ping timeout: 260 seconds)]
<joko> fikovnik: Typically it's nixpkgs on non-NixOS installations, where only nix is used, vs. nixos on NixOS
cybrian has joined #nixos
globin has joined #nixos
endformationage has joined #nixos
asuryawa_ has quit [(Remote host closed the connection)]
erasmas has joined #nixos
asuryawanshi has joined #nixos
steshaw has quit [(Quit: Connection closed for inactivity)]
erictapen has joined #nixos
thblt has joined #nixos
<fikovnik> joko: I read about that, but the confusing part is that I'm on nixos
Harpalus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mogorman opened pull request #32603: esniper: 2.33.0 -> 2.33.0-git (master...esniper-2.33.0-git) https://git.io/vbzYr
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee opened pull request #32604: skypeforlinux: 8.11.0.4 -> 8.11.76.8 (master...bump/skype) https://git.io/vbzYX
NixOS_GitHub has left #nixos []
szicari has quit [(Read error: Connection reset by peer)]
szicari has joined #nixos
alexteves has quit [(Quit: Textual IRC Client: www.textualapp.com)]
dan_b has joined #nixos
nico202 has quit [(Ping timeout: 248 seconds)]
nico202 has joined #nixos
Harpalus has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/vbz3t
<NixOS_GitHub> nix/1.11-maintenance 33d58a1 Eelco Dolstra: Bump version
NixOS_GitHub has left #nixos []
thblt has quit [(Remote host closed the connection)]
iyzsong has quit [(Ping timeout: 268 seconds)]
Sonarpulse has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ssmike has quit [(Ping timeout: 276 seconds)]
coot_ has quit [(Quit: coot_)]
ssmike has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<hodapp> can one get a URL to GitHub for a tarball of a specific commit ID?
<TweyII> hodapp: Yes
<samueldr> copy the zip url, replace .zip by .tar.bz2
<hodapp> TweyII: how?
<hodapp> ohhhh
rogue_koder has joined #nixos
<hodapp> cool, that's working
proteusguy has quit [(Ping timeout: 248 seconds)]
k0001 has joined #nixos
jb55 has joined #nixos
<TweyII> I think https://github.com/$user/$repo/archive/$commitish.tar.gz works for any $commitish
<TweyII> Or .zip or .bz2 or whatever you want
stranger__ has joined #nixos
<hodapp> I was just a bit confused since none of the UI seemed to expose any of this
<samueldr> it did in the past, but somehow it was remove (?!)
<hodapp> and I was looking around for any similar examples in nixpkgs but wasn't having much luck
<samueldr> if it's for nixpkgs, there is the fetchFromGithub helper that does it and handles the sometimes changing tar files
<samueldr> the tar/zip files from github *can* change, as in, not the contents, but the container
orivej has quit [(Ping timeout: 240 seconds)]
<k0001> Is there something like `builtins.fetchTarball` in `nixpkgs` taking a `sha256` argument? I know the `sha256` argument will be present in nix 1.12, but I'm not using that yet.
orivej has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
digitus has joined #nixos
<hodapp> samueldr: oh yeah, totally forgot about fetchFromGithub
civodul has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xrvdg opened pull request #32605: hl1110 : init at 3.0.1-1 (master...hl1110) https://git.io/vbznF
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
ssmike has quit [(Read error: Connection reset by peer)]
erictapen has quit [(Ping timeout: 240 seconds)]
nico202 has quit [(Ping timeout: 246 seconds)]
ssmike has joined #nixos
<clever> k0001: is this for fetching nixpkgs itself?
<k0001> clever: no, just some tarball from the web.
erictapen has joined #nixos
<clever> k0001: any reason you cant use a fetch function frin nixpkgs?
<hodapp> I am trying to install https://github.com/raghakot/keras-resnet as another repo tells me I need to do "pip install --user --upgrade", but there is no setup.py, so buildPythonPackage is complaining... is there any example in nixpkgs of handling something like this?
<k0001> clever: which one? `fetchurl` doesn't unpack the tarball automatically, I have to do it myself.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> k0001: and what does fetchzip do?
<hodapp> ugggggh, nevermind, there are two identically-named packages, I searched because no URL was provided, and I picked the wrong one
<clever> k0001: fetchzip will automatically unpack, and i think it supports both tar and zip
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vbzCM
<NixOS_GitHub> nixpkgs/master 5572de7 Bas van Dijk: containers: deny networkmanager from managing the ve-* and vb-* NICs...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #31888: containers: deny networkmanager from managing the ve-* and vb-* NICs (master...fix-containers-networkmanager) https://git.io/vF57x
NixOS_GitHub has left #nixos []
<k0001> clever: BUT!!!! it's called fetchzip!! Oh my, thanks, I had no idea that function worked with tar files as well :(
<clever> k0001: fetchzip just calls the normal unpackFile command that stdenv uses, it was originally meant for non-deterministic zip's, to hash the contents, rather then the zip itself
vidbina has quit [(Ping timeout: 276 seconds)]
alexteves has joined #nixos
tomster has joined #nixos
ma27 has quit [(Ping timeout: 246 seconds)]
<tomster> manveru: ayt?
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #32606: yoshimi: 1.5.4.1 -> 1.5.5 (master...yoshimi) https://git.io/vbzW4
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
<hodapp> is there an easy way to fetch from GitHub, but then proceed normally (e.g. with buildPythonPackage) specifically in a subdirectory of it?
<clever> hodapp: one sec
<clever> hodapp: you want to set the sourceroot like this: https://github.com/input-output-hk/cardano-sl/blob/master/pkgs/default.nix#L2777
rihards has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vbzlH
<NixOS_GitHub> nixpkgs/master 5eb4a83 Robert Helgesson: nixos containers: remove stray `,` from pattern...
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 255 seconds)]
<hodapp> thanks, that is working so far
<evangeline> Hi, when running VirtualBox, I'm gettting the following error: http://dpaste.com/1BJHXKH - it failed due to "libqxcb.so" library error, any ideas why this happens?
cybrian has joined #nixos
ma27 has joined #nixos
<goibhniu> that sounds a bit familiar evangeline, is your system up-to-date?
tmaekawa has joined #nixos
<evangeline> goibhniu: yeah, I've just updated everything in the system as well as in the user's profile ... the upgrade is the reason for the issue ...
fendor has quit [(Ping timeout: 268 seconds)]
<goibhniu> eek, maybe it's similar to https://github.com/NixOS/nixpkgs/issues/24256
vidbina has joined #nixos
<evangeline> goibhniu: yeah I found that, althrough there is no exact solution there ... except to reinstall VirtualBox, which I did, but I get the same issue.
<clever> evangeline: how did you install virtualbox?
<goibhniu> sorry, I think you'll need to rollback for now
<evangeline> clever: nixos-rebuild switch --upgrade
<clever> evangeline: and there is no virtualbox in nix-env?
<clever> evangeline: what about: ls -ld .nix-profile/lib/qt*
<evangeline> clever: there isn't, the "nix-env -q | grep -i virtualbox" produces no results
coot_ has joined #nixos
fendor has joined #nixos
<evangeline> clever: dr-xr-xr-x 3 root root 36 Jan 1 1970 /home/eleanor/.nix-profile/lib/qt4
<evangeline> dr-xr-xr-x 4 root root 32 Jan 1 1970 /home/eleanor/.nix-profile/lib/qt-5.9
<clever> evangeline: i suspect the qt 5.9 is the problem, are there any QT using programs in nix-env ?
<evangeline> clever: not sure
<evangeline> clever: probably yes, wireshark at least
<clever> evangeline: try uninstalling wireshark, then check if qt-5.9 is still present
oida has quit [(Ping timeout: 255 seconds)]
<evangeline> clever: could it be that nix-env uses unstable "nixpkgs http://nixos.org/channels/nixpkgs-unstable", while system uses stable "nixos https://nixos.org/channels/nixos-17.09" ?
<gchristensen> shouldn't, evangeline
<clever> evangeline: thats also very likely to cause it
<gchristensen> oh
<gchristensen> :$
<gchristensen> ack!
<clever> if you mix different QT's within nix-env and/or systemPackages, all qt apps break
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LightDiscord opened pull request #32607: discord: 0.0.2 -> 0.0.3 (master...patch-1) https://git.io/vbz8h
NixOS_GitHub has left #nixos []
<clever> and as i discovered yesterday, it can even break the entire desktop env, leaving you unable to login
<evangeline> clever: ok, let me switch back to stable in nix-env , which should downgrade certain things.
vidbina has quit [(Ping timeout: 255 seconds)]
<clever> due to this bug, i would advise that QT apps are only ever installed via systemPackages
<clever> they may temporarily work in nix-env, but can break anything at the next update
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #32608: KDE Frameworks 5.41 (master...kde-frameworks-5.41) https://git.io/vbz4G
NixOS_GitHub has left #nixos []
oida has joined #nixos
<clever> everything must be from the same nixpkgs, and nixos solves that in systemPackages
<evangeline> clever: btw, does nix-env use nixpkgs channel by default? Is there a way to tell it to use a different channel for the purpose of the current command?
<clever> evangeline: when you do `nix-env -iA nixos.wireshark` your telling it to use the channel called nixos
<clever> without the -A, its not clear which channel it uses, and its much much much slower
<evangeline> clever: how can I do "nix-env --upgrade '*'" from a certain channel ?
<clever> dont think thats possible, but there is a better trick
<clever> evangeline: using config.nix, you can create a set of packages, and then just nix-env -iA nixos.newstuff
<evangeline> btw: I didn't have a nixos channel, only nixpkgs, but the "nix-env -iA nixos.wireshark" still worked ok, why's that?
<clever> and nix will atomicly upgrade everything in that set
<clever> it will also look in the channels root has
cybrian has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
<evangeline> clever: modifying the channel and doing "nix-env --upgrade '*'" does nothing now, how can I downgrade to the stable version=
<clever> you either need to remove the channel you dont want, or switch to a config.nix like i pasted above
<evangeline> I removed the channel I don't want with nix-channel --remove, but the upgrade command doesn't have any effect on the system ...
<evangeline> Does that mean that everything is already up-to-date to the nixos channel (from root)?
<evangeline> That way, the other channels are not causing this issue, but something else must be at play here?
ThatDocsLady has quit [(Ping timeout: 276 seconds)]
jars-matey has joined #nixos
<evangeline> clever: also, after removing wireshark the qt-5.9 is not gone, which means some other packages are using it. Is there a way to query the system to tell me which packages are using this version of the qt library?
goibhniu has quit [(Ping timeout: 255 seconds)]
<clever> evangeline: nix-store -q --tree ~/.nix-profile/
<clever> evangeline: search for a QT thing with /qt, then follow the line up/left
<clever> ignore any qt things depending on other qt things
<jars-matey> Hi all! I'm new to nix, and I'm hoping for some help with an expression that builds on previous ones. I have expressions that build java jars as dependencies---call them dep0, dep1, etc. My final expression needs to build these, then include their names in a command, something like `java -cp dep0.jar dep1.jar main-thing-i-want-to-run`. How can I go about this? Thanks.
<evangeline> clever: there is a bunch of qt stuff in there, not really sure what to look for: https://ufile.io/20c6z
<clever> evangeline: i prefer gist for file storage, much simpler to download
<clever> oh, and why is that 3mb, lol
zzamboni has joined #nixos
<clever> evangeline: qgit is one of the things to blame
<clever> evangeline: yubikey-personalization-gui
<clever> evangeline: wpsoffice
k0001 has quit [(Quit: quit)]
<clever> evangeline: calibre
<makefu> when trying to build a python package i get a weird error with python3 but with python2 the package builds ( error: invalid command 'bdist_wheel' )
<makefu> anybody else had a similar behavior?
<clever> evangeline: smplayer
<evangeline> clever: will upload with gist next time; I've installed the packages you mentioned, the qt-5.9 is still there.
<clever> evangeline: try removing all of those (and optionally adding to systemPackages) then check qt-5.9 again
<clever> upgrading them will keep the qt-5.9 in place, but may point it to a newer version
<clever> which would just push the problem off into the future
fendor has quit [(Remote host closed the connection)]
<catern> jars-matey: You write a builder script (probably bash) which uses java -cp $dep0 $dep1 main-thing
<jars-matey> catern: thanks. And the values of $dep0, etc. are available to the builder script via statements like ` with dep0 ` ?
<catern> jars-matey: yep
<catern> though, is this a command that you want end users to be able to run? if that's the case then you could do this in some slightly more easy way
duncan^ has quit [(Quit: WeeChat 1.9.1)]
duncan^ has joined #nixos
<jars-matey> I've been tinkering with ` shellHook = '' it() { <your command here> } '' `, and then doing ` nix-shell --run it `
ghostyy has quit [(Read error: Connection reset by peer)]
ghostyy has joined #nixos
erictapen has quit [(Ping timeout: 250 seconds)]
erictapen has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb pushed 2 new commits to master: https://git.io/vbzEX
<NixOS_GitHub> nixpkgs/master cf58ab8 Lancelot SIX: qgis: 2.18.14 -> 2.18.15
<NixOS_GitHub> nixpkgs/master 095bcd1 Sarah Brofeldt: Merge pull request #32593 from lsix/update_qgis...
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
<srhb> Do people still cherry-pick -x when there's a merge conflict and just fix up the conflict, or is there a better way?
<jars-matey> Thanks catern, I got it going. Cheers!
<catern> great!
jars-matey has quit [()]
rburkholder has joined #nixos
vidbina has joined #nixos
cement has quit [(Ping timeout: 246 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
simendsjo has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/875eaf0821e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
alexteves has quit [(Ping timeout: 240 seconds)]
<bgamari> do the nix EC2 AMIs actually work?
<bgamari> I just tried launching one
<bgamari> it's be several minutes and it's still refusing connections on port 22
<bgamari> perhaps they were built without SSH support?
<gchristensen> are you certain your security groups are correctly configured?
alexteves has joined #nixos
<bgamari> the security group indeed allows TCP port 22 from 0.0.0.0/0
ssmike has quit [(Remote host closed the connection)]
<gchristensen> anything in the console output?
<bgamari> nope
ssmike has joined #nixos
<bgamari> system log appears to be empty
<bgamari> ahh
<gchristensen> (the one viewable from inside the AWS web console, or the aws CLI command `aws ec2 get-console-output`)
dan_b has quit [(Ping timeout: 248 seconds)]
<bgamari> I'm looking at a screenshot
<bgamari> it appears to be hung botting the kernel
<bgamari> the last line that made it to the console is "Booting the kernel."
chreekat has joined #nixos
<clever> bgamari: thats normal on aws, it doesnt print to the console you can screenshot
* bgamari tries a different hardware
<bgamari> clever, right, and the console suggests that it's hung in boot
<clever> what does the console say?
<bgamari> this was a c5.9xlarge instance
<bgamari> Decompressing Linux... Parsing ELF... Performing relocations... done.
<bgamari> Booting the kernel.
<bgamari> that is all
<clever> the image based screenshot just stops at "booting the kernel." for a working machine, get system log shows an actual boot log
<clever> yeah, the screenshot is useless
<clever> get the system log instead
<clever> its text based, and has a lot more info
<bgamari> it is empty
<clever> then the kernel never started writing to the xen console
<bgamari> alright, it seems that this is a quirk with the c5 hardware
<bgamari> t2.micro works
<clever> a quick check shows that nixos on aws boots with `console=ttyS0`
* bgamari tries c4
<clever> so the boot messages never go to the "GPU"
<bgamari> that being said
<bgamari> the system log is empty in the t2.micro instance as well
<bgamari> despite being accessible
<clever> is it nixos?, what does /proc/cmdline say about the console?
<bgamari> so it seems something is not right with the logging
<bgamari> yes, this is using the NixOS AMI listed on the download page for us-east-1
<bgamari> BOOT_IMAGE=(hd0,msdos1)/nix/store/8i1sk0wbwliz0rrpmcq19nm1xlyjn6zg-linux-4.9.52/bzImage systemConfig=/nix/store/y57zmysk359ygkdvl0xyx1li369g6nmi-nixos-system-unnamed-17.09.1483.d0f0657ca0 init=/nix/store/y57zmysk359ygkdvl0xyx1li369g6nmi-nixos-system-unnamed-17.09.1483.d0f0657ca0/init panic=1 boot.panic_on_fail console=ttyS0 loglevel=4
<bgamari> indeed it looks like the console is passed
pie_ has quit [(Ping timeout: 240 seconds)]
<clever> i'm not sure then
<bgamari> strangely enough *now* I see output
<clever> it may be delayed within the aws api's
<bgamari> propagation delay perhaps?
<bgamari> yeah
<chreekat> Can nixops not provision swap on ec2? My first effort was to create a blockDeviceMapping with fsType = swap, then use the same device in the (logical) machine's swapDevices config. But I don't think fsType = swap had effect - the ebs volume has no formatting
reinzelmann has joined #nixos
<clever> chreekat: there is a swapDevices option in nixos
<bgamari> clever, it appears that nixos and c5 hardware don't like one another
<bgamari> c4 hardware works
<clever> bgamari: ah, a bug may need to be filed in nixpkgs or nixops
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<chreekat> clever: but it had no effect, when I used it in the attempt described above
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cransom opened pull request #32611: gitless: init at 0.8.5 (master...gitless) https://git.io/vbzap
NixOS_GitHub has left #nixos []
<clever> chreekat: nixos will not try to format swap devices by default, there is another option for that
<clever> chreekat: https://nixos.org/nixos/options.html#swapdevices.*.size this one might work
cement has joined #nixos
sbjorn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 5 new commits to master: https://git.io/vbzV0
<NixOS_GitHub> nixpkgs/master 5581ba6 Thomas Tuegel: kdeFrameworks: 5.40.0 -> 5.41.0
<NixOS_GitHub> nixpkgs/master 145e0f9 Thomas Tuegel: Revert "Revert "qt5: 5.9.1 -> 5.9.3""...
<NixOS_GitHub> nixpkgs/master ae1ba39 Thomas Tuegel: taglib: 1.10 -> 1.11.1...
NixOS_GitHub has left #nixos []
<chreekat> My question is mainly about nixops. Can it provision a swap-formatted volume?
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<clever> i dont think nixops can format it as swap for you, nixos would need to do that at bootup
reinzelmann has quit [(Quit: Leaving)]
<joepie91> chreekat: not a direct answer to your question, but nixops itself has no concept of 'setting up a system' - provisioning logic is left entirely up to the provider plugin you're using and what it supports, and the generic NixOps functionality simply assumes that the provider plugin has *somehow* produced a functioning NixOS system that it can apply rebuilds to
<joepie91> chreekat: (this is why there are provider plugins that provision VMs, but why you can also point it at an *existing* NixOS system at any provider)
reinzelmann has joined #nixos
simendsjo has joined #nixos
<chreekat> joepie91: thanks, makes sense
<joepie91> chreekat: anyhow, deriving from that, anything you can do in a normal NixOS system rebuild, you can do with NixOps - additionally, on top of that you can do whatever your chosen provider/provisioning plugin supports :)
<joepie91> chreekat: (NixOps actually isn't that complex, I recommend having a skim through the source code to get an idea of how it works)
laggy_wifi_ has quit [(Read error: Connection reset by peer)]
laggy_wifi has joined #nixos
<chreekat> Of course there's some ambiguity in ownership: deployment.ec2.blockDeviceMapping.<device>.fsType *does* exist
<chreekat> So is it up to nixops or nixos to run mkfs/mkswap? Sounds like the state of the art is that I need to tell nixos to run mkswap
cybrian has joined #nixos
afics has quit [(Remote host closed the connection)]
<Li[m]> Editor (Simple generic text editor) - https://f-droid.org/app/org.billthefarmer.editor
<bgamari> huh
<bgamari> How does one use the nixos amis when the root filesystem is a mere 3GB?
<bgamari> are you supposed to remount /nix/store on a separate EBS device?
etu has quit [(Read error: Connection reset by peer)]
* bgamari feels as though he is missing some documentation somewhere
etu has joined #nixos
Neo-- has quit [(Ping timeout: 255 seconds)]
<gchristensen> the root FS should be like 3G/
<bgamari> right
colabeer has joined #nixos
<bgamari> which quickly fills up once you install just about anything
<bgamari> hence my confusion
<gchristensen> erm I'm sorry
<gchristensen> the root FS should be like 8G?
<bgamari> /dev/disk/by-label/nixos 3.0G 3.0G 0 100% /
<ben> can't you specify root fs size independent of which AMI you use?
<bgamari> that's what df says
<bgamari> ahh, yes
<bgamari> it seems you can
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
<gchristensen> bgamari: https://nixos.org/nixops/manual/#opt-deployment.ec2.ebsInitialRootDiskSize
pie_ has joined #nixos
<bgamari> yes, perhaps I should just be using nixops
<gchristensen> well you can see what that does
<gchristensen> and then just do that
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<bgamari> indeed you can change the size of the root EBS volume
<ben> You can do it with non-nixops ways to deploy ec2 instances too :)
<gchristensen> bgamari: https://search.nix.gsc.io/?q=ebsInitialRootDiskSize&i=nope&files=&repos= looks like it doesn't do anything other than specify the root disk size on instance creation
<bgamari> sure
<gchristensen> from there, it seems like it should "just work"
<bgamari> gchristensen, thank you!
<ben> Has anyone experimented with using EFS to back /nix/store? Does that make sense at all?
<gchristensen> :)
<gchristensen> ben: I wouldn't use EFS period, imo :)
<ben> oh, ok
<gchristensen> but in general there are issue about using nix daemon on a host with a shared /nix/store, like EFS would be
<gchristensen> (my bias against EFS is that POSIX FS rules are very hard to make work across multiple instances, and I'd rather not tempt fate... that is all.)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/vbzoB
<NixOS_GitHub> nixpkgs/master dc6f3e3 John Wiegley: coqPackages_8_7.QuickChick: update to latest master
NixOS_GitHub has left #nixos []
<cransom> i'll agree but just ont he grounds that you are crazy if you are ok with /bin/bash being on a networked file system.
<ben> It probably spends most of the time in main memory, doesn't it
<ben> Isn't just about everything on a networked file system on EC2?
<ben> Like, EBS?
<gchristensen> EBS isn't a networked file system, it is a networked block device
<srhb> It's not the distance but the saharing.
<srhb> ...
<catern> I wonder if there's a networked POSIX FS which is optimized for being read-only everywhere, and writable only in one place?
<gchristensen> srhb++
* srhb gives up typing for the day
<catern> That would work for the nix-daemon
<ben> I see
<catern> Does anyone know of such a thing?
<chreekat> clever: Setting swapDevices.*.size did in fact cause swap to get formatted and activated. Seems a bit roundabout
<chreekat> Especially since I specify the size of the blockDevice as '2' in the machine description, while separately specifying the size of swap as '2048' in the logical machine description
ylwghst has quit [(Remote host closed the connection)]
peacememories has joined #nixos
ylwghst has joined #nixos
<clever> chreekat: the .size option is meant to be used on swap files
stranger__ has quit [(Quit: Connection closed for inactivity)]
mbrgm has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<clever> chreekat: if the swap (device|file) doesnt exist, it will create it, and try to use dd/fallocate/truncate to set the size
<clever> then it will format it with mkswap
<clever> ah, stat thinks the swap device is 0 bytes, so it tries to extend the file with fallocate, which fails
<clever> so it thinks fallocate isnt supported, and tries to use dd
<clever> which just writes to the "tail" end of the swap device
<clever> as long as the size you specified is less then (or equal) to the block device, it will succeed
<clever> line 197 tries to shrink the file, but stat wrongly claimed the original size was 0, so it never shrinks
<clever> then 201 formats
marsam has joined #nixos
<clever> chreekat: randomEncryption.enable would also be an option, that formats the swap partition every time, without trying to set the size
vidbina has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Remote host closed the connection)]
ylwghst has joined #nixos
<chreekat> Well. I think I know what I want: Just like nixops plugins extends fileSystems, I'd like them to extend swapDevices, e.g. swapDevices.*.ec2.{size,label}. Does that sound reasonable?
<clever> yeah
<chreekat> Cool, maybe I can try to poke at that
cybrian has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb closed pull request #32597: Add syncplay 1.5.0 (master...add/syncplay) https://git.io/vbuSL
NixOS_GitHub has left #nixos []
alexteves has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
tomster has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vbz6S
<NixOS_GitHub> nixpkgs/master faf13b6 Raymond Gauthier: vscode-extension-ms-python-python: Init at 0.8.0
<NixOS_GitHub> nixpkgs/master 1817ec7 Frederik Rietdijk: Merge pull request #31221 from jraygauthier/jrg/vscode-ext-python...
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/vbz6d
<NixOS_GitHub> nixpkgs/master 3c032f0 makefu: pythonPackages.ruamel_yaml: enable build for Python2
<NixOS_GitHub> nixpkgs/master ba19c2d makefu: pythonPackages.dateparser: 0.3.2-pre-2016-01-21 -> 0.6.0
<NixOS_GitHub> nixpkgs/master de31058 Frederik Rietdijk: Merge pull request #32591 from makefu/pkgs/dateparser/update...
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vbzia
<NixOS_GitHub> nixpkgs/staging 19dbfb6 Tristan Carel: boost: build Python numpy extension by default...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #32414: Enh/boost with numpy extension (master...enh/boost-with-numpy-extension) https://git.io/vbWuJ
NixOS_GitHub has left #nixos []
aw has quit [(Ping timeout: 268 seconds)]
marsam has quit [(Ping timeout: 246 seconds)]
aw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vbzPf
<NixOS_GitHub> nixpkgs/staging c2b6795 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
cybrian has joined #nixos
marsam has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
ylwghst has quit [(Ping timeout: 248 seconds)]
ylwghst has joined #nixos
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
babyflakes has quit [(Quit: Connection closed for inactivity)]
isHavvy has joined #nixos
Isorkin_ has joined #nixos
capisce_ has joined #nixos
posco has quit [(Read error: Connection reset by peer)]
pikajude has quit [(Ping timeout: 255 seconds)]
metaphysician has quit [(Ping timeout: 248 seconds)]
wrl has joined #nixos
magnetop` has joined #nixos
aw has quit [(Ping timeout: 248 seconds)]
duncan^ has quit [(Ping timeout: 248 seconds)]
oida has quit [(Ping timeout: 248 seconds)]
leat has quit [(Ping timeout: 248 seconds)]
obadz has quit [(Ping timeout: 248 seconds)]
Enzime has quit [(Ping timeout: 248 seconds)]
DavidEGrayson has quit [(Ping timeout: 248 seconds)]
boxofrox has quit [(Ping timeout: 248 seconds)]
Isorkin has quit [(Ping timeout: 248 seconds)]
iMatejC has quit [(Ping timeout: 248 seconds)]
rsa has quit [(Ping timeout: 248 seconds)]
Sigma has quit [(Ping timeout: 248 seconds)]
otti has quit [(Ping timeout: 248 seconds)]
aw has joined #nixos
JameySharp[m] has quit [(Ping timeout: 248 seconds)]
moredread[m] has quit [(Ping timeout: 248 seconds)]
Elephant454[m] has quit [(Ping timeout: 248 seconds)]
indefini has quit [(Ping timeout: 248 seconds)]
florianjacob has quit [(Ping timeout: 248 seconds)]
bendlas has quit [(Ping timeout: 248 seconds)]
zzamboni1 has joined #nixos
rummik has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Ping timeout: 248 seconds)]
ylwghst has quit [(Ping timeout: 248 seconds)]
colabeer has quit [(Ping timeout: 248 seconds)]
cement has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Ping timeout: 248 seconds)]
isHavvyGhosting has quit [(Ping timeout: 248 seconds)]
b has quit [(Ping timeout: 248 seconds)]
magnetophon has quit [(Ping timeout: 248 seconds)]
gerschtli has quit [(Ping timeout: 248 seconds)]
himmAllRight has quit [(Ping timeout: 248 seconds)]
_rvl has quit [(Ping timeout: 248 seconds)]
gfixler has quit [(Ping timeout: 248 seconds)]
joshie has quit [(Ping timeout: 248 seconds)]
pSub has quit [(Ping timeout: 248 seconds)]
heath has quit [(Ping timeout: 248 seconds)]
wrl_ has quit [(Ping timeout: 248 seconds)]
barrucadu has quit [(Ping timeout: 248 seconds)]
amfl has quit [(Ping timeout: 248 seconds)]
_cyril_ has quit [(Ping timeout: 248 seconds)]
layus has quit [(Ping timeout: 248 seconds)]
Vorpal has quit [(Ping timeout: 248 seconds)]
edef has quit [(Ping timeout: 248 seconds)]
capisce has quit [(Ping timeout: 248 seconds)]
nikivi has quit [(Ping timeout: 264 seconds)]
adva[m] has quit [(Ping timeout: 248 seconds)]
jtojnar has joined #nixos
corngood has quit [(Ping timeout: 248 seconds)]
berot3[m] has quit [(Ping timeout: 248 seconds)]
Pneumaticat has quit [(Ping timeout: 248 seconds)]
demyan[m] has quit [(Ping timeout: 248 seconds)]
itorres has quit [(Ping timeout: 248 seconds)]
spacekitteh[m] has quit [(Ping timeout: 248 seconds)]
Barnabas[m] has quit [(Ping timeout: 248 seconds)]
posco has joined #nixos
himmAllRight has joined #nixos
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
cement has joined #nixos
CodingWithClass has quit [(Ping timeout: 240 seconds)]
joshie has joined #nixos
edef has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [(Changing host)]
barrucadu has joined #nixos
b has joined #nixos
gerschtli has joined #nixos
marsam has quit [(Ping timeout: 255 seconds)]
duncan^ has joined #nixos
aarvar has joined #nixos
pikajude has joined #nixos
Enzime has joined #nixos
obadz has joined #nixos
nikivi has joined #nixos
CodingWithClass has joined #nixos
demyan[m] has joined #nixos
iMatejC has joined #nixos
_rvl has joined #nixos
amfl has joined #nixos
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
layus has joined #nixos
DavidEGrayson has joined #nixos
moredread[m] has joined #nixos
Elephant454[m] has joined #nixos
JameySharp[m] has joined #nixos
indefini has joined #nixos
boxofrox has joined #nixos
_cyril_ has joined #nixos
metaphysician has joined #nixos
rummik has joined #nixos
Sigma has joined #nixos
adva[m] has joined #nixos
corngood has joined #nixos
bendlas has joined #nixos
leat has joined #nixos
berot3[m] has joined #nixos
Barnabas[m] has joined #nixos
florianjacob has joined #nixos
itorres has joined #nixos
Pneumaticat has joined #nixos
rsa has joined #nixos
spacekitteh[m] has joined #nixos
cement has quit [(Ping timeout: 248 seconds)]
ylwghst has joined #nixos
heath has joined #nixos
otti has joined #nixos
oida has joined #nixos
Mateon1 has quit [(Remote host closed the connection)]
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
Mateon1 has joined #nixos
Vorpal has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Quit: Leaving)]
Bane^ has quit [(Ping timeout: 260 seconds)]
gfixler has joined #nixos
<maurer> Does anyone know of a way to use tmux/screen inside a nix-shell that doesn't massively corrupt the nix prompt?
<maurer> I know I can start screen first, and then nix-shell inside each, but I frequently find myself already in a nix-shell, and wanting to spawn off a separate terminal in exactly this environment
<maurer> s/nix prompt/bash prompt/g
<maurer> (it breaks tab completion, prompt displays wrong, etc)
Itkovian has joined #nixos
Bane^ has joined #nixos
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
dfranke has quit [(Quit: Lost terminal)]
coot_ has quit [(Quit: coot_)]
<gchristensen> I'm not 100% sure but try putting bashInteractive in your nix-shell too
<gchristensen> like `nix-shell -p bashInteractive`
jb55 has quit [(Ping timeout: 248 seconds)]
<maurer> gchristensen: How do I compose that with a shell.nix?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #32614: empathy: re-init (master...empathy) https://git.io/vbzS0
NixOS_GitHub has left #nixos []
<maurer> Or do I have to add bashInteractive to the shell.nix then?
<gchristensen> yeah, put bashInteractive in buildInputs there too
<maurer> Does not solve the problem
<maurer> Let me see if I can repro without shell.nix
<maurer> Yeah
<maurer> if you just do "nix-shell -p bashInteractive"
<maurer> then run screen
<maurer> You'll see:
<maurer> 1.) The prompt on the left is now corrupted by incorrect escaping
<maurer> 2.) If you type and hit tab, it will insert an _actual_ tab
<maurer> screen followed by nix-shell works fine
<gchristensen> :?
<gleber_> Ankhers: pong
steshaw has joined #nixos
<gchristensen> maurer: try `SHELL=$(which bash) screen`
<maurer> Same behavior
<gchristensen> that fixed it for me...
<maurer> :/
<MP2E> I use zsh and urxvt so I don't know if my solution is directly relevant to your problem, but I had issues with incorrect escaping when using tmux, ssh, nix-shell, basically anything up til I put this line in my .zshrc
<MP2E> 'export TERM="rxvt-256color"'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] LnL7 opened pull request #1731: don't copy path if it's already a (top-level) store path. (master...copy-store-path) https://git.io/vbz9D
NixOS_GitHub has left #nixos []
<MP2E> from what I recall, the terminfo file for rxvt-unicode isn't able to be found for some reason that I didn't bother tracking down :v
<MP2E> so I just use a 'hack' by referencing a similar one
<MP2E> seems to work
<MP2E> not ideal though
jb55 has joined #nixos
<maurer> Ah, I didn't combine the two
<maurer> If you include bashInteractive
<maurer> _AND_ export SHELL as you described
<maurer> it'll work
<gchristensen> yeah because nix-shell sets SHELL to the crippled bash
glenn_ has joined #nixos
zzamboni1 has quit [(Ping timeout: 276 seconds)]
<gchristensen> (is that insensitive? it sets SHELL to a reduced-featureset bash)
cybrian has joined #nixos
<gchristensen> maurer: in your shell.nix, you can add shellHook = "SHELL=${pkgs.bashInteractive}/bin/bash" to "fix" it automatically
simendsjo has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #32614: empathy: re-init (master...empathy) https://git.io/vbzS0
NixOS_GitHub has left #nixos []
danimal has joined #nixos
szicari has quit [(Ping timeout: 248 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
glenn_ has quit [(Remote host closed the connection)]
sary has joined #nixos
glenn_ has joined #nixos
<sphalerite> gchristensen: non-interactive seems the least roundabout way to say it :p
mizu_no__ has joined #nixos
<dtz> interinactive
<dtz> intraactive
<dtz> O:)
<gchristensen> intractable
<sphalerite> MP2E: if you have urxvt installed the terminfo definitions should be included too
<sphalerite> dtz: interpassive
zzamboni has joined #nixos
<dtz> bash-interpassive
<dtz> xD
<MP2E> right yeah, no idea why it doesn't seem to work
<MP2E> but it doesn't, not doing anything fancy other than just using SSH to break things, either
<catern> it would be nice if you could configure the derivation driving nix-shell itself, so that you could have it use bashInteractive or zsh or anything
<dtz> i suppose if we're being less silly, "batch" is often used to differentiate between "interactive" use lol
<catern> the derivation backing the nix-shell binary that is
glenn_ has quit [(Ping timeout: 255 seconds)]
glenn_ has joined #nixos
<catern> I guess the reason it doesn't default to bashInteractive is to shrink the closure
<sphalerite> MP2E: is urxvt installed on the remote end?
<sphalerite> catern: nixUnstable does default to bashInteractive for nix-she
<MP2E> yep, to be explicit, both are installed via /etc/nixos/configuration.nix on both machines
jb55 has joined #nixos
<MP2E> (they actually have quite similar configuration.nix files)
asuryawanshi has quit [(Ping timeout: 268 seconds)]
dan_b has joined #nixos
glenn_ has quit [(Read error: Connection reset by peer)]
glenn_ has joined #nixos
TweyII has quit [(Ping timeout: 246 seconds)]
magnetop` has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Ping timeout: 268 seconds)]
ylwghst has quit [(Remote host closed the connection)]
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
MP2E has quit [(Remote host closed the connection)]
mizu_no__ has joined #nixos
MP2E has joined #nixos
dan_b has quit [(Ping timeout: 260 seconds)]
Ross has quit [(Ping timeout: 260 seconds)]
Ross has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
hiratara has quit [(Ping timeout: 240 seconds)]
hiroshi has quit [(Ping timeout: 248 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
kgz has joined #nixos
glenn_ has quit [(Remote host closed the connection)]
hiratara has joined #nixos
Neo-- has joined #nixos
glenn_ has joined #nixos
erictapen has quit [(Ping timeout: 268 seconds)]
hiroshi has joined #nixos
erictapen has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
glenn_ has quit [(Ping timeout: 248 seconds)]
coot_ has joined #nixos
Unode has quit [(Read error: Connection reset by peer)]
cmiles74 has quit [(Ping timeout: 255 seconds)]
Unode has joined #nixos
ma27 has quit [(Ping timeout: 255 seconds)]
Unode has quit [(Read error: Connection reset by peer)]
Unode has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] xvapx opened pull request #32615: nodePackages.asar: init at 0.14.0 (master...asar) https://git.io/vbzxf
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] TravisWhitaker opened pull request #32616: bazel: bash needs to be in buildInputs (master...bazel-bash) https://git.io/vbzxO
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
mekeor has joined #nixos
ssmike1 has joined #nixos
cybrian has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
ssmike has quit [(Ping timeout: 276 seconds)]
ssmike1 is now known as ssmike
hiratara has joined #nixos
<mekeor> in an overlay, how do i reference a package from a specific channel? i tried 'super.nixos-unstable.oraclejre' but i get "error: attribute ‘nixos-unstable’ missing".
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #32618: make-disk-image: Support creating EFI images (master...makediskimage-efi) https://git.io/vbzpS
NixOS_GitHub has left #nixos []
<gchristensen> $ nix-shell -p nix-info --run nix-info
<gchristensen> system: "aarch64-linux", multi-user?: no, version: nix-env (Nix) 1.11.16, channels(ubuntu): "nixpkgs-18.03pre122433.8a7b2f889dd", nixpkgs: /home/ubuntu/.nix-defexpr/channels/nixpkgs
<gchristensen> Dezgeg: ^
jb55 has quit [(Ping timeout: 240 seconds)]
<Judson> Is there a solution to opening links in my running Chrome? I can't even quite characterize how that goes wrong.
rihards has quit [(Quit: rihards)]
<Judson> Just "at some point after login e.g. pidgin opens a brand new Chrome to open links in"
<Judson> The least irritating consequence of which is that media keys stop working.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #32619: signal-desktop-beta: init at 1.1.0-beta.5 (master...signal-desktop-beta) https://git.io/vbzhX
NixOS_GitHub has left #nixos []
<gchristensen> Dezgeg: ok I think we should merge https://github.com/NixOS/nixpkgs/pull/32031/files
<Dezgeg> yeah sounds like it
* gchristensen presses merge
peacememories has joined #nixos
Ross has quit [(Ping timeout: 260 seconds)]
<m0rphism> Hi, I'm wondering if there is a way to automatically find the .nix-files involved in an nixpkgs attribute. I often find it usefull to read the package source but finding the correct default.nix file by hand can be quite tedious.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vbzjG
<NixOS_GitHub> nixpkgs/master 3cad1ab Graham Christensen: Merge pull request #32031 from NixOS/unstable-aarch64...
NixOS_GitHub has left #nixos []
Ross has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc deleted unstable-aarch64 at 08b8bc2: https://git.io/vbzjB
NixOS_GitHub has left #nixos []
orivej has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<LnL> nix-shell -p nixUnstable --run 'nix edit nixos.hello'
<mekeor> LnL: who are you talking to?
<LnL> m0rphism's question
<m0rphism> LnL: hmm, on my machine this doesn't find the nixos attribute
<LnL> if you're not on nixos it's probably nixpkgs.hello
<m0rphism> LnL: Awesome, that works! :)
<m0rphism> LnL: Oddly, I am on NixOS but it's still nixpkgs
jluttine has quit [(Ping timeout: 268 seconds)]
simukis has quit [(Ping timeout: 240 seconds)]
<m0rphism> LnL: Thanks a lot for the help!
<LnL> oh indeed
<LnL> nice, it uses NIX_PATH instead of the channel name now
jluttine has joined #nixos
jb55 has joined #nixos
coot_ has quit [(Quit: coot_)]
<mekeor> LnL: do you know a solution to my problem? because if you
<mekeor> are LnL7 on github, you should have experience
<LnL> I was going to look for that :)
hotfuzz has joined #nixos
<LnL> you have to import the channel explicitly, but that example does exactly that
marsam has joined #nixos
dywedir has quit [(Ping timeout: 248 seconds)]
<mekeor> LnL: the only difference is that i'm using per-user overlays
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<LnL> you can just add the let statement after the arguments
<mekeor> 'nix-channel --list' gives me "nixos-unstable https://nixos.org/channels/nixos-unstable" as user
<mekeor> so, i guess, i have to use <nixos-unstable> instead of <nixpkgs-unstable>
<LnL> use whatever name you used for the channel, so just unstable in your case
justbeingglad has joined #nixos
justbeingglad has left #nixos []
cybrian has joined #nixos
<mekeor> LnL: yeah, that result in "# error: file ‘nixos-unstable’ was not found in the Nix search path" -- https://gist.github.com/mekeor/a9c7d52dfb39b771b0eebf134bce93a5
<mekeor> although, as i said, 'nix-channel --list' gives me "nixos-unstable https://nixos.org/channels/nixos-unstable" as user
<LnL> oh mb, did you also run --update?
<LnL> otherwise it won't exist yet
<Ankhers> gleber_: Do you have time a bit of time to talk about the *2nix projects?
<mekeor> LnL: yes, i did that. i did it again. still same error
<LnL> hmm
<clever> mekeor: what is $NIX_PATH ?
<LnL> wait, user channels are not included in NIX_PATH by default
<evangeline> hi, is ksnapshot no longer part of nixos, I can't find it in nixpkgs?
<mekeor> clever: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<mekeor> whut
<LnL> yeah, that's the problem
<mekeor> why is it ".../per-user/root/..."?
jb55 has quit [(Read error: Connection reset by peer)]
<clever> mekeor: thats just the default value
<clever> mekeor: so only channels added by root are visible via the search path
<mekeor> uh,
<mekeor> so, 'sudo nix-channel --add ...; sudo nix-channel --update' should do it, right?
<clever> yeah
<mekeor> cool
erictapen has quit [(Ping timeout: 264 seconds)]
<LnL> yep, nix-env has different behaviour. that's the only thing that will find user channels by default
<mekeor> seems to work! whoo =) thank you!
Neo-- has quit [(Ping timeout: 272 seconds)]
<mekeor> actually, i wanted to use oraclejre from unstable channel because i thought i could work-around this http://sprunge.us/UOAN error
<mekeor> but apparently it persists
bennofs has joined #nixos
bennofs has quit [(K-Lined)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bennofs has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
jb55 has joined #nixos
jb55 has quit [(Read error: Connection reset by peer)]
erictapen has joined #nixos
lambdamu has quit [(Quit: Bye)]
lambdamu has joined #nixos
dan_b has joined #nixos
marsam has quit [(Remote host closed the connection)]
mekeor has quit [(Quit: digital revolution = cryptoanarchism + cybercommunism)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 4 new commits to master: https://git.io/vbgkc
<NixOS_GitHub> nixpkgs/master 76bf375 Vladimír Čunát: stdenv checkMeta: throw -> trace...
<NixOS_GitHub> nixpkgs/master 3a110ea Vladimír Čunát: treewide platform checks: `abort` -> `throw`...
<NixOS_GitHub> nixpkgs/master f33a513 Graham Christensen: stdenv: allow specifying a eval issuee handler
NixOS_GitHub has left #nixos []
cybrian has joined #nixos