betaboon has quit [(Quit: This computer has gone to sleep)]
eacameron has quit [(Ping timeout: 260 seconds)]
jgertm has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
johnsonav has joined #nixos
hellrazo1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vHIpu
<NixOS_GitHub> nixpkgs/master 427e749 Robin Gloster: pythonPackages.pants: remove warning...
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
hellrazor has quit [(Ping timeout: 246 seconds)]
nevermind has joined #nixos
tilpner has quit [(Quit: :wq)]
eacameron has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vHIp5
<NixOS_GitHub> nixpkgs/master f8b0a25 Robin Gloster: acpid: 2.0.27 -> 2.0.28
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
takle has joined #nixos
acarrico has quit [(Ping timeout: 268 seconds)]
tilpner has joined #nixos
cement has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
Zer000 has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
systemfault has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 5 new commits to master: https://git.io/vHLeB
<NixOS_GitHub> nixpkgs/master 3e60c2e Robin Gloster: aeolus: 0.9.0 -> 0.9.5
<NixOS_GitHub> nixpkgs/master e22673a Robin Gloster: aescrypt: 3.0.9 -> 3.13
<NixOS_GitHub> nixpkgs/master 17a7ea7 Robin Gloster: aha: 0.4.10.2 -> 0.4.10.6
NixOS_GitHub has left #nixos []
fifo23 has quit [(Read error: Connection reset by peer)]
fifo23 has joined #nixos
Guest57256 has quit [(Quit: WeeChat 1.8)]
vaibhavsagar has joined #nixos
stallion has joined #nixos
<stallion> evening all - general question - if I have an expression similar to all-packages.nix, is there a simple way I can add all declared packages as a buildInput?
<gchristensen> attrValues maybe
<stallion> i have a private set of packages i'm using for a development environment and rather than explicitly list everything in two places, I'd rather just nab everything defined in custom-packages.nix instead
<clever> stallion: you may want newScope more
<stallion> newScope? that's new to me
<stallion> any place I can rtfm?
<clever> when you call newScope on an attrset, it returns a new instance of callPackage
<clever> in this example, it will search self. first, then pkgs.
<stallion> interesting
<clever> so if i use the new callPackage to load my own default.nix files, and put them all into the self set
<clever> they can depend on eachother, as if they where in nixpkgs
mizu_no_oto has joined #nixos
<clever> this includes a custom fuse program, and a full nixos vm that has the program pre-installed
<stallion> makes sense
simukis has quit [(Quit: simukis)]
<stallion> what i'd like to do is avoid line 8
<stallion> and just install everything declared in self under root.nix
<clever> ah
<gchristensen> attrValues
<clever> but then it ma also depend on itself
<clever> may*
<stallion> gchristensen: i'm grepping furiously ;)
<gchristensen> stallion: https://search.nix.gsc.io/?q=attrValues first result
<stallion> ah! thanks
<gchristensen> :)
acertain has joined #nixos
sigmundv has quit [(Remote host closed the connection)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nevermind has joined #nixos
s33se has joined #nixos
koserge has quit [(Ping timeout: 240 seconds)]
s33se_ has quit [(Ping timeout: 240 seconds)]
<Rotaerk> "i'm grepping furiously" sounds wrong
eacameron has joined #nixos
* stallion shrugs
<stallion> gchristensen: worked like a charm. thanks!
<gchristensen> nice
lambdamu_ has joined #nixos
Raimondi has quit [(Read error: Connection reset by peer)]
justelex_ has joined #nixos
Raimondi has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Read error: Connection reset by peer)]
jgertm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
matthewbauer has joined #nixos
Ethin has joined #nixos
<Ethin> I have a problem that I can't figure out.
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<Ethin> I'm trying to build GCC from source (manually) but it keeps saying that GNAT isn't found. So I just download GNAT from the AdaCore website (the gnat package didn't work either) and extracted it. After I installed it and tried to execute it acted like the gnat/gnatmake files didn't exist, yet when I use file it clearly shows it does exist. And ls does too.
<clever> the ld.so path isnt right, they need to be patchelf'd
nevermind has joined #nixos
<clever> or installed with nix
shanemikel has joined #nixos
<Ethin> How do I fix the LD paths?
<Ethin> How would I do it with patchelf?
<clever> patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"
<Ethin> Oh, wait, nevermind..
derjohn_mob has joined #nixos
marusich has joined #nixos
<Ethin> I just used nix-env cause it was available but file tells me that /run/current-system/sw/bin/nix-env (which symbolically links to /nix/store/jr12p9ziwwj9flw2g1l7d9r6r585s9h5-nix-1.11.8/bin/nix-env) uses the interpreter /nix/store/vn6fkjnfps37wa82ri4mwszwvnnan6sk-glibc-2.25/lib/ld-linux-x86-64.so.2. Would I use patchelf --set-interpreter /nix/store/vn6fkjnfps37wa82ri4mwszwvnnan6sk-glibc-2.25/lib/ld
<Ethin> -linux-x86-64.so.2 on every executable file?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vHLUu
<NixOS_GitHub> nixpkgs/master 38625a8 Robin Gloster: ibus: 1.5.14 -> 1.5.16...
NixOS_GitHub has left #nixos []
hexagoxel has quit [(Ping timeout: 260 seconds)]
sellout- has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fifo23 has quit [(Remote host closed the connection)]
hexagoxel has joined #nixos
fifo23 has joined #nixos
darlan has joined #nixos
mw has quit [(Ping timeout: 240 seconds)]
fifo23 has quit [(Ping timeout: 246 seconds)]
nevermind has joined #nixos
mw has joined #nixos
shanemikel_ has joined #nixos
<disasm> Ethin: yeah, good chance you'll need to change rpath to for any libraries linked.
<Ethin> To what?
<Ethin> The interpreter?
<Ethin> But what do I set the RPATH to?
<disasm> Ethin: you can use readelf to figure that out...
<Ethin> :D
<Ethin> Or I can use patchelf with the --print-rpath option.
marusich has quit [(Ping timeout: 246 seconds)]
<Ethin> I'd have to test the gnat compiler. Hmm..
<Ethin> I see the problem now: /home/ethin/gnat-gpl-2016-x86_64-linux-bin/bin/../libexec/gcc/x86_64-pc-linux-gnu/4.9.4/ld: cannot find crtn.o: No such file or directory
<disasm> yup, so you need to install crtn.o into the nix store somewhere, and then change the rpath to have the full nix store path for that library
<Ethin> The question is, which nix package has that file?
<disasm> Ethin: what's the reason for building gcc from source manually?
<Ethin> I like latest software but also like the declarative-ness of NixOS.
<Ethin> :)
yegods has quit [(Remote host closed the connection)]
<Ethin> And the gnat package is quite out-of-date anyway.
<disasm> just override the gcc package :)
cpennington has quit [(Remote host closed the connection)]
<disasm> that'll be a heck of a lot easier than trying to patchelf gnat to compile gcc
<Ethin> So I'd just clone the nixpkgs repo and go from there?
<Ethin> I could use gcc6, too, although GCC7 does remove libjava and gcj because it was no longer being maintained and hasn't been maintained since... what, 2012 or something?
<Ethin> Or maybe it was 2004.. not really sure atm.
<spacekitteh[m]> peti:
<disasm> Ethin: 4.9.4 is in 17.03 as well, so you should be able to just install it
<disasm> 6.3.0 is there as well
<spacekitteh[m]> peti: is there a reason why the graph-rewriting package in the hackagePackages set hasn't been bump to its latest version? it's weird
<Ethin> disasm: That's true, but the only gnat version is 4.5.4. And when I do that it conflicts with GCC 4.9.4/5.4.0/6.3.0. So then I have to set priorities.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
yegods has joined #nixos
<spacekitteh[m]> nevermind, it seems it does, but it's not on nixpkgs-unstable yet
nevermind has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<spacekitteh[m]> but why wouldn't it be shown in hydra?
yegods has quit [(Remote host closed the connection)]
<disasm> Ethin: I don't see 7 yet, but seems something ghc related broke my test on travis... other than pushing another commit is there any way to force a recheck
<disasm> bleh, 2 messages in one there
<Ethin> Lol
<disasm> seems something ghc related broke my test on travis... other than pushing another commit is there any way to force a
<Ethin> Perhaps we can update the gcc6 default.nix file to work with GCC7?
<disasm> copy paste is not my friend :)
<disasm> https://github.com/NixOS/nixpkgs/pull/25907 -- this is the PR I'm referring to.
<Ethin> It hates you, I see..
<Ethin> Which commit is that?
nckx has quit [(Quit: restarting my GuixSD server)]
<disasm> Ethin: what I would do if I were you is clone nixpkgs, create a pkgs/development/compilers/gcc/7 directory and start from the default.nix in gcc/6 as a starting point.
<Ethin> Good idea. I'd have to remove a lot of java-specific stuff, but there's not much to change.
nckx has joined #nixos
<disasm> Ethin: you also need to add it to pkgs/top-level/all-packages.nix (search for gcc6 in there)
<Ethin> Then I have to push it. I'd have to fork it first.
<Ethin> Which I can do.
<Ethin> So.. Disasm.. how will your disassembler be different from all those other disassemblers? :D
<disasm> right, but you can run nix-build -A gcc7 default.nix on your local system for the time being :)
<disasm> Ethin: haha, I got the nickname back in High School when I disassembled all my friends TI-86 games and modified strings in them, lol :)
<disasm> good ole z80 ASM :)
<Ethin> You've so gotta tell me that story some time. I've got a TI 84 + (I'm visually impaired, so it talks) and have never learned the damn keyboard
<Ethin> Yet I can learn a computer keyboard in about ten seconds or so.
<disasm> haha, those keyboards on those calculators were the worst...
<Ethin> I know, right?
<disasm> I can't believe I used to write assembly code on my calculator during english class.
<Ethin> I type in math exprs in like 30 seconds and I can type 'em into Python in about five. HMPF
<disasm> yeah, exactly
<Ethin> Wait.. you did that during english class? Wow..
<disasm> haha, boring teacher, lol :)
<disasm> now if I have to type more than a sentence on my phone I'll go grab the laptop, lol :)
justan0theruser has joined #nixos
<disasm> well, I'm excited to see what you come up with for gcc7 :)
<Ethin> Wow.. I've never been able to learn assembly language. I've tried.. I'll tell you that... but no, it's just not possible for me.
<dash> Ethin: learning asm for simple machines is easy
<dash> Ethin: the hard part is writing non-trivial programs in it
<disasm> on the calculator it wasn't as bad. There were only 8 registers and a handful memory addresses you had to remember.
* dash recently had to revive his knowledge of x86 asm to debug a poorly-instrumented library :)
<Ethin> No, not for me it isn't. For me it's impossible. I know the instructions in all -- I do have the intel docs, obviously -- but can't mentally form a structure of the code in my head like I can do with high-level languages.
<disasm> dash: sounds fun :)
justanotheruser has quit [(Ping timeout: 240 seconds)]
<dash> disasm: turned out to be a waste of time overall, but hey, it was educational
<dash> Ethin: right, only geniuses do that
<disasm> I still remember the putSprite routines I wrote for the calculator, start at FC00, and work in 8 bits at a time to draw to the screen...
<dash> Ethin: normal people work out the structure manually
<Ethin> :D
<Ethin> What, dash, you think I'm no genious?
<Ethin> Wow..
* dash not a genius
<Ethin> Such a low opinion of me..
<Ethin> I'm hurt, dude.
<dash> Ethin: well if you were, you'd be showing me your programs written in assembler, wouldn't you
* Ethin clutches his chest emphatically
<disasm> lol :)
<Ethin> Perhaps asm isn't meant for me. Perhaps I like to, you know, use strace and related tools to look at the gritty bits of programs.
* dash currently porting an 80s C program to a new language
<Ethin> Which one?
leat has joined #nixos
<dash> " The authors of the game want to emphasize that this version of hunt
<dash> was started over eight years ago, and the programming style exhibited here
<dash> in no way reflects the current programming practices of the authors.
<dash> "
<Ethin> Hunt is the new language?
<dash> Ethin: oh, what language. this one: http://monte-language.org/
<dash> we use nix for our build and package system.
<Ethin> Hope it's not really lispy-like. I absolutely hate LISP.
<dash> eh, isn't entirely *not* like lisp ;-)
<dash> but it's mostly like smalltalk
schoppenhauer has quit [(Ping timeout: 260 seconds)]
<dash> i'd put it about midway between scheme, smalltalk, and javascript. With python flavor.
<Ethin> This language's aims sound almost like Rusts.
<dash> Nah Rust is trying to replace C++
<dash> we're trying to replace Python and (maybe some of) JS
<Ethin> Yeah, but rust also has similar goals in mind as Monti has.
<dash> Nope, rust is oriented towards safety, not security.
<Ethin> Hmmm... I wish I could help, but writing parsers has never been my thing.
<Ethin> I'm bad with regexps. Doesn't work well with screen readers
jgertm has joined #nixos
<dash> we've got lots of non-parser stuff to do... come visit #monte some time
<dash> Hm.
<dash> I'm starting to regret putting my emacs config into /etc/nixos
<dash> Not convenient to run nixos-rebuild every time i want to add a new package
<Ethin> Nice
<Ethin> Then why'd you put it there?
<Ethin> I mean, that sounds almost like something you'd do on Debian or Ubuntu. But on NixOS?
<disasm> haha, I run a nixos-rebuild usually at least once an hour :)
<dash> Ethin: Bad judgement on my part I guess!
<dash> disasm: hah :)
justelex_ has quit [(Ping timeout: 255 seconds)]
<dash> Maybe I should just get used to it? :)
<Ethin> If I had to run it that often I'd just set up a cron job to run nix-channel --update and then nixos-rebuild after that every hour.
<dash> Ethin: but who'd want to wait that long
revtintin has joined #nixos
<Ethin> Oh, I don't know, you, perhaps? :D
<disasm> dash: on my laptop I have my user own /etc/nixos so I can change things whenever I want without having to sudo, then just sudo nixos-rebuild switch
<Ethin> Oh, no damn fair.. I've gotta implement that on my VPS.
<dash> disasm: eh, using sudo from emacs is easy though
<disasm> dash: oh?
<dash> C-x f /root@localhost:/etc/nixos/configuration.nix
<dash> prompts for password if needed then opens the file
ertesx has joined #nixos
<disasm> nice :) but yeah, the reason is I don't want to have to put a password in every time I change my nixos configuration.
ertes has quit [(Ping timeout: 260 seconds)]
ertesx is now known as ertes
hamishmack has quit [(Quit: hamishmack)]
<disasm> I use the :w !sudo tee % all the time in vim though :)
<Ethin> Ug I hate Vim.
<Ethin> By the way.. any way we can implement Speakup in the NixOS main ISO image?
justelex_ has joined #nixos
<Ethin> I'd do it, except.. No, the NixOS package repo doesn't have it
<Ethin> Or maybe it does.. hold on..
<Ethin> Nope, nox can't find it.
<Ethin> Using the latest nixos-17.03 channel
<disasm> what's Speakup?
darlan has quit [(Remote host closed the connection)]
<dash> Ethin: looks like it's not in nixpkgs, i guess it's pull request time
<Ethin> Yeah. And I don't know how to build it.
<dash> is emacspeak still a thing people use?
fifo23 has joined #nixos
<Ethin> Disasm: Speakup is a console screen reader.
<Ethin> For the blind and visually impaired. Hasn't been updated in years, but still works incredibly well. Probably cause the console is so static.
<Ethin> Dash: Yep, emacspeak is still used. There isn't an alternative for Emacs so..
<Ethin> And someone needs to start updating Orca. Damn things so damn far behind the times now it's not funny. Back in the day relying on aTK was fine, but now that QT is getting a hold on the Linux market and KDE/Plasma is becoming more and more popular, and GTK's going out the window, soon Visually impaired users will be locked into Console mode cause Orca won't be able to do anything.
<dash> CADT development model screws everyone again :)
<Ethin> Which isn't good for the Linux community; once that happends Windows will probably be even more popular than it is now.
<dash> (laughing so I don't start screaming)
<Ethin> CADT? *confused*
<dash> Ethin: jwz invented the term for gnome in the 00's
<Ethin> Oh?
<dash> Ethin: Cascade of Attention-Deficit Teenagers
<Ethin> OMG wow
<Ethin> How does that apply here, exactly?
<dash> old stuff breaking for no reason
<Ethin> Oh, Orca breaks for a very good reason, Dash. It's cause Gnome doesn't give two shits about it, which is actually sad.
<Ethin> Considering how much Gnome cares for, well, Gnome..
<Ethin> :)
schoppenhauer has joined #nixos
<Ethin> And it's also cause ATK is so damn old..
<Ethin> Oh I like that abotu Monti -- you can use curly-braces. That will give me a far easier time learning it.
tnks has quit [(Ping timeout: 240 seconds)]
<Ethin> Well, yall, gotta go -- it's quite late over here. Talk to you guys later!
Ethin has quit [(Quit: ChatZilla 0.9.93 [SeaMonkey 2.46/20161213183751])]
justelex has joined #nixos
justelex_ has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #26011: minisat: fix maintainer (master...minisat-unstable) https://git.io/vHLte
NixOS_GitHub has left #nixos []
billy_ has joined #nixos
<billy_> Any Genode users here?
<dash> billy_: I read the webpage once, does that count
<dash> (i am a future genode user :)
<billy_> I followed this guide https://gist.github.com/ehmry/66f0aafefc7b3fefb14ebede5f64f94b but my /etc/nixos/configuration.nix files sucks andis ruining my nix-os install
<billy_> dash: perhaps we could help eachother :)
<dash> ok tell us more :)
jgertm has quit [(Ping timeout: 260 seconds)]
<disasm> this should fix the travis build errors if someone can merge it: https://github.com/NixOS/nixpkgs/pull/26011/files -- There were some commits using Mic92 instead of mic92 in maintainers.
<dash> billy_: what are your symptoms?
<billy_> well, I've never used NixOS before, or anything like it. So I followed that guide and only that guide, until it mentions Installing NixOS. I clicked the link on making user accounts, and setting up /mnt/etc/nixos/configuration.nix, but my /etc/mnt/nixos/configuration is practically empty
<billy_> I thought the guide was more all encompassing than it really was..
<dash> billy_: did you follow the instructions on the first line of the file? ;-)
<billy_> I've installed Gentoo!!! lol
<billy_> dash: so I've met the criteria, or so I thought
<dash> billy_: not sure what /etc/mnt/nixos/configuration is supposed to be
<dash> not mentioned in the nix manual or this guide
<billy_> dash: me neither
<disasm> billy_: can you gist your configuration.nix?
<billy_> dash: it's mentioned in the guide if you control f it
<billy_> just put a space " /etc/nixos/configuration.nix" to filter out /mnt/etc...
<disasm> that's /mnt/etc, not /etc/mnt :)
<dash> ok yes, that's the config file you need to be editing
veprbl has quit [(Ping timeout: 246 seconds)]
<disasm> billy_: I'm not sure how far you've gone down this route... but I have something similar with arch/nixos using systemd-boot and btrfs subvolumes that's working nicely :)
<billy_> currently it's identical to the barebones example used in the guide
<dash> billy_: OK, good place to start then
<billy_> dash: nixos is not compiling though, says some weird syntax error is disallowing it (an extra "[", but that's false as the example is copied verbatim)
<dash> paste the error message?
* dash looks at guide again
<billy_> error: syntax error, unexpected '[', at /etc/nixos/configuration.nix:13:5
<disasm> billy_: can you gist your configuration.nix?
<billy_> disasm: it's identical to Example 2.2. NixOS Configuration in the guide
<disasm> and hardware-configuration.nix and boot.nix
<disasm> I'm guessing you made a typo in this step: Now, modify /mnt/etc/nixos/configuration.nix to import the boot configuration.
<billy_> disasm: boot.nix is identical to the github guide I posted earlier
<billy_> disasm: okI'll check that again
<disasm> mainly because that diff shows two ['s and 1 ]
justelex has quit [(Ping timeout: 246 seconds)]
<dash> yeah it may not be obvious that that's diff syntax...
<disasm> if you have network on that box: cat /mnt/etc/nixos/configuration.nix|curl -F 'text=<-' http://nixpaste.lbr.uno
<disasm> and give us the resulting link
billy__ has joined #nixos
<billy__> disasm: you were right
<billy__> disasm: whats your interpretation of the -/+ on the left hand side of that step anyway?
dweller has quit [(Ping timeout: 240 seconds)]
amosbird has quit [(Ping timeout: 255 seconds)]
ent has quit [(Ping timeout: 255 seconds)]
kriztw has quit [(Ping timeout: 240 seconds)]
<disasm> remove the lines saying - add the lines saying +
socksy_ has quit [(Ping timeout: 255 seconds)]
billy_ has quit [(Ping timeout: 260 seconds)]
dweller has joined #nixos
ent has joined #nixos
kriztw has joined #nixos
socksy has joined #nixos
amosbird has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<billy__> disasm: do you know why they wouldn't partition a swap?
hamishmack has joined #nixos
<disasm> Mic92: https://github.com/NixOS/nixpkgs/pull/26011 passes. It fixes the bad case on maintainers for your username. Can you look over that PR when you get a chance?
<disasm> billy__: no idea... I would if it was me
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
marusich has joined #nixos
matthewbauer has quit [(Ping timeout: 268 seconds)]
eacameron has quit [(Ping timeout: 255 seconds)]
agjacome has quit [(Quit: leaving)]
<billy__> disasm: almost done, just getting an error now about boot.initrd.luks.devices.root.device being define multiples in seperate files
marusich has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<disasm> cd /mnt/etc/nixos && grep -r luks *
billy__ has quit [(Ping timeout: 260 seconds)]
veprbl has joined #nixos
shanemikel_ has quit [(Quit: Connection closed for inactivity)]
cement has quit [(Ping timeout: 246 seconds)]
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 272 seconds)]
Mateon3 is now known as Mateon1
uralbash has joined #nixos
derjohn_mob has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26011: minisat: fix maintainer (master...minisat-unstable) https://git.io/vHLte
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26012: gdb: s/target/tagetPlatform (master...gdb-fix) https://git.io/vHLOP
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #26012: gdb: s/target/tagetPlatform (master...gdb-fix) https://git.io/vHLOP
NixOS_GitHub has left #nixos []
freusque has joined #nixos
freusque has quit [(Client Quit)]
reinzelmann has joined #nixos
MercurialAlchemi has joined #nixos
<peti> spacekitteh[m]: haskellPackages follows Stackage LTS-8.x. If they don't update, then we don't update either.
freusque has joined #nixos
<spacekitteh[m]> ah
marsel has joined #nixos
uralbash has left #nixos []
jacob_ has joined #nixos
jacob_ is now known as Guest40246
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/vHL32
<NixOS_GitHub> nixpkgs/master df08178 John Ericson: release-cross: Be less absurd in `ensureUnaffected` tests...
<NixOS_GitHub> nixpkgs/master b1d2f41 John Ericson: Merge pull request #26013 from obsidiansystems/release-cross...
NixOS_GitHub has left #nixos []
marsel has quit [(Ping timeout: 255 seconds)]
<seequ_> Any clue how painful it'd be to set up a dual boot with Windows?
<seequ_> I already have GRUB setup
<hyper_ch> why dual boot?
Zer000 has quit [(Ping timeout: 246 seconds)]
<seequ_> Because I need it :P
eacameron has joined #nixos
Zer000 has joined #nixos
lambdamu_ has quit [(Ping timeout: 255 seconds)]
lambdamu has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
Zer000 has quit [(Quit: Leaving)]
veprbl has quit [(Quit: Lost terminal)]
derjohn_mob has joined #nixos
sworne has quit [(Quit: leaving)]
aanderse has quit [(Ping timeout: 260 seconds)]
proteusguy has joined #nixos
ambro718 has joined #nixos
Tucky has joined #nixos
johnsonav has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
<manveru> seequ_: usually not painful
<manveru> might help
<seequ_> Oh that seems simple enough.
ambro718 has quit [(Ping timeout: 240 seconds)]
aanderse has joined #nixos
eacameron has joined #nixos
<manveru> google for more examples
marusich has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
joko has quit [(Ping timeout: 246 seconds)]
<makefu> seequ_: if you've managed to get it working the wiki may be a good place to persists it https://github.com/nixos-users/wiki/wiki
<seequ_> This'd suggest NixOS actually handles it automagically https://zimbatm.com/journal/2016/09/09/nixos-window-dual-boot/
<makefu> if you are using efi-boot right?
marusich has quit [(Ping timeout: 258 seconds)]
<seequ_> Seems I'm not
Itkovian has joined #nixos
fifo23 has quit [(Remote host closed the connection)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
tanonym has joined #nixos
thc202 has joined #nixos
<tanonym> I have enabled wpa_supplicant and installed connman with Enlightenment 21.7. Wired and USB tether works flawlessly with connman. My wifi is enabled and recognized, but scanning wifi in the GUI doesn't work and the connmanctl scan wifi returns a technology not supported error.
<nixos-users-wiki> "Dual Booting NixOS and Windows" created by makefu https://git.io/vHLc7
<makefu> seequ_: i've persisted the information for now :)
<tanonym> I've tried all the suggested solutions that I can find searching on the internet, including the NixOS manual, ArchWiki, DebianWiki and others.
<tanonym> I had it working once before but unfortunately I can't remember what I did.
<lassulus> tanonym: does scanning with iwlist work?
<tanonym> That would be iwlist scan <wifi>?
<lassulus> iwlist wlp3s0(or your device) scan
<tanonym> Hm, says it's down now. Hang on.
<lassulus> ifconfig wlp3s0 up
<tanonym> Doh. Okay, now iwlist displays a bunch of access points etc.
<lassulus> try your gui again
<tanonym> GUI doesn't do anything, shows it's powered as does connmanctl technologies
marsel has joined #nixos
marsel has quit [(Client Quit)]
bkchr has joined #nixos
<tanonym> connmanctl scan wifi throws the unsupported technology error. Which according to ArchWiki is because I didn't star wpa_supplicant. (Another place said I had to start wpa_supplicant with the -u flag)
marsel has joined #nixos
<bkchr> Hi, when are packages from nixpkgs master are pushed to nixos-unstable-small?
<bkchr> is that done automatically?
<tanonym> (I'm messing with this because Enlightenment and NixOS end up being the best way to keep my anemic old laptop functional and usable.
<tanonym> I can get around this issue by using a USB tether and my smartphone to connect to access points.
<tanonym> But it would be nice to solve this issue.
<tanonym> Do I need to make a wpa_supplincant.conf file?
<lassulus> try adding something like this in your wpa_supplicant.conf file
<lassulus> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
<lassulus> maybe another group, if your user isn't in the wheel group
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<tanonym> Oh, that could be the issue, I didn't add my user to any groups when I made it. Should probably run a usermod and add some.
<tanonym> Wheel. anything else I need for audio and CD burning?
<lassulus> "audio" could be useful for audio stuff, I don't know anything about cds
<lassulus> they are like ancient technology to me ;)
bkchr has quit [(Remote host closed the connection)]
<tanonym> I still need them for mastering and such :D Thought with uncompressed wav files I can just put them on SD cards :D
<tanonym> Okay, let's see if I can actually get my user modified.
georges-duperon has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<tanonym> usermod -a -G wheel,audio?
<tanonym> I left out the username intentionally
<lassulus> I change my user groups in my configuration.nix, but your command should also work
<tanonym> Okay, that's done.
<tanonym> Now that wpa_supplicant file I need.
nschoe has joined #nixos
kirelagin has joined #nixos
<tanonym> And I added the suggested line to wpa_supplicnat.conf. My user is part of wheel and audio. I might add the user declaratively to my configuration.nix
georges-duperon has quit [(Ping timeout: 246 seconds)]
<tanonym> Is a relog needed to get the changes to take hold?
<tanonym> should my user be part of something like networkmanager or connman as well for this to work better?
<lassulus> group changes need a relogin
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #25948: c14: c14-cli-2016-09-09 -> c14-cli-2017-20-05 (master...up-c14) https://git.io/vHUCd
NixOS_GitHub has left #nixos []
<tanonym> So before I re-login should I add any other groups?
yenzenz has joined #nixos
ThatDocsLady has joined #nixos
Bradyn2000 has joined #nixos
<tanonym> The NixOS Manual suggests networkmanager, does that also affect connman?
<lassulus> uyou can add more, but you need to relogin for changes to apply
<tanonym> Yeah, I was going add more before doing the relogin so I don't have to do that twice.
civodul has joined #nixos
bennofs has joined #nixos
goibhniu has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
Wizek_ has joined #nixos
oida_ has joined #nixos
tanonym has quit [(Quit: WeeChat 1.7.1)]
nschoe_ has joined #nixos
oida has quit [(Ping timeout: 246 seconds)]
nschoe_ has quit [(Remote host closed the connection)]
stepho has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHL4T
<NixOS_GitHub> nixpkgs/master 05f5a91 Yann Hodique: hugo: 0.20.6 -> 0.21
<NixOS_GitHub> nixpkgs/master cadcbb4 Jörg Thalheim: Merge pull request #25994 from sigma/pr/hugo-0.21...
NixOS_GitHub has left #nixos []
tanonym has joined #nixos
<tanonym> Okay, back again.
nschoe has quit [(Ping timeout: 258 seconds)]
<tanonym> Wow, wpa_supplicant.conf is blank for some reason.
stepho has quit [(Read error: Connection reset by peer)]
stepho has joined #nixos
<tanonym> ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel, anything else that needs to be in there?
<sphalerite> If you're using NetworkManager I think it uses its own wpa_supplicant.conf that lives elsewhere
<tanonym> I'm using connman
<sphalerite> possibly the same then
<sphalerite> not sure though
<tanonym> Finding troubleshooting information on connman is quite a challenge on the interwebs
<sphalerite> Any particular reason to use it in the first place?
<sphalerite> AFAICT there's no good reason for it to even exist
derjohn_mob has joined #nixos
<seequ_> Oh my, nix environments (á la nix-shell) seem amazing
<sphalerite> they are :p
<tanonym> sphalerite: because Enlightenment works the best with my crappy notebook. And they use connman by default. And because the E devs and community are as friendly and helpful as NixOS I have found :)
<bennofs> tanonym: does conman perhaps use wpa_supplicant's dbus interface?
<sphalerite> Right, fair enough
<bennofs> from man wpa_supplicant:
<bennofs> " -u Enable DBus control interface. If enabled, interface definitions may be omitted. (This is only available if wpa_supplicant was built with the CONFIG_DBUS option.)
<tanonym> Don't know. I'll see if I can google it.
<tanonym> Hm, I may have to rebuild nixos's wpa_supplicant then?
<bennofs> tanonym: i think it has it by default. but that doesn't explain a blank wpa_supplicant.conf :p
<tanonym> The blank wpa_supplicant.conf is located in /etc/
<bennofs> tanonym: what supplicant.conf did you check? I think nixos invokes wpa_supplicant with an explicit config file
<tanonym> My challenge is that NixOS doesn't have all the same locations as other distros :>
<bennofs> tanonym: ps aux | grep wpa_supplicant
<seequ_> Is there a way to have user-specific conf files instead of using nix-env?
<tanonym> 1731 1.0 0.0 119824 2220 pts/1 SN+ 01:24 0:00 grep wpa_supplicant
<bennofs> tanonym: is that the only output? that would mean that wpa_supplicant isn't even running?
<tanonym> I ran systemctl start wpa_supplicant and then ran the ps aux command again, same output
<bennofs> tanonym: systemctl status wpa_supplicant ?
<tanonym> ● wpa_supplicant.service - WPA Supplicant
<tanonym> Loaded: loaded (/nix/store/2fhnr9kpprsq5774hs2qqw6lvi9lhfds-unit-wpa_supplica
<tanonym> Active: failed (Result: exit-code) since Tue 2017-05-23 01:26:27 PDT; 1min 27
<tanonym> Process: 1734 ExecStart=/nix/store/yqwzmxr1zq0fs12s70a9brd2wiks92f3-unit-scrip
<tanonym> Main PID: 1734 (code=exited, status=255)
<tanonym> May 23 01:26:27 nixos systemd[1]: Started WPA Supplicant.
<tanonym> May 23 01:26:27 nixos wpa_supplicant[1734]: Successfully initialized wpa_supplic
<tanonym> May 23 01:26:27 nixos systemd[1]: wpa_supplicant.service: Main process exited, c
<tanonym> May 23 01:26:27 nixos systemd[1]: wpa_supplicant.service: Unit entered failed st
<tanonym> May 23 01:26:27 nixos systemd[1]: wpa_supplicant.service: Failed with result 'ex
<tanonym> lines 1-11/11 (END)
<tanonym> y
<tanonym> Sorry, should have used a pastebin. :S
nschoe has joined #nixos
<tanonym> Well, if it's not running, that would be part of my problem.
<goibhniu> could you explain a bit more seequ_? You can use a user specific config file to install particular programs declaratively: https://nixos.org/nix/manual/#ssec-relnotes-1.6.0
<bennofs> tanonym: try systemctl start 'wpa_supplicant@your_wifi_interface_name'
<tanonym> Unit wpa_supplicant@wlp3s0.service not found.
stepho has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
<bennofs> tanonym: can you pastebin journalctl -u wpa_supplicant?
<tanonym> Yes. One moment
<seequ_> goibhniu: that is sxactly what I was looking for
<goibhniu> seequ_: excellent
freusque has joined #nixos
<tanonym> ^,^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vHLRJ
<NixOS_GitHub> nixpkgs/master cb838ca Peter Simons: all-cabal-hashes: update to latest version of Hackage
NixOS_GitHub has left #nixos []
<seequ_> I have to applaud the community here. Four questions, four nigh' instant expansive answers.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.03: https://git.io/vHLRL
<NixOS_GitHub> nixpkgs/release-17.03 05bc768 Peter Simons: all-cabal-hashes: update to latest version of Hackage...
NixOS_GitHub has left #nixos []
<lassulus> tanonym: the output is incomplete
<tanonym> Okay, I need to tell my terminal to pipe it somewhere else.
<tanonym> I'll try again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-16.09: https://git.io/vHLR8
<NixOS_GitHub> nixpkgs/release-16.09 25f4906 Peter Simons: all-cabal-hashes: update to latest version of Hackage...
NixOS_GitHub has left #nixos []
<tanonym> There that should be better.
edoput has joined #nixos
<bennofs> tanonym: perhaps you need to create /etc/wpa_supplicant.conf ?
<tanonym> I did already, but I can try again.
ertes has quit [(Ping timeout: 240 seconds)]
bendlas has quit [(Remote host closed the connection)]
edef[m] has quit [(Remote host closed the connection)]
raignarok has quit [(Remote host closed the connection)]
sudoreboot[m] has quit [(Remote host closed the connection)]
cornu[m] has quit [(Remote host closed the connection)]
dtz has quit [(Remote host closed the connection)]
ArdaXi[m] has quit [(Remote host closed the connection)]
copumpkin has quit [(Remote host closed the connection)]
sirius[m] has quit [(Remote host closed the connection)]
teh[m] has quit [(Remote host closed the connection)]
qrilka[m] has quit [(Remote host closed the connection)]
primeos[m] has quit [(Remote host closed the connection)]
hl has quit [(Remote host closed the connection)]
M1000teslas[m] has quit [(Remote host closed the connection)]
herzmeister[m] has quit [(Remote host closed the connection)]
Magnap has quit [(Remote host closed the connection)]
sziszi[m] has quit [(Remote host closed the connection)]
wak-work[m] has quit [(Remote host closed the connection)]
mythmon- has quit [(Remote host closed the connection)]
reactormonk[m] has quit [(Remote host closed the connection)]
spawnthink[m] has quit [(Remote host closed the connection)]
peterhoeg has quit [(Remote host closed the connection)]
Dezgeg[m] has quit [(Remote host closed the connection)]
eqyiel[m] has quit [(Remote host closed the connection)]
TimePath has quit [(Read error: Connection reset by peer)]
regnat[m] has quit [(Read error: Connection reset by peer)]
jlle[m] has quit [(Remote host closed the connection)]
davidar has quit [(Remote host closed the connection)]
NickHu has quit [(Remote host closed the connection)]
hendrik[m] has quit [(Remote host closed the connection)]
jesper has quit [(Read error: Connection reset by peer)]
corngood has quit [(Read error: Connection reset by peer)]
saintaquinas[m] has quit [(Read error: Connection reset by peer)]
bachp has quit [(Remote host closed the connection)]
zimbatm has quit [(Remote host closed the connection)]
spacekitteh[m] has quit [(Remote host closed the connection)]
timclassic has quit [(Remote host closed the connection)]
mdash has quit [(Remote host closed the connection)]
indefini has quit [(Remote host closed the connection)]
scott2 has quit [(Remote host closed the connection)]
Khorne[m] has quit [(Remote host closed the connection)]
philipp[m] has quit [(Remote host closed the connection)]
jack[m]1 has quit [(Remote host closed the connection)]
taktoa[m] has quit [(Read error: Connection reset by peer)]
Oo[m] has quit [(Read error: Connection reset by peer)]
jascot[m] has quit [(Read error: Connection reset by peer)]
DIzFer[m] has quit [(Read error: Connection reset by peer)]
Criena[m] has quit [(Remote host closed the connection)]
xj9[m] has quit [(Remote host closed the connection)]
offlinehacker[m] has quit [(Remote host closed the connection)]
unlmtd has quit [(Remote host closed the connection)]
musicmatze[m] has quit [(Remote host closed the connection)]
Kallegro[m] has quit [(Remote host closed the connection)]
alain[m] has quit [(Remote host closed the connection)]
aspiwack[m] has quit [(Remote host closed the connection)]
sargon[m] has quit [(Remote host closed the connection)]
icetan has quit [(Remote host closed the connection)]
danielrf has quit [(Remote host closed the connection)]
seequ_ has quit [(Read error: Connection reset by peer)]
jyp[m] has quit [(Remote host closed the connection)]
M-liberdiko has quit [(Read error: Connection reset by peer)]
Ralith has quit [(Remote host closed the connection)]
lfont[m] has quit [(Read error: Connection reset by peer)]
Exee7uvo[m] has quit [(Read error: Connection reset by peer)]
<tanonym> ctrl_interface=DIR=(What's the path for NixOS here, other places have it as /var/run/wpa_supplicant)
jbo has quit [(Quit: leaving)]
martinklepsch has quit [(Ping timeout: 240 seconds)]
alibabzo has quit [(Ping timeout: 240 seconds)]
bitchecker has quit [(Ping timeout: 240 seconds)]
loupgaroublond has quit [(Ping timeout: 240 seconds)]
andymandias has quit [(Ping timeout: 260 seconds)]
nil has quit [(Ping timeout: 240 seconds)]
ericnoan has quit [(Ping timeout: 240 seconds)]
<peti> tanonym: ctrl_interface=DIR=/run/wpa_supplicant GROUP=root
bitchecker has joined #nixos
andymandias has joined #nixos
loupgaroublond has joined #nixos
cornu[m] has joined #nixos
martinklepsch has joined #nixos
<tanonym> Root or wheel group or both?
nil has joined #nixos
ericnoan has joined #nixos
alibabzo has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<tanonym> Okay, now wpa_supplicant is running.
<tanonym> And the scan completed. It was the missing wpa_supplicant.conf file.
<tanonym> Making notes now so I don't have to pester IRC again next time this happens :) --I hope.
<makefu> tanonym: how about you add these notes to the wiki ;)
snikkers has joined #nixos
<tanonym> Hehe, okay.
<tanonym> Did the NixOS wiki get a new home? Because clicking on the link says it's closed and directs me to the Manual.
reinhardt has joined #nixos
<makefu> ^
simukis has joined #nixos
<tanonym> Excellent. Thank you.
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
<tanonym> I've got an idea of adapting YaST tool to make a GUI interface for configuring NixOS and installing packages. It can be much simpler than what YaST is since everything is in human-readable configuration file.
betaboon has quit [(Quit: This computer has gone to sleep)]
reinzelmann has quit [(Ping timeout: 240 seconds)]
<clever> tanonym: ive also worked on something similiar, https://www.youtube.com/watch?v=rIdPKzYTN-w
<tanonym> So, I should add the configuration of wpa_supplicant.conf you need in combination with connman.
<tanonym> Nice. YaST and OBS are two things I really like about the openSUSE distribution. It's a nice one when my computer doesn't have issues with it.
<tanonym> However NixOS is much easier to fix when something borks than openSUSE. I can get rid of GNOME3 or KDE5 much easier if something breaks than in SUSE :)
tanonym has quit [(Quit: WeeChat 1.7.1)]
tanonym has joined #nixos
<tanonym> Crashed
<tanonym> Terminology that is.
<tanonym> Now to get my audio installed.
stepho has joined #nixos
georges-duperon has joined #nixos
<tanonym> hardware.pulseaudio.enable = true; goes in configuration.nix? Do I need to add a special section in my configuration.nix?
<clever> nope
<tanonym> Oh, I should probably see about enabling the nonfree support as well.
<clever> yes, and no
goibhniu1 is now known as goibhniu
<tanonym> So I can just put it under my xserver section?
<clever> hardware is the top-level part
<clever> so it has to go within the top most {} set
<tanonym> Okay.
<clever> foo.bar.baz = true; is identical to foo = { bar.baz = true; };
<clever> and also foo = { bar = { baz = true; }; };
stepho has quit [(Excess Flood)]
<clever> its mainly to help remove duplicates, so if your setting 20 different things under services. you can just put them all inside a service = { ... }; instead
<tanonym> So the top most {} I have is { config, pkgs, ... }:
<clever> the one right after that
<tanonym> hardware.pulseaudio.enable = true goes in that one?
stepho has joined #nixos
<clever> the main { } that spans multiple lines
<tanonym> { imports = and then a bunch of stuff follows
<clever> yeah, in that one
<clever> nix will tell you if its somewhere it doesnt belong
<tanonym> # Use the GRUB 2 boot loader. etc etc.
jyp[m] has joined #nixos
xj9[m] has joined #nixos
teh[m] has joined #nixos
indefini has joined #nixos
wak-work[m] has joined #nixos
sudoreboot[m] has joined #nixos
jesper has joined #nixos
aspiwack[m] has joined #nixos
jack[m]1 has joined #nixos
primeos[m] has joined #nixos
herzmeister[m] has joined #nixos
seequ_ has joined #nixos
sirius[m] has joined #nixos
bachp has joined #nixos
spacekitteh[m] has joined #nixos
jascot[m] has joined #nixos
sargon[m] has joined #nixos
alain[m] has joined #nixos
M-liberdiko has joined #nixos
Exee7uvo[m] has joined #nixos
edef[m] has joined #nixos
NickHu has joined #nixos
Khorne[m] has joined #nixos
mdash has joined #nixos
TimePath has joined #nixos
hendrik[m] has joined #nixos
unlmtd has joined #nixos
Oo[m] has joined #nixos
bendlas has joined #nixos
ArdaXi[m] has joined #nixos
reactormonk[m] has joined #nixos
copumpkin has joined #nixos
offlinehacker[m] has joined #nixos
davidar has joined #nixos
regnat[m] has joined #nixos
Kallegro[m] has joined #nixos
raignarok has joined #nixos
mythmon- has joined #nixos
timclassic has joined #nixos
saintaquinas[m] has joined #nixos
hl has joined #nixos
zimbatm has joined #nixos
spawnthink[m] has joined #nixos
Magnap has joined #nixos
philipp[m] has joined #nixos
dtz has joined #nixos
sziszi[m] has joined #nixos
DIzFer[m] has joined #nixos
Ralith has joined #nixos
musicmatze[m] has joined #nixos
scott2 has joined #nixos
M1000teslas[m] has joined #nixos
eqyiel[m] has joined #nixos
danielrf has joined #nixos
taktoa[m] has joined #nixos
jlle[m] has joined #nixos
Dezgeg[m] has joined #nixos
corngood has joined #nixos
peterhoeg has joined #nixos
lfont[m] has joined #nixos
Criena[m] has joined #nixos
qrilka[m] has joined #nixos
icetan has joined #nixos
<tanonym> Neglected ending ;s the bane of my computer existence.
<tanonym> 99% of all compile errors I make is forgetting a ; >,<"
freusque has quit [(Quit: WeeChat 1.7)]
ThatDocsLady is now known as ThatDocsLady_afk
nschoe has quit [(Ping timeout: 260 seconds)]
nschoe has joined #nixos
takle has joined #nixos
stepho has quit [(Quit: Textual IRC Client: www.textualapp.com)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHLa3
<NixOS_GitHub> nixpkgs/master b1b5c66 Peter Hoeg: grc: 1.11 -> 1.11.1
NixOS_GitHub has left #nixos []
ThatDocsLady_afk is now known as ThatDocsLady
<manveru> yeah... no idea why people thought mandatory ; was a good idea :(
<manveru> makes the parser a bit simpler... but well
takle has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vHLaM
<NixOS_GitHub> nixpkgs/master 4f51da2 Robin Gloster: nginx-rtmp-module: 1.1.9 -> 1.1.11
<NixOS_GitHub> nixpkgs/master 4a83c09 Robin Gloster: nginx: 1.10.3 -> 1.12.0
NixOS_GitHub has left #nixos []
musteresel has joined #nixos
<tanonym> Should I replace X with Wayland or wait longer?
<musteresel> Hi! If I have a package with two inputs (`{foo, bar} : # ...`) is there an easy way grab one dependency from one channel (or a nixpkgs git repo) and the other from another channel (e.g. nixos-16.09)? I'm used to shell.nix files like `with import <nixpkgs> {}; # ...`, I guess I should modify this to contain two imports?
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
<domenkozar> niksnut: is there a way to copy closure now that import/export is broken in Nix 1.11?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to gcc-6: https://git.io/vHLwT
<NixOS_GitHub> nixpkgs/gcc-6 da9adb8 Robin Gloster: Merge remote-tracking branch 'upstream/master' into gcc-6
<NixOS_GitHub> nixpkgs/gcc-6 235d5c5 Robin Gloster: openjdk8: 8u131-b11 -> 8u152-b04
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
Infinisil has quit [(Remote host closed the connection)]
nschoe has quit [(Quit: Program. Terminated.)]
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
nschoe has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHLwF
<NixOS_GitHub> nixpkgs/master 5b45342 Peter Hoeg: virtmanager-qt: 0.43.70 -> 0.43.70.2
NixOS_GitHub has left #nixos []
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 246 seconds)]
kiloreux has joined #nixos
musteresel has quit [(Ping timeout: 272 seconds)]
<LnL> export is broken?
<LnL> doesn't nix-copy-closure use that
mudri has quit [(Ping timeout: 260 seconds)]
JagaJaga has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
thblt has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
vaibhavsagar has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 4 new commits to master: https://git.io/vHLK8
<NixOS_GitHub> nixpkgs/master ca2f31a Robin Gloster: zsh-autosuggestions: 0.3.3 -> 0.4.0
<NixOS_GitHub> nixpkgs/master d50c716 Robin Gloster: zsh-completions: 0.18.0 -> 0.25.0
<NixOS_GitHub> nixpkgs/master 39e6ad6 Robin Gloster: zsh-syntax-highlighting: 0.4.1 -> 0.5.0
NixOS_GitHub has left #nixos []
<tanonym> I'm looking for e16 as well, to use as a lightweight fallback.
systemfault has quit [(Quit: Bye!)]
Bradyn2000 has quit [(Ping timeout: 245 seconds)]
revtintin has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
<tanonym> Whee, sound works nicely now.
<tanonym> Now comes all the configuration detail work on this system :)
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
betaboon has joined #nixos
smw has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
gchristensen has left #nixos ["WeeChat 0.4.2"]
gchristensen has joined #nixos
<niksnut> import/export is broken?
<LnL> works fine for me with nix from nixpkgs master
<LnL> I did notice issues with nixUnstable on darwin (resolve-system-dependencies segfaults)
smw has joined #nixos
<qknight_> clever: how do hydra build success hooks work, i want to do a REST call to some api
ZoomZoomZoom has joined #nixos
reinhardt has quit [(Quit: Leaving)]
<domenkozar> niksnut: yes, it doesn't allow to transfer because paths lack a signature
<LnL> with root?
<niksnut> do you mean 1.12?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] armijnhemel opened pull request #26015: Abiword 3.0.2 (master...abiword-3.0.2) https://git.io/vHLMY
NixOS_GitHub has left #nixos []
dhess has quit [(Remote host closed the connection)]
tanonym has quit [(Quit: WeeChat 1.7.1)]
chrishill has joined #nixos
<domenkozar> No, 1.11.9
<domenkozar> I wonder why nixop works then :)
<domenkozar> niksnut:
<niksnut> I don't think anything changed in 1.11.9 in this respect
<domenkozar> $ nix-store --export $(nix-store -r /nix/store/4d6f8hg5gv20nsbq7b52qzn6bcs4fvlh-coreutils-8.26/) | nix-store --import
<domenkozar> warning: you did not specify ‘--add-root’; the result might be removed by the garbage collector
<domenkozar> error: imported archive of ‘/nix/store/4d6f8hg5gv20nsbq7b52qzn6bcs4fvlh-coreutils-8.26’ lacks a signature
<niksnut> make sure the receiving user is trusted
<domenkozar> ah
<domenkozar> so the error message needs to be improved
<chrishill> Hi! I’m having some problems trying to build a Rust package (application) Git-series. Here is the current state of it: https://pastebin.com/NCexxF5g
kirelagin has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<chrishill> The meat of the expression was based on a rust application in Nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/text/ripgrep/default.nix
Infinisil has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
<chrishill> I have included `pkgconfig` and `openssl` in the argument since I apparently need these in order to build it. Based on this issue I opened: https://github.com/git-series/git-series/issues/50
<chrishill> I *have* been able to build the application by using an impure Nix shell. What I did was to install `libssl-dev` through APT and then run this impure shell: `nix-shell -p rustStable.rustc -p rustStable.cargo -p git`
<chrishill> Then running `cargo build` in that impure shell. (I didn’t have to install pkg-config since it was already installed).
Bradyn2000 has joined #nixos
<chrishill> So now I am trying to find the right Nix packages in order to purify things.
<chrishill> But the packages pkgconfig and openssl does not seem to cut it, or be enough.
mikrobX has joined #nixos
ertes-w has joined #nixos
<mikrobX> hello
mudri has joined #nixos
c74d has quit [(Ping timeout: 260 seconds)]
<mikrobX> could somebody, anybody help me setting up nixos in dual boot with ubuntu? I know learning by doing is the way to go, but the word daunting comes to mind.
<gchristensen> I've never done it, mikrobX, but I think it is as easy as any other install but you set boot.loader.grub.useOSProber = true in your configuration.nix
c74d has joined #nixos
<mikrobX> okay, so i suppose the way to go is to heavily partition the disk so that i don't 'shit the bed' if something goes wrong, right?
<mikrobX> and then follow the wiki?
<mikrobX> ty for the osprober tip, i would probably have missed that.
freusque has joined #nixos
<gchristensen> I don't know what you meanby heavily partitioning the disk
<goibhniu> mikrobX: needless to say ... verify you have everything backed up :D
<gchristensen> I'd follow the manual: https://nixos.org/nixos/manual/
<mikrobX> i was going to, but the manual recommended i come here for the dual booting :D
RayNbow`TU has quit [(Ping timeout: 260 seconds)]
RayNbow`TU has joined #nixos
<mikrobX> heavily partitioning as in; separate partitions for both systems including swap, like i said, ive been out of this for a while
<mikrobX> so its daunting and having some support is nice >:D
twey1 has joined #nixos
<mikrobX> (my lingo is way way off, i realize)
<mikrobX> so far, thank you guys and ill be back if something goes horribly horribly wrong :)
musteresel has joined #nixos
<gchristensen> ah
<gchristensen> how much ram do you have?
twey1 is now known as TweyII
TweyII has quit [(Changing host)]
TweyII has joined #nixos
<gchristensen> mikrobX: wheere does the manual say to come here for dual boot? I can't find it
<gchristensen> oh that isn't the manual :)
<mikrobX> 12 gigs of ram, i3 proc, E450 lenovo
edoput has quit [(Quit: edoput)]
<gchristensen> you ... probably don't need swap.
<gchristensen> (unless you want suspend to disk, then you need 12G of swap)
<mikrobX> i feel like a confused puppy chasing his own tail at the moment.
<mikrobX> and yes, yes i want that functionality, for sure. im sort of an amperage nazi :D
<gchristensen> cool :)
<mikrobX> this is really exciting. should have picked up nixos back in the day when my local 'space buddies recommended it to me :D
<Infinisil> Oh hey gchristensen, I just tried something like your script here: https://github.com/grahamc/packet-provision-nixos-ipxe/blob/master/install-tools/bin/type2.sh, and clever's kexec thing: https://github.com/cleverca22/nix-tests/tree/master/kexec (regarding the getting zfs on the main disk)
<mikrobX> ill be back when, inevitably, i melt my system into slag :D
<gchristensen> mikrobX: haha, good luck :D
<gchristensen> Infinisil: ok
<mikrobX> off for now. thanks again :)
<Infinisil> But both didn't work
mikrobX has left #nixos []
<gchristensen> haha ok
<gchristensen> I se
<Infinisil> gchristensen: You have access to the server now and I set up a tmux session if you'd like to take a look together?
<gchristensen> I can't right now, sorry, work started early and I can't help like that during work hours.
<Infinisil> gchristensen: I see, no problem
<Infinisil> gchristensen: What do you do btw?
Acou_Bass is now known as Piece_Maker
nslqqq has quit [(Ping timeout: 240 seconds)]
TweyII has quit [(Ping timeout: 240 seconds)]
<gchristensen> Infinisil: mostly database automation :)
<clever> Infinisil: what didnt work with my kexec trick?
<Infinisil> Ah hi clever
TweyII has joined #nixos
<Infinisil> I got the error "Nothing has been loaded!" after kexec -e, I have no clue what's wrong
TweyII is now known as Guest90853
<clever> Infinisil: can you gist the contents of /kexec_nixos ?
<clever> Infinisil: and does the script output anything else when ran?
<Infinisil> You could join my tmux session on the server and have a look yourself if you want :P
<clever> can you pm me the user/host/pw?
nschoe has quit [(Ping timeout: 260 seconds)]
hiberno has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 4 new commits to master: https://git.io/vHL7e
<NixOS_GitHub> nixpkgs/master 4576000 Robin Gloster: uwsgi: 2.0.14 -> 2.0.15
<NixOS_GitHub> nixpkgs/master ece9d88 Robin Gloster: wireshark: 2.2.5 -> 2.2.6
<NixOS_GitHub> nixpkgs/master c5090b4 Robin Gloster: tux: 2.3 -> 2.5
NixOS_GitHub has left #nixos []
hiberno has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #26016: ammonite: 0.9.0 -> 0.9.1 (master...ammonite_0_9_1) https://git.io/vHL7m
NixOS_GitHub has left #nixos []
derjohn_mob has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vHL7B
<NixOS_GitHub> nixpkgs/release-17.03 2c6ef66 Tim Steinbach: ammonite: 0.9.0 -> 0.9.1...
NixOS_GitHub has left #nixos []
nschoe has joined #nixos
musteresel has quit [(Ping timeout: 240 seconds)]
__Sander__ has joined #nixos
mudri has quit [(Ping timeout: 268 seconds)]
<clever> gchristensen: ah, 500mb of ram isnt enough to kexec
yenzenz has quit [(Ping timeout: 240 seconds)]
<gchristensen> WHAT
nslqqq has joined #nixos
<clever> the digital ocean droplet only has 500mb of ram, and the initrd is 200mb before compression
<clever> after*
<gchristensen> omg
xadi has quit [(Read error: No route to host)]
xadi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] armijnhemel opened pull request #26017: freeciv: 2.5.6 -> 2.5.7 (master...freeciv-2.5.7) https://git.io/vHLdr
NixOS_GitHub has left #nixos []
Guest90853 has quit [(Changing host)]
Guest90853 has joined #nixos
Guest90853 is now known as TweyII
xj9[m] has quit [(Remote host closed the connection)]
herzmeister[m] has quit [(Remote host closed the connection)]
jyp[m] has quit [(Remote host closed the connection)]
edef[m] has quit [(Read error: Connection reset by peer)]
copumpkin has quit [(Remote host closed the connection)]
Ralith has quit [(Remote host closed the connection)]
bendlas has quit [(Remote host closed the connection)]
bachp has quit [(Remote host closed the connection)]
taktoa[m] has quit [(Remote host closed the connection)]
TimePath has quit [(Remote host closed the connection)]
raignarok has quit [(Remote host closed the connection)]
aspiwack[m] has quit [(Remote host closed the connection)]
Oo[m] has quit [(Read error: Connection reset by peer)]
danielrf has quit [(Read error: Connection reset by peer)]
eqyiel[m] has quit [(Read error: Connection reset by peer)]
alain[m] has quit [(Remote host closed the connection)]
davidar has quit [(Read error: Connection reset by peer)]
unlmtd has quit [(Remote host closed the connection)]
seequ_ has quit [(Remote host closed the connection)]
Exee7uvo[m] has quit [(Remote host closed the connection)]
dtz has quit [(Remote host closed the connection)]
hl has quit [(Remote host closed the connection)]
sirius[m] has quit [(Read error: Connection reset by peer)]
M1000teslas[m] has quit [(Remote host closed the connection)]
Dezgeg[m] has quit [(Read error: Connection reset by peer)]
sudoreboot[m] has quit [(Read error: Connection reset by peer)]
philipp[m] has quit [(Read error: Connection reset by peer)]
jack[m]1 has quit [(Remote host closed the connection)]
scott2 has quit [(Write error: Connection reset by peer)]
qrilka[m] has quit [(Read error: Connection reset by peer)]
indefini has quit [(Read error: Connection reset by peer)]
M-liberdiko has quit [(Read error: Connection reset by peer)]
primeos[m] has quit [(Remote host closed the connection)]
offlinehacker[m] has quit [(Read error: Connection reset by peer)]
DIzFer[m] has quit [(Read error: Connection reset by peer)]
Khorne[m] has quit [(Remote host closed the connection)]
Kallegro[m] has quit [(Read error: Connection reset by peer)]
peterhoeg has quit [(Read error: Connection reset by peer)]
jascot[m] has quit [(Remote host closed the connection)]
wak-work[m] has quit [(Write error: Connection reset by peer)]
corngood has quit [(Read error: Connection reset by peer)]
spacekitteh[m] has quit [(Write error: Connection reset by peer)]
zimbatm has quit [(Remote host closed the connection)]
sziszi[m] has quit [(Remote host closed the connection)]
timclassic has quit [(Read error: Connection reset by peer)]
reactormonk[m] has quit [(Read error: Connection reset by peer)]
sargon[m] has quit [(Read error: Connection reset by peer)]
Magnap has quit [(Remote host closed the connection)]
cornu[m] has quit [(Remote host closed the connection)]
mdash has quit [(Remote host closed the connection)]
mythmon- has quit [(Remote host closed the connection)]
jlle[m] has quit [(Read error: Connection reset by peer)]
musicmatze[m] has quit [(Read error: Connection reset by peer)]
saintaquinas[m] has quit [(Read error: Connection reset by peer)]
hendrik[m] has quit [(Read error: Connection reset by peer)]
ArdaXi[m] has quit [(Read error: Connection reset by peer)]
Criena[m] has quit [(Remote host closed the connection)]
spawnthink[m] has quit [(Read error: Connection reset by peer)]
jesper has quit [(Read error: Connection reset by peer)]
regnat[m] has quit [(Read error: Connection reset by peer)]
lfont[m] has quit [(Read error: Connection reset by peer)]
NickHu has quit [(Remote host closed the connection)]
icetan has quit [(Remote host closed the connection)]
teh[m] has quit [(Read error: Connection reset by peer)]
proteusguy has quit [(Ping timeout: 246 seconds)]
hyper_ch has quit [(Ping timeout: 240 seconds)]
posco has quit [(Ping timeout: 260 seconds)]
kvz has quit [(Ping timeout: 260 seconds)]
bitchecker has quit [(Ping timeout: 260 seconds)]
fiddlerwoaroof has quit [(Ping timeout: 260 seconds)]
posco has joined #nixos
fiddlerwoaroof has joined #nixos
bitchecker has joined #nixos
hyper_ch has joined #nixos
kvz has joined #nixos
georges-duperon has quit [(Quit: Leaving)]
cornu[m] has joined #nixos
<dtzWill> Mic92: if you're using WLLVM w/Nix we should probably chat! :D
exarkun has left #nixos []
eacameron has joined #nixos
peacememories has joined #nixos
koserge has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
darlan has joined #nixos
Bradyn2000 has quit [(Ping timeout: 268 seconds)]
mudri has joined #nixos
xj9[m] has joined #nixos
indefini has joined #nixos
sudoreboot[m] has joined #nixos
teh[m] has joined #nixos
jack[m]1 has joined #nixos
wak-work[m] has joined #nixos
herzmeister[m] has joined #nixos
jyp[m] has joined #nixos
sirius[m] has joined #nixos
bachp has joined #nixos
jesper has joined #nixos
Exee7uvo[m] has joined #nixos
spacekitteh[m] has joined #nixos
jascot[m] has joined #nixos
M-liberdiko has joined #nixos
primeos[m] has joined #nixos
philipp[m] has joined #nixos
aspiwack[m] has joined #nixos
mdash has joined #nixos
unlmtd has joined #nixos
edef[m] has joined #nixos
alain[m] has joined #nixos
hendrik[m] has joined #nixos
sargon[m] has joined #nixos
Khorne[m] has joined #nixos
TimePath has joined #nixos
ArdaXi[m] has joined #nixos
NickHu has joined #nixos
offlinehacker[m] has joined #nixos
bendlas has joined #nixos
copumpkin has joined #nixos
reactormonk[m] has joined #nixos
timclassic has joined #nixos
seequ_ has joined #nixos
peterhoeg has joined #nixos
Kallegro[m] has joined #nixos
hl has joined #nixos
davidar has joined #nixos
mythmon- has joined #nixos
raignarok has joined #nixos
regnat[m] has joined #nixos
sziszi[m] has joined #nixos
dtz has joined #nixos
saintaquinas[m] has joined #nixos
spawnthink[m] has joined #nixos
zimbatm has joined #nixos
musicmatze[m] has joined #nixos
Magnap has joined #nixos
DIzFer[m] has joined #nixos
scott2 has joined #nixos
Ralith has joined #nixos
Oo[m] has joined #nixos
eqyiel[m] has joined #nixos
M1000teslas[m] has joined #nixos
taktoa[m] has joined #nixos
danielrf has joined #nixos
Dezgeg[m] has joined #nixos
jlle[m] has joined #nixos
Criena[m] has joined #nixos
corngood has joined #nixos
qrilka[m] has joined #nixos
lfont[m] has joined #nixos
icetan has joined #nixos
Bradyn2000 has joined #nixos
<Mic92> dtzWill: working on project in particular https://github.com/klee/klee/
<Mic92> *on this project
<dtzWill> Mic92: I have derivations for many LLVM-based things, lemme see what I have for klee
<dtzWill> (and sorry for not already having submitted it all upstream! O:))
<dtzWill> (partially haven't because I'm not sure everyone's interested in all of them :))
<Mic92> dtzWill: it is almost working fine with llvm 3.4.
<Mic92> (I mean the package from nixpkgs)
<Mic92> I also plan to add klee itself to nixpkgs.
proteusguy has joined #nixos
<Mic92> To have an alternative to the docker package.
acarrico has joined #nixos
<dtzWill> I have klee at a variety versions and build configs (klee-uclibc or not, 3.4 vs .. 2.9?) -- IIRC 3.4 build still required the build tree to be present, is that no longer true?
<dtzWill> i might not have latest, my klee usage is only through coworker's research projects using it so I don't update like I might otherwise..
<dtzWill> oh they support cmake now? that answers that mostly ^_^
<dtzWill> and haha yeah I feel like many users of Docker would use Nix instead if they were familiar/had it available O:)
<dtzWill> but okay then otherwise I think klee was pretty straightforward
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
jensens has joined #nixos
katyucha is now known as Guest74933
katyucha_ is now known as katyucha
edoput has joined #nixos
lewo has quit [(Quit: ZNC - http://znc.in)]
lewo has joined #nixos
<Mic92> dtzWill: the build tree is no longer required for klee itself, but for wllvm.
<schoppenhauer> hi. has anyone managed to install emacs' haskell-mode in a nix-shell? I have (emacsWithPackages [emacsPackages.proofgeneral emacsPackages.haskellMode]), but still, I cannot run M-x haskell-mode
<dtz> before using cmake, klee required LLVM autoconf-built build tree because that's how LLVM used to work w/external projects
<dtz> Mic92: So I'm hard at work on "ALLVM" -- creating system where everything is LLVM IR and exploring goodness that's possible: http://allvm.org
<dtz> if you're interested LMK O:)
<dtz> got an ALLVM hydra instance and everything ^_^ muahaha
jensens has quit [(Ping timeout: 246 seconds)]
<dtz> one goal is facilitating use of things like KLEE without huge amount of additional effort (much of which introduces deviations from the software as it's normally used/built on your system)
Infinisil has quit [(Ping timeout: 260 seconds)]
<Mic92> dtz: definitly interesting work.
Infinisil has joined #nixos
tommyangelo has joined #nixos
<Mic92> dtz: one question, you might be able to answer. when I run llvm-config --libfiles it returns static libs for llvm 3.4 even so llvm only contains shared libraries. Do you know if this is inherent or should llvm-config know it better.
<tommyangelo> anyone getting issues with docker-compose? It is giving me "Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?"
nschoe has quit [(Ping timeout: 260 seconds)]
<dtzWill> Mic92: llvm-config is often wonky, we patch it later and so do other distributions for various reasons. Hmm...
<Mic92> dtzWill: I could do the same on nixos actually
nslqqq has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #26017: freeciv: 2.5.6 -> 2.5.7 (master...freeciv-2.5.7) https://git.io/vHLdr
NixOS_GitHub has left #nixos []
nschoe has joined #nixos
Infinisil has quit [(Quit: Lost terminal)]
Infinisil has joined #nixos
derjohn_mob has joined #nixos
eacameron has joined #nixos
cement has joined #nixos
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
cpennington has joined #nixos
nslqqq has joined #nixos
earldouglas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] corngood opened pull request #26021: WIP: Cygwin fixes (master...cygwin-wip) https://git.io/vHtkU
NixOS_GitHub has left #nixos []
takle has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
<cement> you know a good time to learn nix? when clever's asleep and you need something proprietary installed so that you can do your job
<clever> uhhh, lol
<cement> the hell?
<clever> i'm trying to stay up past 2pm
<cement> lmao
<gchristensen> but you can still learn nix now
Raimondii has joined #nixos
<chrishill> I am trying to find the equivalent of package `libssl-dev` in APT. All I seem to be able to find is `openssl` and `libressl`. Anyone know? A "dev version" of libssl
ROKO__ has left #nixos ["WeeChat 1.7"]
<guillaum2> Is there an easy way to get static version of most library in Nix or should I manually patch all derivation ?
<disasm> clever: is it possible to trigger a travis build on a PR to nixpkgs without creating a new commit?
<gchristensen> disasm: if you're the owner of the branch you can click rebuild, but why?
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
<srhb> chrishill: In general there are no -dev packages, so if libssl-dev is really the openssl development files, it's probably openssl.
<gchristensen> or openssl.dev
<srhb> Right.
<clever> chrishill: and installing it wont fix the compile problems
<disasm> gchristensen: I fixed a typo in https://github.com/NixOS/nixpkgs/pull/26011#event-1092982592 that was breaking travis builds. Now I want to trigger this again and make sure it passes: https://github.com/NixOS/nixpkgs/pull/25907
<gchristensen> I restarted it
<disasm> thanks!
<srhb> What does .dev contain normally anyway? Just the include files?
<clever> and potentialy any tools that are only needed at compile-time
<srhb> Ah, right.
Myrl-saki has quit [(Read error: Connection reset by peer)]
<Mic92> dtzWill: really unreliable, in newer versions it returns liblibLLVM-3.9.so.so
<Mic92> seems like nobody is using that appearently?
<dtzWill> lmao wow yeah that's rough. 4 works properly, 3.7 shows static libs that don't exist
<dtzWill> 3.8 shows static libs that /do/ exist? O:)
<dtzWill> sounds like an issue should be filed
nixo has joined #nixos
hydraz has quit [(Read error: Connection reset by peer)]
hydraz has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 272 seconds)]
bennofs has joined #nixos
<Mic92> dtzWill: in older version there are shared libraries instead.
iyzsong has joined #nixos
<dtzWill> Mic92: yeah and llvm-4 we build single big libLLVM.so (yay!)
thc202 has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
freusque has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL> talking about llvm, should be change the default for linux to 4?
<LnL> the darwin stdenv has been using it for a while now
iyzsong has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<Mic92> LnL: sounds like a good idea.
<Mic92> dtzWill: did you ever contribute back to llvm upstream?
<dtzWill> Mic92: err I've made commits upstream yes but not re:llvm-config -- our patching of that in NixOS was handled by someone else
<dtzWill> biggest problem I have with llvm-config (didn't realize the static/shared was so bad!) was it likes to propagate the optimizations CFLAGS when asked for CFLAGS needed to build against LLVM, which causes problems if not using the exact same CC (esp things like warning flags!)
<dtzWill> LnL: +1! Can whitelist things that need older versions, like rust
<dtzWill> (only because we don't support newer rust versions in-tree... yet)
<Mic92> dtzWill: I found the root cause for the static/shared library file mess, but I am not sure, if they accept patches for older versions.
justelex has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<dtzWill> they do point releases for at least the previous major, think they're too short on release maintainer manpower to handle much older than that
<dtzWill> but might not hurt to ask :). But 3.4 is pretty old O:)
<Mic92> dtzWill: well basically I have to patch all llvm versions up to 3.8
Bradyn2000 has quit [(Ping timeout: 246 seconds)]
stallion has quit [(Remote host closed the connection)]
erasmas has joined #nixos
<seequ_> NixOS manual mentions that there must be a 256MB EFI boot partition. Windows by default has a 100MB one. Will it work?
<seequ_> (looking to dual boot)
bennofs has quit [(Ping timeout: 260 seconds)]
<clever> i'm using 94mb on my /boot
<clever> so 100 would be cutting it very close
<disasm> seequ_: I'd resize it if you can. I like 512MB for my /boot.
sellout- has quit [(Quit: Leaving.)]
<seequ_> disasm: I have no clue about these things. How safe is resizing it when it involves moving the Windows partition?
<disasm> JagaJaga: your changes are addressed and build is passing now: https://github.com/NixOS/nixpkgs/pull/25907 I've tested using build-vm locally and the service starts and database is populated!
<seequ_> (I have backups, but would like to avoid as many 30min rollbacks as possible)
yegods has joined #nixos
FRidh has quit [(Ping timeout: 258 seconds)]
sellout- has joined #nixos
bennofs has joined #nixos
mudri has quit [(Ping timeout: 255 seconds)]
acertain has quit [(Remote host closed the connection)]
<seequ_> Ah well, blew it up already
<seequ_> Rollback!!
pie_ has joined #nixos
ZoomZoomZoom has quit [(Quit: Leaving)]
sellout- has quit [(Read error: Connection reset by peer)]
<pie_> just a random idea, when there are nixos people at conferences, they could try having a "nixos project donation box" (idk if anyones ever done something like this before or if its generally a terrible idea) and people vote on what to spend it on and when the spending goal for the most voted project is reached then that gets done
<pie_> probably starting at like 40:00 or somesuch
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<disasm> JagaJaga: Mic92 said to use We usually use passopolis-unstable-<year>-<month>-<day> here as it is more meaningful then a commit hash (where the date is the date of the commit). But your saying I should get rid of unstable and just have passopolis-<commit date>?
sitwon has quit [(Ping timeout: 246 seconds)]
sitwon has joined #nixos
<disasm> JagaJaga: I made the change, let me know if that's good now.
betaboon has quit [(Quit: This computer has gone to sleep)]
takle has joined #nixos
peacememories has joined #nixos
<LnL> dtzWill: pretty sure rust already uses llvmPackages_39 explicitly
<dtzWill> oh, probably. Trying to get rust using llvm4 so was just aware that there's a reason it doesn't use it :)
<dash> dtzWill: are you aware of the rust overlay in nixpkgs-mozilla?
<dtzWill> dash: yeah, but it uses prebuilt versions right? I was hoping to control the build of a sufficiently new rust that I could use LLVM 4. Hmm.
<dash> dtzWill: Aha.
<LnL> dtzWill: ps. I have some wip changes for the cc-wrappers that make clang.man work
peacememories has quit [(Client Quit)]
<dtzWill> \o/
peacememories has joined #nixos
mudri has joined #nixos
stallion has joined #nixos
trikl has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
<Mic92> disasm: JagaJaga https://nixos.org/nixpkgs/manual/#sec-package-naming regarding naming convention
<Mic92> it is not like I have it made it up
snikkers has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
<Mic92> disasm: could you also avoid using `git-merge` in pull request.
johnsonav has joined #nixos
eacameron has quit [(Remote host closed the connection)]
Filystyn has joined #nixos
ericnoan has quit [(Quit: ZNC - http://znc.in)]
sellout- has joined #nixos
johnsonav has quit [(Ping timeout: 246 seconds)]
dbmikus has joined #nixos
Infinisil has quit [(Quit: leaving)]
bennofs has quit [(Ping timeout: 246 seconds)]
sellout- has quit [(Ping timeout: 240 seconds)]
DrWaste has quit [(Quit: Run away!)]
sellout- has joined #nixos
<bigs> hey y'all, having an issue w/ cabal-install and ghc on nixos that i can't get to the bottom of.
ericnoan has joined #nixos
<bigs> i've got `cabal-install` installed in my nix environment, though it's not particularly useful w/o GHC installed. so i've tried to install ghc but i get a collision w/ an object file. essentially it seems as tho ghc comes bundled w/ cabal-install as well
<bigs> so it's prompting me to set a priority for one pkg or the other
ambro718 has joined #nixos
<bigs> "use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages"
<bigs> tho i can't for the life of me determine the derivation name for ghc... i've tried nixos.ghc, ghc, nixos.pkgs.ghc, pkgs.ghc
<bigs> nothing seems to do the trick. uninstalling cabal-install doesn't rectify things either
johnsonav has joined #nixos
digitus has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
thc202 has quit [(Ping timeout: 258 seconds)]
ericnoan has quit [(Quit: ZNC - http://znc.in)]
<disasm> Mic92: yeah, I'll revert squash, and clean up.
ericnoan has joined #nixos
<disasm> Mic92: how's that look? I just rebased off master interatively and did a fixup of everything but the first commit.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<Mic92> disasm: looks better, I will have a look, when I am back from work.
peacememories has joined #nixos
Tucky has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #26024: llvmPackages_34.llvm: fix output of llvm-config (master...llvm-config-3.4) https://git.io/vHtwl
NixOS_GitHub has left #nixos []
ericnoan has quit [(Quit: ZNC - http://znc.in)]
ericnoan has joined #nixos
ericnoan has quit [(Remote host closed the connection)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
nixo has quit [(Quit: Leaving)]
ericnoan has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
thc202 has joined #nixos
trikl has quit [(Ping timeout: 245 seconds)]
<BlessJah> where should I keep frequently changing configuration files (i.e. snort rulesets)?
trikl has joined #nixos
<dash> BlessJah: in a git repo, probably?
<gchristensen> how often does it change?
<dash> perhaps the same one as your nixos config
frank has joined #nixos
<BlessJah> I'd like to download rules daily from emergingthreats website (with crontab or oinkmaster)
<frank> how do i build from derivations after my nixos-install fails?
python476 has joined #nixos
<bigs> sorry to keep bugging... any insight re: setting priority on a GHC derivation in my nixos system?
<bigs> manual isn't providing much insight here :(
derjohn_mob has quit [(Ping timeout: 260 seconds)]
fifo23 has joined #nixos
Fare has joined #nixos
digitus has quit [(Quit: digitus)]
stanibanani has joined #nixos
digitus has joined #nixos
<Fare> Weird. I'm trying to use ffmpeg to record myself doing a presentation. I can record either the sound or the video just fine, but trying to do both results in garbled sound.
bennofs has joined #nixos
frank has quit [(Ping timeout: 260 seconds)]
zraexy has joined #nixos
<bigs> i'm wondering if i'm somehow trapped in a strange nix environment if that statement even parses into something reasonable?
goibhniu has quit [(Ping timeout: 258 seconds)]
<bigs> according to nixpkgs the package is nixos.ghc, but nix-env claims to know nothing of the derivation haha
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ck3d opened pull request #26025: NixOS: fix XCURSOR_PATH expansion (master...XCURSOR_PATH-exp) https://git.io/vHtiP
NixOS_GitHub has left #nixos []
<cement> ok, I keep getting error: value is a function while a set was expected when trying to do anything
<cement> apparently I borked something
<cement> last time I got the error I tried nix-env -iA cabal2nix
pie_ has quit [(Ping timeout: 268 seconds)]
<bigs> cement: any further context to the problem?
<bigs> commands, nix code, etc
<BlessJah> cement: ~> nix-env -qaP | grep cabal2nix
<BlessJah> nixos.cabal2nix cabal2nix-2.1.1
marsel has quit [(Ping timeout: 240 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Fare has quit [(Ping timeout: 260 seconds)]
<cement> same error when I tried that
<BlessJah> cement: it's either `-i cabal2nix`, `-i cabal2nix-2.1.1` or `-iA nixos.cabal2nix`
edoput has quit [(Quit: edoput)]
<cement> it was nixos.cabal2nix
<cement> nix-env -iA nixos.cabal2nix
<cement> error: value is a function while a set was expected, at /nix/store/4h9g9g9s0gmrmiham5kfmba1q5wgk784-nixos-17.03.1160.f2c4af4e3b/nixos/pkgs/top-level/all-packages.nix:706:41
<bigs> oh hm
<bigs> unsavory as this is, have you tried a gc? my novice mind goes to that
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<dash> bigs: gc won't change how nix exprs evaluate
<bigs> makes sense. was just thinking perhaps if something wound up in a corrupt state, tho i suppose the hashing is supposed to mediate this
peacememories has joined #nixos
<dash> cement: what does 'nix-shell -p cabal2nix' give you?
<cement> exactly the same output
<cement> I went diving into all-packages.nix
<bigs> lol dash that actually lead me to a solution for my problem, so thx! perhaps in my 'global' env i have a package collision, but with `nix-shell -p ghc -p cabal-install` i was able to get things running :)
<bigs> was literally just trying to initialize a new cabal project heh
peacememories has quit [(Client Quit)]
pie_ has joined #nixos
<dash> cement: Curious. unfortunately i switched to unstable so I can't verify that it works in 17.03
<dash> but I assume that something that popular woulda been noticed
<tomjaguarpaw> I'm really puzzled about how I should set LUA_CPATH for a lua package. Can anyone help me out?
<dash> cement: OK I'm new at debugging these issues myself, so let me suggest some other places to explore
<dash> cement: start nix-repl, do ':l <nixpkgs>' then 'cabal2nix'
acowley_ has joined #nixos
<tomjaguarpaw> I'm trying to install tds and its CMake file wants LUA_CPATH set. I've no idea what it should be: https://github.com/torch/tds/blob/3f16e882c106a59835a868dd2a9e6750cc1e36c4/CMakeLists.txt
<dash> cement: you should get "<<derivation /nix/store/blabla.drv>>"
<cement> and let you devour it
<cement> he says the problem is in there
Raimondi has quit [(Quit: WeeChat 1.8-dev)]
acarrico has quit [(Remote host closed the connection)]
<clever> cement: yep, line 6 is to blame
<clever> 706 cabal2nix = haskell.lib.overrideCabal haskellPackages.cabal2nix (drv: {
<clever> cement: cabal2nix references haskellPackages.cabal2nix
<clever> but line 6 changed haskellPackages into a function that takes 2 arguments
<clever> "error: value is a function while a set was expected, at"
<cement> right
<cement> so eliminate that second ':'?
<clever> comment out lines 6-10 and it should work again
<clever> line 6 is a malformed haskell override, that currently overrides nothing
<cement> lol
<cement> this week, on learning nix with clever:
pie__ has joined #nixos
<seequ_> Wohoo! Windows dual boot with grub worked straight up like a charm!
<schoppenhauer> hi. I can't find any documentation on how to enable xfce.
elasticdog has joined #nixos
<clever> schoppenhauer: services.xserver.desktopManager.xfce.enable = true;
<schoppenhauer> clever: will this automatically install the relevant packages?
elasticdog has quit [(Changing host)]
elasticdog has joined #nixos
<schoppenhauer> hhah
<clever> schoppenhauer: yes
<schoppenhauer> thx
pie_ has quit [(Ping timeout: 240 seconds)]
<pie__> seequ_, \o/
<pie__> hail nixos
<tomjaguarpaw> How can I set envvars for cmake in preConfigure?
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
<schoppenhauer> meh, not even rollback :\
<schoppenhauer> makes kde run again
<schoppenhauer> gah I hate software
<clever> tomjaguarpaw: cmakeFlags in the derivation
<clever> tomjaguarpaw: and you dont need a custom configurePhase
ertes-w has quit [(Ping timeout: 260 seconds)]
* clever heads out
<seequ_> pie__: I honestly expected a lot more problems - but no
<seequ_> nixos handled it all
<pie__> clever, o/
mudri has quit [(Ping timeout: 258 seconds)]
jgertm has joined #nixos
peacememories has joined #nixos
c0c0n3 has joined #nixos
<c0c0n3> hi guys, anyone try to use gradle to build a package?
Raimondi has joined #nixos
<tomjaguarpaw> How is $out supposed to work?
<c0c0n3> gradle_2_14 bombs out with: Failed to load native library 'libnative-platform.so' for Linux amd64.
<tomjaguarpaw> Doesn't seem to be substituted with anything
mudri|srcf has quit [(Ping timeout: 240 seconds)]
Piece_Maker has quit [(Ping timeout: 240 seconds)]
<bennofs> tomjaguarpaw: out is set as an environment variable when the builder runs
mudri|srcf has joined #nixos
<tomjaguarpaw> CMake Error at cmake_install.cmake:42 (file): file cannot create dir
<tomjaguarpaw> ectory: /nix/store/9r5h6f76p6ij7ssqg72fgbf9j360gfld-torch-0.0pre20160820/$out/lib/lua/5.2
jgertm has quit [(Ping timeout: 240 seconds)]
<tomjaguarpaw> ^^ Really puzzled why it's not interpolating $out
<bennofs> tomjaguarpaw: so if you do something like `foo = "bla $out"` in your nix expression, it won't be substituted if `foo` is not getting interpreted by a shell
<tomjaguarpaw> cmakeFlags = "-DLUA_PATH=$out/lib/lua/${lua.luaversion} -DLUA_CPATH=$out/lib/lua/${lua.luaversion}";
<bennofs> tomjaguarpaw: yeah cmakeFlags is not evaluated by a shell so no substituting of env vars
<tomjaguarpaw> Hmm maybe I need to set cmakeFlags in preConfigure
Acou_Bass has joined #nixos
<bennofs> something like that should work
jgertm has joined #nixos
<tomjaguarpaw> Seems strange that it wouldn't do it via nix variables
<tomjaguarpaw> Is there any particular reason it has to be via an envvar?
<bennofs> tomjaguarpaw: you cannot do it via nix variables because that would mean they would be expanded before writing the .drv, and the .drv determines the hash of the package and therefore $out
<bennofs> so it would be recursive
<tomjaguarpaw> Seems like it should be possible to take out as an argument then
<bennofs> tomjaguarpaw: that's kinda what an environment variable is: an argument of the builder
<tomjaguarpaw> Well yeah, but variables in a programming language with a decent semantics are better than envvars!
<bennofs> tomjaguarpaw: you cannot have it in nix
<tomjaguarpaw> By approximately several orders of magnitude
<bennofs> tomjaguarpaw: because nix is fully evaluated before writing the .drv. If you'd use it in the drv, then the evaluation would depend on itself which is impossible
<dash> tomjaguarpaw: time matters, though
<dash> $out isn't set before the build starts, which is after the nix expr is evaluated.
<tomjaguarpaw> One day I may understand this all
<bennofs> tomjaguarpaw: the nix expression needs to be fully evaluated before you can determine $out. thus, you cannot use $out in the nix expression
<tomjaguarpaw> Sure, but then it feels like there ought to be two parts of the nix expression
<tomjaguarpaw> one that gets evaluated before and one after drv
<dash> tomjaguarpaw: that'd be a much more complicated design :)
<bennofs> tomjaguarpaw: part 2 = bash in nix :)
<tomjaguarpaw> bash in nix
<tomjaguarpaw> head -> desk
<dash> tomjaguarpaw: since sh can't be done away with entirely, might as well just use it for basics like this
Itkovian has joined #nixos
<tomjaguarpaw> I will learn the nix way
<tomjaguarpaw> And then I will love it
<dash> tomjaguarpaw: it's like mathematics, you may not understand it but you can definitely get used to it :)
<schoppenhauer> hm. what do I need to install to get a systray in xfce?
<simpson> tomjaguarpaw: Don't worry about it too much. Once it clicks for you, you'll be really disappointed in most other build tools and configuration management. Enjoy it while you can.
<c0c0n3> hi there, has anyone tried to use gradle to build a package?
<bennofs> schoppenhauer: stalonetray is a standalone tray manager. not sure if that's what you want?
<tomjaguarpaw> simpson: I'm already really disappointed in the others!
<schoppenhauer> bennofs: xfce should have a systray, but somehow, when trying to add it to the bar, it is grayed out
fifo23 has quit [(Read error: Connection reset by peer)]
fifo23 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26027: pythonefl: 1.19.0 -> 1.19.1 (master...upd.efl) https://git.io/vHtdI
NixOS_GitHub has left #nixos []
<schoppenhauer> ah ok, I see … it has a tray, but mono doesn't work with it …
* BlessJah have just realized he's rebuilding kodi
<BlessJah> is it what is supposed to happen when using nixos-17.03 channel? wasn't -small for people that are ok with rebuilds?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> tomjaguarpaw: preConfigure = ''cmakeFlags="${cmakeFlags} ...$out..." '';
<clever> tomjaguarpaw: this gives nix a chunk of bash to run before cmake, so the vars now get handled
Itkovian has joined #nixos
c0c0n3 has quit [(Ping timeout: 260 seconds)]
<clever> tomjaguarpaw: there is also a feature in nix master, that will solve this better in the future
<clever> tomjaguarpaw: basicaly, the nix expression placeholder "out" will return a magic string, that turns into $out at a later time
<bigs> hey all, running into a slightly confusing configuration issue now... i've got a nix script that loads up a cabal2nix generated derivation which happens to have an unfree license (working on some proprietary software for a client here)
<bigs> and i'd *like* to inherit my user's config from ~/.config/nixpkgs/config.nix, specifically for allowUnfree = true;
<bigs> and i'm not entirely sure how to do that... i can paste my nix file somewhere
<clever> when you import <nixpkgs>{};, it will automaticaly load config.nix from the default locations
<bigs> ah, hm! thanks clever let me see if i had this wrong
fox___ has joined #nixos
<fox___> any genode users here?
<clever> bigs: another option is to ignore config.nix entirely, and embed your own, import <nixpkgs>{config={allowUnfree=true;};}
<bigs> yeah, so i'm defining some overrides in a local `config` variable clever
<bigs> and would love to merge that into my defaults
<clever> bigs: ah
<clever> bigs: config = (import ~/.config/nixpkgs/config.nix) // {...} is one option
<clever> but if its not found, it will fail
<bigs> yeah
<clever> bigs: this is the logic nixpkgs uses to load it
<clever> and overlays may also be of use
<bigs> ahhh overlays sound relevant
<clever> overlays is designed to take an array of things
<bigs> oh interesting.
<bigs> clever do you think perhaps my line 13 is too restrictive?
<bigs> oh did i not asctually link... https://pastebin.com/SNpyVdXK
<fox___> no genoders?
<clever> bigs: line 3 sets config = config;
<simpson> fox___: I wish.
<bigs> yea that was me being foolish
<fox___> trying this but it's not clear enough towards the end (when to cd out, when to reboot and boot into genode, etc)..
marsel has joined #nixos
<bigs> i wonder if i can do something like `userConfig = import <nixpkgs> { config };`
<fox___> also sdb is introduced out of nowhere
<clever> bigs: one interesting thing, is that pkgs.config contains the config set that nixpkgs loaded
<bigs> yeah, that's what i would have thought!
<clever> bigs: so (import <nixpkgs>{}).config returns the users default config
<clever> then you can copy attributes like allowUnfree over with inherit
<bigs> hmmm
<simpson> fox___: Cool adventure.
georges-duperon has joined #nixos
<bigs> something like `defaultConfig = (import <nixpkgs>{}).config; config = { import defaultConfig; other stuff; };`
<bigs> ?
<clever> bigs: that still does defaultConfig=defaultConfig; which isnt what you want
<bigs> ah
<clever> bigs: you want import (defaultConfig) allowUnfree allowBroken;
<bigs> hah! that's done it. i clearly have some more digging to do on the nix lang specification
<bigs> you've been a massive help tho :) thanks clever
<clever> the above will do allowUnfree=defaultConfig.allowUnfree; allowBroken=defaultConfig.allowBroken;
johnsonav has quit [(Ping timeout: 246 seconds)]
<bigs> so it looks like beyond overlays, which are something to investigate, you have to manually merge these objects?
pie__ has quit [(Changing host)]
pie__ has joined #nixos
<clever> yeah
<bigs> cool
<clever> config wasnt meant to be merged, so you have to write your own code to handle it
<bigs> ahh. so perhaps my nix script defining a custom config like that is in itself an anti-pattern?
<bigs> i was referencing gabriel gonzales' helpful repo on haskell & nix
<clever> i usualy ignore the user config entirely
<bigs> ah, ok
<clever> it helps to isolate the project from whatever the user has been doing
<bigs> so it's not a smell in this case to simply set allowUnfree = true;
<clever> so every developer gets the same results
<bigs> b/c i know my project is under an unfree license
<clever> yeah, if it depends on unfree stuff to do anything, just enable it in your own config
preyalone has joined #nixos
<bigs> cool
acertain has joined #nixos
chrishill has quit [(Quit: Leaving)]
katyucha has quit [(Killed (hitchcock.freenode.net (Nickname regained by services)))]
Guest74933 is now known as katyucha
katyucha_ has joined #nixos
kampfschlaefer has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mudri has joined #nixos
peacememories has joined #nixos
eacameron has joined #nixos
Fare has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
betaboon has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nckx has quit [(Quit: restarting my GuixSD server)]
Itkovian has joined #nixos
fox___ has quit [(Quit: Page closed)]
jgertm has quit [(Ping timeout: 240 seconds)]
acowley_ has quit [(Ping timeout: 272 seconds)]
genoder has joined #nixos
<genoder> simpson: you still around?
bennofs has quit [(Ping timeout: 240 seconds)]
digitalmentat has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
goibhniu has joined #nixos
nckx has joined #nixos
<digitalmentat> I need to deploy software to a remote machine and I'm using nix-copy-closure to deposit the binary artifacts; I currently have a few ideas for how to use that result in other Nix expressions but not all of them feel very good to me
<digitalmentat> 1. I distribute the exact Nix expression that generated the copied closure
<digitalmentat> 2. I modify the NIX_PATH and do something mungy like <pkgname> where I need it
<digitalmentat> 3. I generate the Nix expressions that need the store path on the machine that does the build and transfer it over pre-templated
<digitalmentat> does anyone else have any better suggestions? am I not thinking of something obvioius?
<digitalmentat> of all of them, the one I'm gravitating to the most is #3
<gchristensen> #3 is how nixops works
peacememories has joined #nixos
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
peacememories has quit [(Client Quit)]
bennofs has joined #nixos
jensbin has joined #nixos
genoder has quit [(Quit: Page closed)]
<obadz> digitalmentat: you cannot use a binary artifact from a nix expression
<obadz> digitalmentat: you have to use expressions from expression
<digitalmentat> obadz, you can if you distribute the expression that resulted in the binary artifact, or you can distribute an expression that can be imported containing only the known store path (then use that)
digitus has quit [(Quit: digitus)]
<obadz> yes
<obadz> but that's not pointing to the artifact
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26030: update pelican, feedgenerator (master...update/pelican) https://git.io/vHqYD
NixOS_GitHub has left #nixos []
digitus has joined #nixos
<obadz> the artifact just happens to be reused because it's in the cache
<obadz> if it wasn't it'd be regenerated
hellrazor has joined #nixos
<digitalmentat> I should say nix store path then
phinxy has joined #nixos
<obadz> nix store path, binary artifact, same thing
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hellrazo1 has quit [(Ping timeout: 240 seconds)]
digitus has quit [(Client Quit)]
digitus has joined #nixos
Itkovian has joined #nixos
marsel has quit [(Ping timeout: 268 seconds)]
tv has quit [(Quit: WeeChat 1.7.1)]
tv has joined #nixos
<stallion> does anyone know offhand if there are any nixpkgs that fetch multiple tarballs for src?
<stallion> essentially i need to have multiple fetchurl calls in the same derivation
peacememories has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
<gchristensen> that's fine
<gchristensen> you can do srcs = https://search.nix.gsc.io/?q=srcs%20%3D or just set foo = pkgs.fetchurl ...
peacememories has quit [(Client Quit)]
<stallion> ah!
<stallion> thanks again gchristensen ;)
<gchristensen> you're welcome! :)
jgertm has joined #nixos
peacememories has joined #nixos
cybrian has quit [(Ping timeout: 260 seconds)]
<BlessJah> the package I'm writing expression for expects ~400 lines config in /etc, is there any better way to have it generated than to directly embedding it into module expression?
<BlessJah> it doesn't need to be in etc actually, the problem is with length
<gchristensen> is the contents generated or static?
cybrian has joined #nixos
<BlessJah> generated, parts could be templated, generation of some may require basic logic (loops, conditionals)
leat has quit [(Ping timeout: 240 seconds)]
<BlessJah> I don't know the tool enough to generate whole config, lot's will be verbatim copy of defaults
<gchristensen> hmm I don't know
jensbin has quit [(Quit: Leaving)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<BlessJah> work in progress, I want it to be services.suricata
<BlessJah> gchristensen: could you advice good service module to grasp concepts?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHql1
<NixOS_GitHub> nixpkgs/master 0e9e777 Jörg Thalheim: znc: document password generation better...
NixOS_GitHub has left #nixos []
yegods has quit [(Remote host closed the connection)]
<BlessJah> nice one, thanks
<BlessJah> services don't seem to be covered by nixpkgs manual, are they covered elsewhere?
<gchristensen> services are unique to nixos :)
digitalmentat has quit [(Remote host closed the connection)]
<BlessJah> the hidden link you say?
digitalmentat has joined #nixos
<pie__> is mixing stable/unstable packages for like python packages bad or something?
<gchristensen> it isn't hidden, is itV
<gchristensen> it, BlessJah?
bennofs has quit [(Quit: WeeChat 1.8)]
<BlessJah> gchristensen: http://imgur.com/a/xhQCr
<BlessJah> it is
<gchristensen> oh shit
takle has quit [(Read error: Connection reset by peer)]
takle_ has joined #nixos
koserge has quit [(Ping timeout: 245 seconds)]
<BlessJah> till now I've thought I'm limited to options and packages lists
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #26033: openpa: init -> 1.0.4 (master...openpa) https://git.io/vHqBU
NixOS_GitHub has left #nixos []
<gchristensen> can you open an issue on the nixpkgs repo, BlessJah?
trikl has quit [(Quit: Lost terminal)]
<BlessJah> nixpkgs or nixos-homepage?
<gchristensen> your choice
<BlessJah> confusing, homepage sounded like an obvious choice
<gchristensen> yeah it would be
<BlessJah> here you are :>
<gchristensen> thank you
benzrf has joined #nixos
<benzrf> how does nix play with cargo?
koserge has joined #nixos
<benzrf> ive just started a rust project, my first time using cargo, and im providing rust using nix
<benzrf> but now my editor integration doesnt know about the crates i'm using
<benzrf> what's the right way to approach this?
<olejorgenb> benzrf: I don't know about rust specifically, but for python and emacs I usullay just start emacs from the nix-shell
<olejorgenb> it's not ideal though
<benzrf> im using vim and im starting it from the nix-shell
<benzrf> im just not sure how to provide the packages to rust
<benzrf> cargo is standard, but i dont know how to use it with nix
<benzrf> because by default it acts as a package manager in addition to a build system
<olejorgenb> hm, ok, then I'm not much help I'm afraid
<benzrf> ok :(
<olejorgenb> (For python it works mostly out of the box through PYTHONPATH)
Filystyn has quit [(Ping timeout: 260 seconds)]
<Olgierd> so, no fix for phpfpm?
derjohn_mob has joined #nixos
benzrf has left #nixos ["WeeChat 1.8"]
<nixos-users-wiki> "Documentation Gaps" edited by akavel https://git.io/vHqut
preyalone has quit [(Quit: Connection closed for inactivity)]
<nixos-users-wiki> "Documentation Gaps" edited by akavel https://git.io/vHqu2
TweyII has quit [(Ping timeout: 246 seconds)]
<nixos-users-wiki> "Documentation Gaps" edited by akavel https://git.io/vHqzY
Guest40246 has quit [(Quit: Lost terminal)]
ninja_in_neopren has joined #nixos
cpennington has quit [(Remote host closed the connection)]
snikkers has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #25991: jackline: 2016-11-17 -> 2017-03-30 (master...jackleinen) https://git.io/vHk4U
NixOS_GitHub has left #nixos []
cement has quit [(Ping timeout: 240 seconds)]
<stallion> gchristensen: alright. last question I promise!
<stallion> i'm dealing with a binary package that installs files in an odd location
<stallion> so the result is that after the install phase, nothing gets linked back to bin, share, etc.
<stallion> i can't seem to find a good example of this in nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #25971: services.logind: add options for lid-switch behavior (master...systemd/logind-config) https://git.io/vHUhs
NixOS_GitHub has left #nixos []
systemfault has joined #nixos
stanibanani has quit [(Ping timeout: 240 seconds)]
<BlessJah> I have written module, how do I create VM out of checked-out nixpkgs to test it?
exarkun has joined #nixos
<BlessJah> I'm not yet into writing tests, I want to check if it works
<LnL> nixos-rebuild build-vm -I nixpkgs=. -I nixos-config=./example.nix
<clever> BlessJah: nixos-rebuild build-vm -I nixpkgs=/home/clever/apps/nixpkgs -I nixos-config=./configuration.nix
<BlessJah> thanks
python476 has joined #nixos
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #26034: nixStable: remove old patches (master...nixpatches) https://git.io/vHqVC
NixOS_GitHub has left #nixos []
<BlessJah> is there default password or should I have configured one?
<cransom> nixos-install would have prompted for one
sellout- has quit [(Quit: Leaving.)]
<BlessJah> I've used nixos-rebuild build-vm
<clever> BlessJah: users.users.root.initialPassword = "hunter2";
<LnL> you can set it in the configuraion
<clever> and delete the nixos.qcow2 in the dir you ran it
* clever heads to bed
<gchristensen> nice staying up, clever
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #26034: nixStable: remove old patches (master...nixpatches) https://git.io/vHqVC
NixOS_GitHub has left #nixos []
digitalmentat has quit [(Quit: Leaving)]
tanonym has joined #nixos
takle_ has quit [(Remote host closed the connection)]
* BlessJah follows clever
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
systemfault has quit [(Quit: Bye!)]
<BlessJah> suricata is an intrusion detecion system (IDS/IPS/NMS)
* BlessJah &
<tanonym> After adding nixpkgs.config.allowUnfree = true; to configuration.nix do I need to log out and back in again after the nixos-rebuild switch command?
sellout- has joined #nixos
kiloreux has quit [(Ping timeout: 272 seconds)]
<tanonym> D'oh! Never mind. Realized I hadn't made a .nixpkgs/config.nix file for root and my normal user.
hiratara has quit [(Ping timeout: 245 seconds)]
leat has joined #nixos
peacememories has joined #nixos
hiratara has joined #nixos
ertes has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cstrahan opened pull request #26035: psensor: init at 1.2.0 (master...psensor) https://git.io/vHqKz
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
<Olgierd> how do I downgrade a package to a previous version of nixpkgs?
<tanonym> nix-env --rollback <package> I think.
<tanonym> Hm, headphones don't work in NixOS, the built-in speakers do.
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bcdarwin opened pull request #26036: elastix: init at 4.8 (master...elastix) https://git.io/vHqiu
NixOS_GitHub has left #nixos []
aneeshusa has joined #nixos
takle has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
alx741_ has quit [(Quit: alx741_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26037: lib: Consolidate platform configurations (used for crossSystem) (master...platform-examples) https://git.io/vHqid
NixOS_GitHub has left #nixos []
alx741 has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
tanonym has quit [(Quit: WeeChat 1.7.1)]
cstrahan has quit [(Ping timeout: 240 seconds)]
tanonym has joined #nixos
cstrahan has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zohl opened pull request #26038: linux_samus_4_11: init at 4.11.1 (master...linux-samus) https://git.io/vHqXG
NixOS_GitHub has left #nixos []
hiratara has joined #nixos
justelex has quit [(Ping timeout: 260 seconds)]
thaega has quit [(Read error: Connection reset by peer)]
thaega has joined #nixos
<tanonym> Yeah, no sound with headphones.
<tanonym> I take that back. No sound output period.
<tanonym> Something went haywire in my last rebuild.
takle has joined #nixos
dmj` has quit [(Ping timeout: 240 seconds)]
<ekleog> hmm, what's the policy of nixos wrt version numbering and security patches? like, if there's a patch for a security vulnerability that didn't trigger a release upstream, should we ship a patched version? if so, with a separate version number from the original?
dmj` has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has quit [(Ping timeout: 272 seconds)]
acertain has quit [(Remote host closed the connection)]
justelex has joined #nixos
phinxy has quit [(Quit: Leaving)]
<tanonym> Something went haywire in my last rebuild.
tanonym has quit [(Quit: WeeChat 1.7.1)]
justelex has quit [(Ping timeout: 260 seconds)]
phinxy has joined #nixos
takle has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
justelex has joined #nixos
mizu_no_oto has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHqDo
<NixOS_GitHub> nixpkgs/master 4c4f50c Jörg Thalheim: llvmPackages_34.llvm: fix output of llvm-config...
<NixOS_GitHub> nixpkgs/master 4fecdce Jörg Thalheim: Merge pull request #26024 from Mic92/llvm-config-3.4...
NixOS_GitHub has left #nixos []
goibhniu has quit [(Ping timeout: 240 seconds)]
fiddlerwoaroof has quit [(Ping timeout: 240 seconds)]
digitus has quit [(Quit: digitus)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #20461: llvmPackages: change default to 3.9 (staging...llvmPackages-3.9) https://git.io/vXyr1
NixOS_GitHub has left #nixos []
fiddlerwoaroof has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] knedlsepp opened pull request #26039: gdal: Add hdf4 support (master...add-gdal-hdf4-support) https://git.io/vHqyZ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #26040: lkl: d747073 -> 2017-03-24 (master...lkl) https://git.io/vHqyW
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
kiloreux has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #26005: kops: 1.4.0 -> 1.6.0 (master...kops-1.6.0) https://git.io/vHI5K
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has joined #nixos
aneeshusa has quit [(Quit: WeeChat 1.8)]
takle has quit [(Ping timeout: 246 seconds)]
ambro718 has quit [(Ping timeout: 246 seconds)]
Fare has quit [(Ping timeout: 272 seconds)]
smola_ has quit [(Ping timeout: 240 seconds)]
smola_ has joined #nixos
markus1189 has joined #nixos
markus1199 has joined #nixos
earldouglas has quit [(Quit: leaving)]
erasmas has quit [(Quit: leaving)]
betaboon has quit [(Ping timeout: 245 seconds)]
markus1219 has quit [(Ping timeout: 246 seconds)]
markus1209 has quit [(Ping timeout: 246 seconds)]
mkoenig_ has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vHqH4
<NixOS_GitHub> nixpkgs/master b7290d3 Thomas Tuegel: spotify: 1.0.53.758 -> 1.0.55.487
NixOS_GitHub has left #nixos []
thc202 has quit [(Ping timeout: 260 seconds)]
sellout- has quit [(Quit: Leaving.)]
hexagoxel has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/vHqHp
<NixOS_GitHub> nixpkgs/master ff15d0c Tuomas Tynkkynen: esptool-ck: init at 0.4.11
<NixOS_GitHub> nixpkgs/master e6cb889 Tuomas Tynkkynen: esptool: init at 1.4
NixOS_GitHub has left #nixos []
kiloreux has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has joined #nixos
betaboon has joined #nixos