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
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
<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.
<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.
<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?
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
<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!)]
<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)]
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>
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?
<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>
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
<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)]
<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>
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 ; >,<"
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
<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! Im having some problems trying to build a Rust package (application) Git-series. Here is the current state of it: https://pastebin.com/NCexxF5g
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 didnt 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
<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.)]
<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
<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
<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?
<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)]
<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
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
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'
<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>
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)]
<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
<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)
<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>
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>
[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...