markus1189 has joined #nixos
ublubu has quit [(Ping timeout: 248 seconds)]
fare__ has quit [(Ping timeout: 272 seconds)]
markus1199 has quit [(Ping timeout: 256 seconds)]
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
athan has joined #nixos
ublubu has joined #nixos
ryantrinkle has joined #nixos
kyle_b has joined #nixos
digitalmentat has quit [(Ping timeout: 255 seconds)]
mkoenig has quit [(Read error: Connection reset by peer)]
ublubu has quit [(Ping timeout: 258 seconds)]
<kyle_b> i hope this is the correct place to ask this sort of question: i would have thought that `nix-env -iA nixpkgs.python3Packages.requests2` would allow me to later do `python3 -c "import requests"`, but this is not the case. have i missed something? (i am not a mac)
ryantrinkle has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
AllanEsp1nosa has quit [(Ping timeout: 245 seconds)]
<kyle_b> i ask because i am writing a vim plugin that uses external python packages, so nix-shell is not an option
<kyle_b> so i guess my general question is, do i have to wrap vim in order to give it access to external python packages?
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
johnsona` has joined #nixos
kampfschlaefer has joined #nixos
ublubu has joined #nixos
AllanEsp1nosa has joined #nixos
johnsonav has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vMcPD
<NixOS_GitHub> nixpkgs/master ba98030 Maurizio Di Pietro: chase: avoided using fq attribute names
<NixOS_GitHub> nixpkgs/master 25e34e0 Maurizio Di Pietro: sakura: fixed GLib-GIO-ERROR #21698 #21700
<NixOS_GitHub> nixpkgs/master 56cceca Daiderd Jordan: Merge pull request #21700 from polyrod/master...
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<gchristensen> manveru: ping
<manveru> gchristensen: pong
<gchristensen> you do things with bundix, right?
mkoenig has quit [(Read error: Connection reset by peer)]
<gchristensen> (what a loaded question!)
mudri has quit [(Quit: WeeChat 1.6)]
<manveru> :)
<manveru> Sure
Wizek has joined #nixos
Wizek_ has joined #nixos
<acowley> kyle_b: Perhaps what you want is to list pkgs.python3.buildEnv.override { extraLibs = ... ; } in the buildInputs of your plugin
<acowley> kyle_b: That will give you a python3 that can find the package you want
<gchristensen> I have a gem it blows up on :( perhaps you can suggest a workaround? I'd like to package https://github.com/tumblr/jetpants/ from a git checkout, not what is on rubygems
mkoenig has joined #nixos
<manveru> gchristensen: I can help you with that tomorrow. Gotta sleep first
<gchristensen> manveru: cool :) ok, thank you
<gchristensen> sleep well!
<manveru> Cu
<LnL> manveru: I just looked at my clock...
<gchristensen> it is like 2am right?
<LnL> :p
eacameron has quit [(Read error: Connection reset by peer)]
eacamero_ has joined #nixos
<gchristensen> it is almost 8pm here and I'm wondering "Can I go to bed yet?"
<LnL> but so much stuff to do...
markus1199 has joined #nixos
AllanEsp1nosa has quit [(Ping timeout: 245 seconds)]
<LnL> gchristensen: I've also used that before
<gchristensen> used what?
markus1189 has quit [(Ping timeout: 255 seconds)]
<LnL> bundix
<gchristensen> if you could bundle jetpants .... I would be in your debt!
<LnL> what's the issue exactly, it looks pretty sane as far as I can tell
thc202 has quit [(Ping timeout: 248 seconds)]
<kyle_b> acowley: thanks for the tip. using my own vim_configurable with python overridden (in the way you suggested) (here: http://lpaste.net/350950) to include the necessary packages works, but is that the best solution?
eacameron has joined #nixos
<acowley> kyle_b: I don't know anything about vim, but I think that is the right way to do things with nix.
<kyle_b> acowley: cool. thanks again.
<gchristensen> LnL: want to take a crack at it? :)
eacamero_ has quit [(Ping timeout: 245 seconds)]
<LnL> sure, let me start another build first
matthewbauer has quit [(Ping timeout: 258 seconds)]
knupe has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
sboosali has joined #nixos
<LnL> gchristensen: source :rubygems, how old is that thing?
<gchristensen> uhh ... well the public version is going to get an update soon :|
joepie91 has quit [(Excess Flood)]
stivo has quit [(Remote host closed the connection)]
stivo has joined #nixos
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
catch22 has joined #nixos
<gchristensen> LnL: I've gotta go a while :/ good luck, let me know if you have any success :)
Lowl3v3l has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #21726: [WIP] palemoon: init at 27.9 (master...palemoon) https://git.io/vMcDr
kyle_b has quit [(Quit: Page closed)]
<NixOS_GitHub> [nixpkgs] redvers opened pull request #21727: exim: corrected implementation of services.exim.config (master...master) https://git.io/vMcDF
* __red__ does a lil dance
mkoenig has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
mkoenig has joined #nixos
pxc has quit [(Client Quit)]
oida has joined #nixos
AllanEsp1nosa has joined #nixos
TroniQ89 has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vMcy5
<NixOS_GitHub> nixpkgs/master c5c7911 Shea Levy: libuv: disable getaddrinfo tests....
pxc has joined #nixos
sboosali has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
val1 has joined #nixos
stivo has quit [(Remote host closed the connection)]
stivo has joined #nixos
ambro718 has quit [(Ping timeout: 245 seconds)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 246 seconds)]
mkoenig has quit [(Ping timeout: 256 seconds)]
mkoenig has joined #nixos
georges-duperon has joined #nixos
ebzzry has joined #nixos
athan has quit [(Remote host closed the connection)]
derjohn_mob has quit [(Ping timeout: 245 seconds)]
AllanEsp1nosa has quit [(Ping timeout: 246 seconds)]
AllanEsp1nosa has joined #nixos
danielrf has joined #nixos
Fare has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
derjohn_mob has joined #nixos
PragCyphr has joined #nixos
cjhowe has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
PragCyph1 has quit [(Ping timeout: 248 seconds)]
pie__ has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vMcHc
<NixOS_GitHub> nixpkgs/master 845dd12 Shea Levy: ghc-head: Put ./boot into commonPreConfigure
<copumpkin> how do I upgrade Nix if it's too old? :)
<LnL> nix-store -r /nix/store/...
wkennington has joined #nixos
mkoenig has quit [(Ping timeout: 256 seconds)]
rui has joined #nixos
<rui> How do you move the /nix directory somewhere else? (not on NixOS)
mkoenig has joined #nixos
<rui> I just moved it and them symlinked. All worked fine, but when running nix-env to install something else I got an error saying this isn't allowed
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
<AtnNn> rui: the nix store uses absolute paths. I think you may need to rebuild everything in it
<rui> AtnNn: Oh, right
<rui> Crap. Why doesn't it allow a symlink...
<rui> I thought it would given that it is filled with symlinks itself
<rui> Humm, perhaps if /nix is not a symlink but store is...
<simpson> rui: Assuming that your goal is to put /nix/store on a separate partition for space reasons.
<rui> NIIIICE
<LnL> rui: you can allow it to be a symlink with an env variable, but if you can I would recommend using a bind mount or something like that
<rui> It is
mkoenig has quit [(Read error: Connection reset by peer)]
<rui> Thanks, I'll bind mount!
<simpson> rui: The rest of that thread is short and has some more commentary. And maybe the wiki has something too.
ripkirby has joined #nixos
<ripkirby> hi guys I have this problem with qmake -> Could not find qmake configuration file linux-g++.
<ripkirby> I have the dontUseQmakeConfigure = true; option in my nix file
mkoenig has joined #nixos
<ripkirby> I check out the mkspecs in __nix_qt5__ and there's nothing in it
<ripkirby> any help?
systemfault has quit [(Quit: Bye!)]
AllanEsp1nosa has quit [(Ping timeout: 258 seconds)]
pxc has quit [(Ping timeout: 245 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
jsgrant has joined #nixos
AllanEsp1nosa has joined #nixos
pie__ has quit [(Changing host)]
pie__ has joined #nixos
garbas has quit [(Quit: WeeChat 1.6)]
oida has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
eacameron has quit [(Ping timeout: 255 seconds)]
systemfault has joined #nixos
ripkirby has quit [(Quit: Page closed)]
ebzzry has quit [(Ping timeout: 240 seconds)]
stivo has quit [(Remote host closed the connection)]
eacameron has joined #nixos
mguentner has joined #nixos
ublubu has quit [(Ping timeout: 255 seconds)]
mkoenig_ has joined #nixos
slack1256 has joined #nixos
Wizek_ has quit [(Ping timeout: 245 seconds)]
Wizek has quit [(Ping timeout: 245 seconds)]
<slack1256> Can I launch sshd with another configuration without `switch` configuration.nix ?
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<slack1256> I usually have password logins disabled on my machine. But sometimes I need to enable it to import the public keys
georges-duperon has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
acowley is now known as acowley_away
ublubu has joined #nixos
danharaj has joined #nixos
rui has quit [(Quit: WeeChat 1.5)]
<dtz> rui: yeah I've had success with a bind mount to use a different partition, seems to work great for me :)
mguentner2 has joined #nixos
ertes has joined #nixos
mguentner has quit [(Ping timeout: 240 seconds)]
takle has quit [(Remote host closed the connection)]
Fare has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] Ralith opened pull request #21729: matrix-synapse: 0.18.6-rc3 -> 0.18.7-rc2 (master...matrix-synapse) https://git.io/vMc5m
itscaleb has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
ryantrinkle has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
Itkovian has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
Itkovian has quit [(Client Quit)]
AllanEsp1nosa has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
sellout-1 has quit [(Read error: Connection reset by peer)]
zraexy has joined #nixos
sellout- has joined #nixos
phanimahesh has joined #nixos
<eacameron> So I can run nix-env -i /nix/store/8kgw7k7z8rs2fp12253zr7f5sb4v311g-nixops-1.5pre2118_2d8b282 and it installs this package perfectly.
<eacameron> Is there a way to run "nix-shell -p /nix/store/8kgw7k7z8rs2fp12253zr7f5sb4v311g-nixops-1.5pre2118_2d8b282" instead and get it to download and install in the shell?
<eacameron> clever: I think you told me about the nix-env -i feature
<clever> eacameron: hmmm, not sure, maybe if you quote it weirdly
<clever> eacameron: the arguments to -p just wind up inside the buildInputs array of a nix expression
<clever> so maybe nix-shell -p '"/nix/store/foo"'
<clever> though it probably wont download then, nix-store -r /nix/store/foo first to dl
<eacameron> clever: well the weird thing is, once I run nix-env -i on it...the nix-shell -p <store-path> works.
<eacameron> But if I haven't installed it yet, it doesn't work.
<clever> try with nix-store -r instead
<clever> that downloads without putting it into your profile
endformationage has quit [(Quit: WeeChat 1.6)]
<eacameron> clever: Ah that works. So running nix-store -r first and then nix-shell does the trick.
<eacameron> I'm writing a script and I don't want to touch anyone's profile...
<clever> eacameron: it might be simpler to just prepend /nix/store/foo/bin to $PATH then
<clever> eacameron: just skip nix-shell, since you know you only need the bin in path
<eacameron> clever: But what about dependencies?
itscaleb has joined #nixos
<clever> nix-store -r downloads all dependencies
<clever> a storepath can never exist without its deps
<eacameron> clever: Right...but, for example, nixops is Python, so it needs to run with the correct python
<clever> eacameron: which is why its recomended to always do #!/nix/store/foo-python-2.6/bin/python
<clever> so it knows exactly which build of python to use
<clever> and now python is a dep, that never appears in the users profile
<eacameron> clever: well now...so it does
<eacameron> clever: head $(which nixops) tells it like it is.
<eacameron> So I don't even need nix-shell...
<eacameron> CRAZY
<pie__> why is alt-tab so bad in kde
phanimahesh has quit [(Ping timeout: 240 seconds)]
phanimahesh has joined #nixos
newdan has joined #nixos
acowley_away is now known as acowley
athan has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<newdan> Is there a stable version of nixpkgs?
<AtnNn> newdan: yes, currently 16.09
<newdan> AtnNn: How can I switch to it? What's the URL?
<__red__> funny, I've always used unstable because, let's face it... when you have an OS with atomic changes that you can rollback having a build that doesn't compile isn't a big deal
<AtnNn> newdan: I've been using https://nixos.org/channels/nixos-16.09, I don't know if it works without nixos
<newdan> __red__: Currently I can't get nixops to install so want to try the last stable version
<Ralith> __red__: in principle I agree, but last time I tried switching to unstable I couldn't even log in :P
<__red__> Ralith: I'm using it on a server, so less breakage service :-)
<__red__> surFACE
<Ralith> that helps
<Ralith> I still run my server on stable to minimize surprises though
<Ralith> (plus cherry-picked updates I need)
<__red__> I had to move to unstable because some security patches didn't make it to stable
<Ralith> ever?
<Ralith> that would be a bug and should be reported
<newdan> Hmm... was there some point in time where there were '-stable' channels, but there aren't anymore? The nix-channels manpage says it'll chop off "-stable" or "-unstable" when auto-setting the name, but I don't see a channel that ends in "-stable" on nixos.org/channels/
zraexy has quit [(Quit: Leaving.)]
<__red__> Ralith: Oh, I'm wrong. The version reported by the installed version is actually different to the compiled version. It's good.
johnsona` has quit [(Ping timeout: 255 seconds)]
slack1256 has quit [(Ping timeout: 256 seconds)]
moet has joined #nixos
<moet> when i run cmus on nixos, it hangs during startup
<moet> firefox, aplay, and other sound applications work ok
auntie is now known as glines
zraexy has joined #nixos
eacameron has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vMcbu
<NixOS_GitHub> nixpkgs/master d6ff445 Joachim Fasting: grsecurity: 4.8.15-201612301949 -> 4.8.16-201701062021
<NixOS_GitHub> nixpkgs/master 0f24e56 Joachim Fasting: dnscrypt-proxy: 1.9.0 -> 1.9.1
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21694: skype: paxmark to fix execution on PaX-enabled kernels (master...fix/skype-pax) https://git.io/vMZ36
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mguentner2 is now known as mguentner
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
takle has joined #nixos
acowley is now known as acowley_away
digitalmentat has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21729: matrix-synapse: 0.18.6-rc3 -> 0.18.7-rc2 (master...matrix-synapse) https://git.io/vMc5m
kampfschlaefer has joined #nixos
jgertm has joined #nixos
nanobapt has joined #nixos
moet has quit [(Quit: goodnight)]
zraexy has quit [(Ping timeout: 255 seconds)]
johnsonav has joined #nixos
siarheit_ has joined #nixos
jgertm has quit [(Ping timeout: 248 seconds)]
met48 has joined #nixos
mkoenig_ has quit [(Ping timeout: 245 seconds)]
mkoenig has joined #nixos
jgertm has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
jgertm has quit [(Ping timeout: 256 seconds)]
jgertm has joined #nixos
mrkgnao has joined #nixos
<mrkgnao> so I just installed NixOS a while back
<mrkgnao> and I'm trying to package a piece of software and failing hard
mrkgnao has quit [(Client Quit)]
mrkgnao has joined #nixos
<mrkgnao> although I suspect the problem *might* be in the github repo itself
feepo has joined #nixos
<nanobapt> hi there !
<nanobapt> if I have a different hash on a package setup, what could I do ?
FRidh has joined #nixos
ixxie has joined #nixos
mrkgnao has quit [(Quit: WeeChat 1.5)]
<ixxie> gchristensen, kudos on setting up a security team; would the team also be handling privacy issues (I am thinking of something like the nix store privacy issue mentioned here https://github.com/NixOS/nixpkgs/issues/3990)
justbeingglad has joined #nixos
chimay has joined #nixos
justbeingglad has left #nixos []
<MichaelRaskin> gchristensen: mpd 0.20 is a feature release. It includes fixes from 0.19.21 bugfix release (0.19.20 was minor-feature release). One of the bugs fixed is declared as an ffmpef-related crash. So the question is whether we should consider this security bug and port it to stable, and whether to cherry-pick the update or make another smaller update
ebzzry has joined #nixos
mudri has joined #nixos
ambro718 has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #21685: bind: fix collision of binaries in outputs (master...fix/bind-outputs) https://git.io/vMGDf
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMcjQ
<NixOS_GitHub> nixpkgs/master e6708ce Franz Pletz: bind: fix collision of binaries in outputs...
<NixOS_GitHub> nixpkgs/master db8b044 Franz Pletz: Merge pull request #21685 from mayflower/fix/bind-outputs...
Ivanych has quit [(Ping timeout: 240 seconds)]
wkennington has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
knupe has joined #nixos
alx741_ has joined #nixos
<gchristensen> MichaelRaskin: I see, sorry, it has been a very long week :) I don't have any strong opinions, unless .20 had backwards compatability breaks
<gchristensen> as I recall though mpd was pretty conservative about that
<MichaelRaskin> I have zero idea about compatibility — I never use it. I just saw «Oh, mpd has a new release more significant than the previous 20» in a feed
<MichaelRaskin> OK, builds/starts, what more can you ask for?
<gchristensen> :P
thc202 has joined #nixos
alx741 has quit [(Ping timeout: 272 seconds)]
Ivanych has joined #nixos
<MichaelRaskin> Well, if _I_ had a strong opinion, I would just go on and implement it
<gchristensen> I'll go read the change log, but I need a few minutes -- it is 5:55 AM and I'm just waking up :)
<MichaelRaskin> Ah. Oh you people outside the NixOS Expected Timezone Range (-1:+3, I guess)
<gchristensen> hehe
Ivanych has quit [(Client Quit)]
<MichaelRaskin> Technically there are some _changes_ in 0.20: - "commands" returns playlist commands only if playlist_directory configured, maybe also - drop the "file:///" prefix for absolute file paths
<MichaelRaskin> But also a fix for a memory leak is in 0.20
Ivanych has joined #nixos
<gchristensen> hmmm I think we should do the smaller update for stable, for now
<MichaelRaskin> Oh, there is also an ALSA channel order fix
<gchristensen> I'm worried some of the things in here are going to break people's configs. on the other hand, I don't consider mpd too critical obviously, so if we backported the .20 it'd probably be fine
<MichaelRaskin> …backported and waited for complaints…
ixxie has joined #nixos
<gchristensen> *shrug* I don't think any of us have time to keep stable as stable as say, debian, and rollbacks are good.
<MichaelRaskin> That's true
<LnL> gchristensen: morning, you're up early!
eacameron has joined #nixos
<MichaelRaskin> I mean, in master «update to the limit and wait for complaints» is just what I do, but stable seems to be lead by you right now, so I wanted to make sure
<ixxie> morning
<gchristensen> ixxie: good morning ixxie
<ixxie> gchristensen: did you see my earlier comment?
<gchristensen> I did
<ixxie> It is in the spirit of my policy to not be afraid to ask stupid questions xD
<gchristensen> and it is a very good question, but I don't know the answer to it
<gchristensen> LnL: couldn't sleep :)
<ixxie> My instinct is that seperating privacy and security issues is a bad idea even if you have infinite resources
eacameron has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin> In the current situation security team is about coordinating package updates with known upstream security fixes
<gchristensen> ixxie: right now my main concern is keeping up with package issues...exactly
<MichaelRaskin> And things like «store privacy» require a consensus on deep changes to Nix
<gchristensen> yeah ...
<ixxie> makes sense
<ixxie> I was more wondering, if someone has a privacy related issue which is easier to fix, should they approach the security team
<MichaelRaskin> Note that creating security team doesn't even require or imply global consensus among all committers: some experienced people who have shown a lot of good faith have chosen to coordinate the package updates they care most about.
<gchristensen> definitely
<ixxie> because I suppose for any given domain, there are issues which run deep and issues which don't
<MichaelRaskin> That's true.
<gchristensen> I think that if you have an issue you're concerned about then you could take it to any person in the community you can trust to handle it appropriately, and if you don't know who that is, you could start with a member of thesecurity team
<MichaelRaskin> You can also ping me (7c6f434c) if you have a possibly controversial hack that doesn't break anything outside its scope. I have a reputation of trying to implement such solutions myself, too, so I could be more disposed to trying this out for now and then improving…
<gchristensen> ixxie: do you have a bug report? or a project?
<gchristensen> or just curious?
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vMCvJ
<NixOS_GitHub> nixpkgs/release-16.09 555f6f6 Michael Raskin: mpd: 0.9.19 -> 0.20...
bennofs has joined #nixos
<gchristensen> this one openjpeg issue is a pain in my side this week
<ixxie> well yesterday I was grappling with an issue vaguely related to https://github.com/NixOS/nixpkgs/issues/14318
<NixOS_GitHub> [nixpkgs] peti closed pull request #21722: Fix a lot of rPackages (master...fix/r-modules) https://git.io/vMcqC
chimay has quit [(Quit: WeeChat 1.6)]
<ixxie> and again I am struck by how difficult it is to understand the nixkpgs development process
<gchristensen> oh :/
<gchristensen> ?
<ixxie> I mean, its very understandable
<ixxie> its a very complex thing and I imagine that the more things become formalized and bureaucratic, the easier they are to describe but the harder they are to work with
<bennofs> ixxie: how does that relate to this issue?
<ixxie> I guess it would be nice to have a sort of checklist or recipe for "what to do when I find a problem"
<gchristensen> yeah I think I'm confused
<ixxie> the issue is: who to ask what? What should I do before asking?
<ixxie> am I getting clearer? >.<
<bennofs> no :/
<gchristensen> if it is a just a problem you're having, just describe your problem as well as you can here, and ask for help, or open an issue?
<MichaelRaskin> The problems usually begin when the problem is _complex_
<ixxie> well I often come here asking questions, and people are super helpful
<ixxie> but I also don't want to needlessly burden people
<ixxie> I guess I should open an issue
<ixxie> or comment on an existing one
<gchristensen> ixxie: well feel free to ask questions, I hope we've been friendly enough towards your questions in the past
<ixxie> incredibly friendly
<ixxie> this community is awesome ^^
<gchristensen> good to hear :)
<LnL> yeah, I hope irc never dies most the great people of a community are usually in there
<bennofs> ixxie: i think i kind of get what you mean. would your concerns be solved by some form of establishing "ownership" over a part of nixpkgs/nixos? For example, right now, it is kind of hard to know who is responsible for Gnome
<ixxie> exactly bennofs
<ixxie> earlier this week there was also discussion here about the wiki, some of us less experienced nixers still feel that - while the manual is awesome - a complementary format would be helpful.
<ixxie> Something more geared for learning: tutorials, a digital textbook of sorts, etc. which would including troubleshooting guides and other formulas
ebzzry has quit [(Ping timeout: 255 seconds)]
<ixxie> the nixpills are a great example
<ixxie> this sort of thing would allow all sorts of examples and variant tutorials which would normally have no place in the manual, and could be linked and refered to in the manual
eacameron has joined #nixos
Lowl3v3l has joined #nixos
<LnL> I remember somebody asking if he could subscribe to all the issues/PRs related to a label on github
<LnL> I think it would be nice to have an owner and maintainers of more general parts
<ixxie> anyway gchristensen - regarding my issue :P - services.xserver.layout = "us";
<MichaelRaskin> ixxie: about burdening: if you believe in revealed preferences, you can consider the fact that #nixos-in-depth, intended for discussions of complicated matters separately from user support, never took off
eacameron has quit [(Ping timeout: 272 seconds)]
civodul has joined #nixos
Xackle has quit [(Quit: C-x C-c)]
<MichaelRaskin> I wonder if mention-bot can be trained to handles issues; for a person who has read the Nix manual but has klittle experience, it is usually feasible to list the files that are most likely to be related to the issue.
<LnL> MichaelRaskin: is that an irc channel?
<MichaelRaskin> LnL: there is such an IRC channel
<MichaelRaskin> When it was announced, I declared to idle there in case something complicated gets discussed. Have never seen anything
<LnL> are there a lot of people in there?
<MichaelRaskin> I think not. Definitely no discussions
<ixxie> its always hard to get momentum for anything new like that
eacameron has joined #nixos
<ixxie> but I wonder also if IRC is the best medium for that sort of thing
<LnL> I don't think this channel is busy enough to need a separate channel for most cases, but good to know
<ixxie> I guess one could ask those sorts of question in github? but I wonder if that is intended only for technical issues
Wizek has joined #nixos
Wizek_ has joined #nixos
<ixxie> or maybe the reddit xD
eacameron has quit [(Ping timeout: 255 seconds)]
<ixxie> urgh I never finished my question >.<
<gchristensen> github is the other place, yeah
<ixxie> so services.xserver.layout = "us"; services.xserver.xkbVariant = "altgr-intl"; doesn't actually work
ertesx has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMCfM
<NixOS_GitHub> nixpkgs/master 428927f Graham Christensen: openjpeg2: patch for multiple CVEs...
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/vMCfD
<NixOS_GitHub> nixpkgs/release-16.09 608276a Graham Christensen: openjpeg2: patch for multiple CVEs...
<ixxie> now I want to try and continue diagnostics, and yesterday gchristensen - you helped me discover that it seems those options are indeed propegated properly to my xorg.conf
eacameron has joined #nixos
ertes has quit [(Ping timeout: 248 seconds)]
ertesx is now known as ertes
eacameron has quit [(Ping timeout: 246 seconds)]
<gchristensen> ixxie: I'm glad I could help with that :) it does sound related, but I don't really know much about X to further help :/
<ixxie> so time to post on github
<ixxie> ^^
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21727: exim: corrected implementation of services.exim.config (master...master) https://git.io/vMcDF
ioejtner has joined #nixos
<ixxie> now I need 'steps to reproduce' :P
<ioejtner> Hi! I want to have one file that declares my whole systmem - and when setting up a new machine just copy that file. Can NixPKGS do that? If so - what file on the File System when using NixOS or NixPKGS on macOS is that? Looking for the file that is a system "package.json" or "Gemfile" or so.
<NixOS_GitHub> [nixpkgs] domenkozar pushed 2 new commits to master: https://git.io/vMCfx
<NixOS_GitHub> nixpkgs/master c7ba464 Connor Clark: nix-prefetch-git: remove call to non-existent print_metadata command; improve hash mismatch error message.
<NixOS_GitHub> nixpkgs/master b86c663 Domen Kožar: Merge pull request #21654 from awakenetworks/connor/print_metadata...
<ixxie> ioejtner: in NixOS that's configuration.nix : https://nixos.org/nixos/manual/index.html#sec-configuration-file
<ixxie> ioejtner: it allows you to declaratively manage services of systemd (something not possible with Nix on other platforms, to my knowledge)
rmrfroot has joined #nixos
<ioejtner> ixxie: thank you! I see mentioned it being located in /etc/nixos/configuration.nix. Is this also true to nix-pkgs users on MacOS? If not, where is the configuration file located for those systems? (Looking for the one true file to copy onto a new system when setting it up)
phanimah1sh has joined #nixos
<MichaelRaskin> It is only for NixOS
<LnL> you only have ~/.nixpkgs/config.nix on darwin
<LnL> that's for things like package overrides, not system configuration
<NixOS_GitHub> [nixpkgs] domenkozar deleted rocksdb at addcb0d: https://git.io/vMCJm
<MichaelRaskin> For macOS just write a buildEnv-based expression, nix-build it somewhere and add result to PATH
<MichaelRaskin> It is a valid way of using Nix, and nix-env doesn't do that much more anyway
<ioejtner> Ok - so if one keeps their ~/.nixpkgs/config.nix in git and up to date on all machines - they will have the same state? That is the one true file to hold all declarations - if you're a darwin user?
<LnL> I did make https://github.com/LnL7/nix-darwin that aims to do as much of the nixos configuration as possible (where it makes sense)
phanimahesh has quit [(Ping timeout: 255 seconds)]
<LnL> but the amount of modules that are in there at the moment is very limited compared to nixos
<MichaelRaskin> macOS itself won't be configured by Nix
<ioejtner> All right, got it. Gotta buy a good linux laptop and switch to NixOS!
<ioejtner> Thank you all for answering my noob questions :)
<LnL> ioejtner: if it's just for packages you can do everything declaratively with config.nix
<ioejtner> LnL: That's what I'll go for first - just sick and tired of what I installed with homebrew or ports and want to have one declarative file to be done with all package mgmt
<ioejtner> tired of remembering*
<LnL> if you have that and run nix-env -iA nixpkgs.shell-env you get all those packages
<gchristensen> MichaelRaskin: I figured out why I was confused about mpd
jgertm has quit [(Ping timeout: 248 seconds)]
<gchristensen> MichaelRaskin: a typo in "mpd: 0.9.19 -> 0.20" :D
<ioejtner> LnL: interesting - is it so that you can just put that config.nix inside ~/.nixpkgs, run one command (`nixpkgs up` or something) and then it's all set up?
<ioejtner> or just `nix-env -iA nixpkgs` and it installs all child configs?
<srhb> ioejtner: nix-env -iA shell-env
<srhb> ioejtner: If we're looking at the same thing :)
<ioejtner> srhb: golden - thank you so much. Gonna spend this sat afternoon getting it all set up on my machine
<srhb> ioejtner: Cool! :-)
<LnL> ioejtner: nixpkgs is the set of *all* packages, you don't want everything
<LnL> so in the example I gave you should use nixpkgs.shell-env, will install curl, git, mercurial, ...
<ioejtner> In the meanwhile I'd also be very curious to hear anyones recommendation on a good laptop for a developer running NixOS? Hearing good things about the Dell XPS 15
<LnL> you can put everything in one giant buildEnv or have a few separate ones like in that file
<gchristensen> ioejtner: same
<ioejtner> LnL: that seriously looks like dream coming true
<rmrfroot> ioejtner: what's you budget for a laptop?
<ioejtner> I'd like to stay under 1500 euro - but require a 15" screen
<rmrfroot> ioejtner: alright! also hearing good things about the Dell XPS 15. Lenovo ThinkPad T460s is also a laptop i've heard good things about.
* LnL is still not sure what to do for his next laptop
<rmrfroot> i have a vague memory about reading somewhere that lenovo laptops can have differ a lot in quality between the different models
digitalmentat has quit [(Ping timeout: 255 seconds)]
<rmrfroot> right now i'm using an ancient Dell Latitude E5430 that i got from a friend because "the wifi was broken". turns out he had just flipped the physical wifi-switch off :P
<ixxie> LnL: I am loving my Dell XPS 13
<ixxie> the developer edition ships with ubuntu
<ixxie> so you ain't even paying for windows XD
<ioejtner> ixxie: that's nice - being sure to have drivers for audio and wifi is super valuable
<LnL> not actively looking yet, but I'm getting at the point where I'm not sure if I still want a macbook
<rmrfroot> ixxie: what's the keyboard like? :)
<gchristensen> LnL: alright, that one felt like it dragged a bit for me :) now for some breakfast.
<ioejtner> LnL: running NixOS on Macbook hardware?
<gchristensen> I run nixos on my macbook pro 11,3 and it works _great_
<LnL> no, I'm still on darwin for my macbook only using nixos on the desktop
<LnL> but last time I tried linux didn't even work
<rmrfroot> gchristensen: nice, maybe i should surprise my gf and install NixOS on her macbook then
<gchristensen> oh yeah, she won't even know the difference! ;)
<FRidh> Floating-point support in nixUnstable. That makes me happy. Now I can just have all my simulation configuration in one file, without Nix complaining.
<ixxie> rmrfoot: pretty standard and comfortable. No keypad of course, it's a 13 inch. What I love about this machine is that its super small for the screen size because the rim of the screen is only like 2mm.
<NixOS_GitHub> [nixpkgs] regellosigkeitsaxiom opened pull request #21733: Added option networking.wireless.networks.*.priority (master...master) https://git.io/vMCUU
<rmrfroot> gchristensen: :D
<gchristensen> rmrfroot: a good way to put the spark back in your relationship! ;)
<ixxie> rmrfroot: at least it has the ctrl buttom in the corner, where it should be xD
<rmrfroot> gchristensen: hahaha
<rmrfroot> ixxie: sounds very promising :)
<ixxie> rmrfoot: I had a tiny annoyance with the trackpad, accidently clicking the middle button instead of the left one, but now I remapped the button and its all peachy
<ixxie> rmrfroot: and as a bonus they just announced http://www.windowscentral.com/xps-13-2-1-dell-convertible-weve-always-wanted
<LnL> ok this rust build is starting to annoy me now...
mrkgnao has joined #nixos
sdothum has joined #nixos
<gchristensen> LnL: what's up?
mudri has quit [(Ping timeout: 248 seconds)]
<rmrfroot> ixxie: ah ok! is the trackpad one of those pads where there is just one big area and not separate physical buttons?
<LnL> gchristensen: test/codegen/naked-functions.ll: No such file or directory
<gchristensen> oh boy
<ixxie> rmrfroot: yes, but the corners still actually click mechanically
<LnL> gchristensen: might be cause I enabled proper parallel building
<rmrfroot> ixxie: alright! looking at the video from the article you sent it does look very nice
<LnL> gchristensen: takes 1 to 1.5 hours without it
<ixxie> rmrfroot: I bought mine last year, so I have the regular laptop; still awesome ^^ be careful about the screen choice - the higher quality screen is choice (probably the one used in the convertable) is glossy.
<rmrfroot> ixxie: alright, thanks for the heads up!
<gchristensen> LnL: yeah ... and know gnome depends on it
<gchristensen> and now*
<LnL> yeah I saw that
<gchristensen> we should probably put it in the `tested` and `unstable` jobs for the channels to make sure hydra builds it
<LnL> good idea, I'm pretty sure there are still some unstable tests in there that we have not disabled yet
mkoenig has quit [(Remote host closed the connection)]
<LnL> hopefully I can get it working properly
<gchristensen> yeah
<LnL> I think its about ~30min on my machine with these changes
<gchristensen> oh nice
<gchristensen> fpletz: I'm coming up on agreeing that I feel ok signing your key, you signing my key, and after domen / rob get some commits under their key, signing those too
<ixxie> Does anybody know about those NixUP (Nix User Profile) threads from a few years back: https://github.com/NixOS/nixpkgs/issues/3990
<ixxie> copumpkin?
<gchristensen> fpletz: zimbatm's "real identity is a fallacy" convinced me pretty good
pi3r has joined #nixos
FRidh has quit [(Remote host closed the connection)]
<ixxie> gchristensen: also has interesting philosophical implications
<ixxie> xD
athan has quit [(Ping timeout: 258 seconds)]
<LnL> ixxie: what I do now is environment."per-user/lnl/gitconfig".text = '' ... ''; and symlink that to in my homedir
<gchristensen> ixxie: no doubt, though zim has spent a long time keeping his internet identity and personal identity separate
<LnL> my nix-darwin project also supports user activation scripts, perhaps we could introduce that in nixos at some point
FRidh has joined #nixos
<ixxie> LnL I didn't quite understand that... is there somewhere I can read more about this approach?
<FRidh> anyone running nixUnstable?
<LnL> ixxie: don't think so, just something I came up with
<gchristensen> hydra is, what's up?
<FRidh> nix-build just hangs
<gchristensen> heh
FRidh has quit [(Remote host closed the connection)]
ebzzry has joined #nixos
FRidh has joined #nixos
<NixOS_GitHub> [nixpkgs] timbertson opened pull request #21734: add nix-prefetch-source (master...prefetch-src) https://git.io/vMCUd
<mrkgnao> so I installed nixos today morning
ilja_kuklic has joined #nixos
<ixxie> LnL: not sure how to apply this to NixOS, and abstract it to support per-user configuration modules
<FRidh> pikajude: are you on nixUnstable?
<mrkgnao> it's been ... interesting, but nothing I can't work with. (except for the fact that bold Iosevka seems to be missing the 't' and falling back on something, which I absolutely cannot explain.)
<mrkgnao> can someone help me out with some problems I'm having compiling some custom software?
<gchristensen> mrkgnao: looks like a few people are around who can help with that, ask away!
<mrkgnao> this is what I'm trying to install: <https://github.com/jaagr/polybar>
<mrkgnao> so I hunted down most of the dependencies and made a small .nix file to use nix-shell with
<LnL> ixxie: that example should also work on nixos, I have some ideas on how to implement a module for that
<mrkgnao> but the make step fails saying something about a missing header file. now, I used to run this from source on Arch till, like, yesterday, so I'm fairly sure the repo isn't the problem.
bert1 has joined #nixos
<bert1> t
<mrkgnao> I should note that I tried making a nix expression for another piece of software I use, and it basically worked right away!
bert1 has quit [(Client Quit)]
<FRidh> nix-prefetch-url does work
<ixxie> LnL: lets get back to this sometime ^^
<MichaelRaskin> gchristensen: oops, sorry
<mrkgnao> would anyone be willing to, say, try compiling the package?
<FRidh> MichaelRaskin: yesterday you were helping out pikajude with an issue. Did you find out what was going on?
<gchristensen> mrkgnao: can you share your .nix file?
<FRidh> I just switched to nixUnstable, and also noticed that fetching the tarball just hangs, as does building other items.
<mrkgnao> yep, any recommended paste service?
<gchristensen> gist, hastebin, pastebin, whatever :)
<mrkgnao> okay
<MichaelRaskin> ioejtner: Asus Zenbook was very nice to set up. Thinkpad W530 I have is OK spec-wise, I was annoyed by a few glitches to work around when doing more complicated stuff (by default NixOS boots and works fine, and then you want a complicated graphics setup and succeed but with some effort), but nothing unfixable and the total amount of battery you can put in is huge
<MichaelRaskin> FRidh: nope, at some point I admitted that I am not sure how to check stuff in macOS
<MichaelRaskin> If it is reproducible on Linux, maybe I could try to reproduce the problem myself in an hour or something
<FRidh> It seems to read a .drv, fork, and just stop http://pastebin.com/mkwS5YX4
<gchristensen> MichaelRaskin: warning! you can't go back to nix stable from nixunstable due to a scehma change!
<gchristensen> brb, mrkgnao
<mrkgnao> note that I only use this to run nix-shell, I haven't really worked out the build steps yet
<MichaelRaskin> gchristensen: thanks for the warning, will start with a VM first then
<MichaelRaskin> FRidh: what Nixpkgs revision, which Nix expression, what kernel version?
<ioejtner> MichaelRaskin: cool - have not considered Asus. Putting it in the list ;)
<MichaelRaskin> gchristensen: I guess _I_ actually _can_ (well, external boot + nix-store --export plus reinitialisation of store + nix-store --import), but somethingf to avoid
<FRidh> MichaelRaskin: current nixos-unstable, 7215118c1b2db6488fb04d21f505c28b68adcfa3, kernel 4.4.39 $ nix-build -A nixops
<gchristensen> sure
<MichaelRaskin> ioejtner: Asus has the nicest UEFI config in-BIOS I have ever seen (compared to Lenovo, Fujitsu — miles ahead)
mudri has joined #nixos
<MichaelRaskin> If Asus produced Zenbook MB in a 15.6'' form-factor with all the spare room filled by batteries, I would probably not get a used ThinkPad
<ioejtner> I'm amazed how awful websited Asus, Lenovo & Dell have. Painful to use... So much cruft...
<gchristensen> ioejtner: I KNOW! :O IT IS SO BAD.
<FRidh> let's turn off sandboxing and see what happens
<mrkgnao> is there any kind of user-specific configuration.nix possible?
<MichaelRaskin> My ZenBook a few years old had a HDD from a shit model, though — after like tthree replacements under warranty I gave up and installed a different one myself — which is easy (as with all the good notebooks)
<mrkgnao> i.e. something that a non-root user can maintain on their own and so on? to generate config files etc.? (I was asking about things along these lines yesterday)
truh has joined #nixos
<mrkgnao> I'd prefer not throwing all my dotfiles in /etc
georges-duperon has joined #nixos
<MichaelRaskin> FRidh: MichaelRaskin: current nixos-unstable, 7215118c1b2db6488fb04d21f505c28b68adcfa3, kernel 4.4.39 $ nix-build -A nixops — I assume nixUnstable?
<FRidh> MichaelRaskin: yes, nix.package = pkgs.nixUnstable;
<FRidh> no nixos-rebuild switch anymore either :(
systemfault has quit [(Quit: Bye!)]
<ioejtner> Maybe a stupid question: is the Nix expression language compatible with Emacs' aggressive-indent-mode?
<ixxie> mrkgnao: I have been investigating this recently, and there isn't something specifically designed for this built in but LnL just linked me their solution here: https://github.com/LnL7/nix-darwin/blob/master/README.md#environmentetc (not that I fully understand it)
<FRidh> gchristensen: MichaelRaskin: hydra isn't running nixStable, but also not exactly nixUnstable... https://github.com/NixOS/hydra/blob/master/release.nix#L57
<ixxie> but I have been starting to wonder whether it actually make sense to develop a display manager specifically for NixOS, that would support some special Nix specific features (but I don't know anything about this sort of thing and how it would interact with systemd)
<[0x4A6F]> Is there a cache for i686 with chromium? The current 16.09-1445 doesn't compile.
<ioejtner> When running something like `nix-env -i sl` - which configuration file is updated? Wondering which file I can put in git and sync to my other laptop - and get sl running on both. Looking for the NixPkgs equivalent of Package.json, or the Cargofile or Gemfile for node.js, rust & ruby.
Itkovian has joined #nixos
<mrkgnao> ixxie: what kind of thing do you have in mind?
m3tti has joined #nixos
civodul has quit [(Read error: Connection reset by peer)]
<ixxie> mrkgnao: it actually doesn't really make sense now that I think about it, because it would require elements of the bootloader, systemd and the display manager to be integrated
<ixxie> mrkgnao: but it would look like a login screen where you could pick not only the user but also the profile
<m3tti> hi there does anybody play dwarf fortress on nix?
<LnL> I would like to switch away from slim since that isn't being developed anymore apparently, but nothing else seems to work :(
<mrkgnao> ixxie: yeah, I'm pretty sure you can't select profiles post-boot
<MichaelRaskin> ioejtner: I think nix-env is a bit too imperative, but there is buildEnv in NixPkgs, so you can write your own package.json easily and that file will be clonable
<mrkgnao> or maybe you can, as long as you don't mess with grub etc?
<gchristensen> m3tti: no but this is how I made df use a theme: pkgs.dwarf-fortress.override { theme = pkgs.dwarf-fortress-packages.phoebus-theme; } I think
<ioejtner> MichaelRaskin: all right - got it. Thanks for helping a noob out (thanks to all others in this channel too!)
<MichaelRaskin> m3tti: there is dwarf_fortress package, but it requires NIXPKGS_ALLOW_UNFREE=1 because it is unfree (as in freedom).
<MichaelRaskin> ioejtner: well, I haven't given you enough detail, it's still just a direction.
<LnL> ixxie: I'm going to have some free time somewhere with a bad internet connection tomorrow so I might mess around with it then
<m3tti> MichaelRaskin: how can i set the value in the .nix file or should i set it anywhere else?
<ioejtner> MichaelRaskin: it's helpful though, so I appreciate it. Using nix-env -i is mentioned all over the wiki so just assumed it was the way to go
<MichaelRaskin> what way of installing packages are you using?
jensens has joined #nixos
<m3tti> i've already set this variable in my nix file under config
<mrkgnao> gchristensen: did you make any progress?
<LnL> ixxie: I'm also a bit curious what you don't understand about per-user etc example
<MichaelRaskin> ioejtner: yep, looking up nix-build, nix-shell and buildEnv is worth the hassle
<ioejtner> MichaelRaskin: So far I've been doing homebrew and a million programming language specific build tools - trying to wrap what I can in Dockerfiles so that it is somewhat portable
<MichaelRaskin> m3tti: it's complicated. depending on what you are doing you may set it as environment variable, or as a config variable in one of three different places
<gchristensen> mrkgnao: sorry, my eyes hurt and I need to step away :( ask again -- hopefully someone else can help.
<MichaelRaskin> Dockerfiles are a good analogy to nix-shell + buildEnv, I would say
<MichaelRaskin> mrkgnao: nixos-rebuild switch creates and selects a profile without rebooting, and you can just do the selection part if you want in another way
<m3tti> ok i'll take a look MichaelRaskin
katyucha_ is now known as katyucha
<katyucha> Hi
<MichaelRaskin> m3tti: m3tti: NIXPKGS_ALLOW_UNFREE=1 nix-shell -p dwarf_fortress --run dwarf-fortress
<mrkgnao> gchristensen: no problem
<mrkgnao> so, uh, would anyone else be willing to try compiling a package?
ixxie has quit [(Ping timeout: 256 seconds)]
civodul has joined #nixos
<MichaelRaskin> mrkgnao: link?
<mrkgnao> sec
<mrkgnao> this is the file I'm using nix-shell with for now <https://gist.github.com/mrkgnao/73e3d9c476a6b839fec3cc193509f845>
<mrkgnao> and this is the repo: <https://github.com/jaagr/polybar>
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MichaelRaskin> mrkgnao: erm. does this package even install anything? Isn't cmake setup-hook enough anyway?
<gchristensen> MichaelRaskin: they're new :) still figuring this stuff out.
* gchristensen leaves for real thi stime
<mrkgnao> what's a setup-hook?
<mrkgnao> the make step fails
<MichaelRaskin> <command-line>:0:1: error: macro names must be identifiers
<mrkgnao> I hunted down all the dependencies and got the cmake step to work, but make complains about missing headers
<mrkgnao> yes
<MichaelRaskin> Remove the installPhase anyway
<mrkgnao> yeah, I was just using it for the nix-shell
<MichaelRaskin> Addition of CMake to buildInputs is enough to make sure cmake is used instead of configure
Itkovian has joined #nixos
<mrkgnao> I can't seem to shake the feeling that this is about some missing dependency
<mrkgnao> I used to build this from source on Arch (I have a fork) and this never happened
<LnL> gchristensen: about the ruby thing lastnight, did you want it as the library or just the binary
rly has joined #nixos
<mrkgnao> I even tried checking out older tags to be sure. no joy.
Matrixiumn has joined #nixos
<MichaelRaskin> Well, on Arch if something got installed by dependencies, you always has its headers
FRidh has quit [(Remote host closed the connection)]
<mrkgnao> mhm.
<mrkgnao> what do you think I should try?
FRidh has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
<FRidh> each time I call nix-build or whaever a nix-daemon process starts (and just hangs).
pi3r has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin> mrkgnao:
ThatDocsLady has joined #nixos
<MichaelRaskin> I have some doubts about what they do with libxpp
Wizek_ has quit [(Ping timeout: 240 seconds)]
Wizek has quit [(Ping timeout: 245 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
garbas has joined #nixos
<MichaelRaskin> I have a feeling that libxpp should be just packaged separately
mrkgnao has quit [(Quit: WeeChat 1.5)]
cjhowe has joined #nixos
Guest20524 has quit [(Quit: Reconnecting)]
petar has joined #nixos
<MichaelRaskin> mrkgnao: try packaging the dependencies separately, maybe. Does independently packaged libxpp contain x.hpp?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vMCLq
<NixOS_GitHub> nixpkgs/master da9e906 Gabriel Ebner: haskellPackages.hledger-diff: 0.2.0.6 -> 0.2.0.7...
<[0x4A6F]> Is there a way to extract the latest configuration.nix?
Itkovian has joined #nixos
Wizek_ has joined #nixos
Wizek has joined #nixos
truh has quit [(Ping timeout: 240 seconds)]
<[0x4A6F]> nevermind, got it back.
<rly> Is there any NFC support on NixOS?
georges-duperon has quit [(Ping timeout: 240 seconds)]
<rly> What do I need to install to add Media Keys (specifically for audio) to work on Plasma5?
<rmrfroot> LnL: you don't happen to have a working hydra install that you have a user account on?
<rmrfroot> LnL: was going to document the authentication process of the API, but building Hydra failed :( just need to know what headers are set when logging in and what the user JSON object looks like.
<LnL> no, I just have a machine configured with some remote builders
<gchristensen> anyone want to recommend nixos here? https://news.ycombinator.com/item?id=13343042 :)
<rmrfroot> LnL: ok, too bad! i could leave the auth part out and just document the endpoints that works without auth, for now
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ioejtner has quit [(Ping timeout: 272 seconds)]
m3tti has quit [(Ping timeout: 248 seconds)]
bennofs1 has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
ioejtner has joined #nixos
c0bw3b has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21735: qrcode: 2014-01-01 -> 2016-08-04 (master...u/qrcode) https://git.io/vMCtx
mpraglowski has joined #nixos
michaelpj has joined #nixos
knupe has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
sigmundv has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vMCqK
<NixOS_GitHub> nixpkgs/master 133ba5f Domen Kožar: GHC: 8.0.2-rc2 -> 8.0.2
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
mpraglowski has joined #nixos
<__red__> btw - anyone know why /nix/store insists on having everything dated 1970?
<LnL> that year was just awesome
<__red__> domenkozar: hmmm, tasty haskell
<__red__> I guess so ;-)
<LnL> it's the POSIX epoch time 1
<__red__> Yah, I know... I was just curious as to why we intentionally clobber timestamps
<dash> __red__: it was supposed to be the time of the first moon landing but it's slightly off due to a bug
* dash writes unix fan-fiction
<manveru> __red__: that's to make sure if you build something twice, the different timestamp doens't cause different behaviour
<__red__> I approve of this message.
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<__red__> manveru: because of make's non-determinism?
mpraglowski has joined #nixos
<manveru> among other things, yeah
<manveru> it'd also lead to different hashes
<__red__> On that subject, one thing that's bit me in previous lives is that the C# compiler under windows inserts a compile-time timestamp into the executable
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vMCqh
<NixOS_GitHub> nixpkgs/master 71fc7f9 Shea Levy: ghc-head: Fixes for new base and Cabal
<__red__> I don't know if we have any C# / .net in NixOS yet but I'm hoping that it doesn't bring that brain-dead functionality along for the ride.
<LnL> yeah, it's not for one specific reason but it helps a lot with various determinism issues
<manveru> afiacr we even replace the time syscall during builds to return 1
<__red__> damn, how do you do that?
sellout- has quit [(Quit: Leaving.)]
<__red__> Thanks!
<manveru> hmm, i thought we do it via datefudge, but i might remember wrong
<__red__> libfaketime, I like it :-)
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMCml
<NixOS_GitHub> nixpkgs/master 24aae1e Peter Hoeg: qrcode: 2014-01-01 -> 2016-08-04
<NixOS_GitHub> nixpkgs/master 7e3ed8b Jörg Thalheim: Merge pull request #21735 from peterhoeg/u/qrcode...
mpraglowski has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<manveru> gchristensen: btw you still need help with bundler?
<gchristensen> LnL just hacked through with me :)
jgertm has joined #nixos
<manveru> ok
<gchristensen> thank you for getting back to me
<LnL> manveru: have you used git based gems before? looks broken
<manveru> i have
<manveru> well, it always worked fine for me from git
<manveru> but things like nokogiri without a gemspec on github might be tricky
<LnL> using type = "git"; didn't work for me
<rly> I would like to see a test suite for "bundler".
<rly> And, I would expect any tool bringing language X to Nix support to be fully automated.
<rly> We would even standardize the name of this tool.
<gchristensen> by all means, rly! lots of good work to do in that space
<rly> I am currently dropping Ruby from my own dependencies, because I couldn't get it to work.
<rly> And I consider NixOS to be more important than a programming language I don't actually believe in.
<LnL> yeah, I should also look at my darwin pr again sometime
<manveru> well, i just make sure it works for me :P
<rly> manveru: exactly and you are free to do so.
<manveru> and try to help when someone has trouble
<manveru> but i don't have a ton of time for it
<rly> manveru: you should make it such that people can help themselves (at least that's what I do in my work).
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vMCm5
<NixOS_GitHub> nixpkgs/master 6a55b52 Nikolay Amiantov: warzone2100: 2.1.5 -> 2.2.2
systemfault has joined #nixos
<manveru> that sounds nice, but how do you do that?
<rly> In order to make automation simpler, I think having files containing many expressions is a mistake.
<rly> From a human user point of view it is better, I know the arguments.
<rly> My scripts currently generate expressions, but if a change requires changes to multiple packages I still need to copy-paste the thing.
<gchristensen> "no space left on device" ugh
<rly> And I can also automate that, but everyone would have to do that then.
<rly> So, IMHO, for adoption, it's better to not have all these inline expressions.
<manveru> what expressions?
<rly> manveru: inline expressions like buildPythonPackage { ... } in python-packages.nix
<rly> manveru: if those would also just be callPackage calls, I would only be required to rewrite a single file.
<manveru> can't say i'm familiar with how python does it
<rly> Anyway, communication is also a problem in this project, I think.
<rly> There are no widespread policy documents, are there?
<rly> Policies are discussed in GitHub comments and on IRC.
<rly> A similar thing is present with indentation.
<rly> If that's so important, automate it.
<rly> I don't care one bit about indentation myself.
<manveru> :)
<rly> As long as it is not obfuscated.
<manveru> i'd be happy about a nix expression pretty printer
FRidh has joined #nixos
Sonarpulse has joined #nixos
<gchristensen> lots of low hanging fruit to improve nixos for those willing to go do it
<manveru> i'll probably work on a nixfmt tool when i get some time :)
<manveru> made a parser for most nix expressions before, but not for functions...
<Dezgeg> source formatting is serious business though ;) http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/
<manveru> yeah... i'd love to try the neural network approach ;)
mrkgnao has joined #nixos
<domenkozar> manveru: did you see https://github.com/Gabriel439/nixfmt
<manveru> not yet
ebzzry has quit [(Ping timeout: 245 seconds)]
<manveru> just tried finding that damn project i was thinking of :)
<gchristensen> anyone know if it is possible to make the hard drive bigger in a nix-build of a NixOS Test?
ronny has quit [(Ping timeout: 268 seconds)]
Vorpal has quit [(Ping timeout: 272 seconds)]
ronny has joined #nixos
<mrkgnao> it seems ansible is looking for python in /usr/bin, weird
<mrkgnao> shouldn't patching fix this?
<FRidh> mrkgnao: yes, it should. When does it happen?
<mrkgnao> when I try to run ansible-playbook
<mrkgnao> I'm guessing nix-shell fixes this?
<LnL> rly: there is a tiny section about coding conventions in the manual
<mrkgnao> FRidh: is this a known issue?
<mrkgnao> also, weirdly, ansible isn't in nixpkgs. ?
<gchristensen> it must be
georges-duperon has joined #nixos
<gchristensen> nix-shell -p ansible works for me, mrkgnao
<mrkgnao> so I shouldn't install it with nix-env, but use nix-shell?
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vMCOA
<NixOS_GitHub> nixpkgs/master 969651a Frederik Rietdijk: pythonPackages.pyjwt: use cryptography instead of pycrypto
glines has joined #nixos
bennofs1 has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #21738: update os-release manpage link (master...os-release-manpage-update) https://git.io/vMCOp
<srhb> mrkgnao: I used it at work yesterday (from 16.09 branch) and it certainly worked with nix-env and nix-shell both
<srhb> Did something change in 16.09 very recently on those packages?
<FRidh> mrkgnao: no, you should be able to install it.
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
<srhb> Actually I used ansible2, but still.
<FRidh> srhb: the python stuff always changes
<srhb> FRidh: :|
ublubu has quit [(Ping timeout: 245 seconds)]
<FRidh> mrkgnao: how were you using ansible, if you don't use the nixpkgs version?
FRidh has quit [(Ping timeout: 240 seconds)]
ublubu has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
pareidolia has joined #nixos
<pareidolia> Hi. I'm running nix on a host system and I want to run a version bump of a package (ao) based on a checkout of nixpkgs. The new version however segfaults. Packages do not have debug symbols, how can I get them?
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
chrisleague has joined #nixos
cjhowe has joined #nixos
chrisleague has quit [(Ping timeout: 240 seconds)]
pie__ has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
nanobapt has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
FRidh has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
bennofs1 has joined #nixos
michaelpj has quit [(Ping timeout: 245 seconds)]
chrisleague has joined #nixos
roconnor_ has joined #nixos
<chrisleague> Hi, I can't find how to install the 'doc' output of a package. For example, gnumake sets outputs=["out" "doc"] and this means two separate derivations are created. But how to install the doc one with nix-env? I've verified with nix-shell that genericBuild does populate $doc/.
schneefux_ has quit [(Read error: Connection reset by peer)]
schneefux has joined #nixos
<LnL> chrisleague: nix-env -f '<nixpkgs>' -iA gnumake.doc
<NixOS_GitHub> [nix] dezgeg opened pull request #1177: nix-shell: Fix 'nix-shell --command' doing nothing without TTY (master...bash-env-breakage) https://git.io/vMCGc
<LnL> copumpkin: ^
jensens has quit [(Ping timeout: 240 seconds)]
<chrisleague> LnL, thanks!
toogley has quit [(Quit: toogley)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
chrisleague has quit [(Remote host closed the connection)]
chrisleague has joined #nixos
rly has quit [(Ping timeout: 245 seconds)]
rly has joined #nixos
Wizek has quit [(Ping timeout: 256 seconds)]
Wizek_ has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nix] dezgeg opened pull request #1178: nix-shell: Fix 'nix-shell --command' doing nothing without TTY (stable backport) (1.11-maintenance...bash-env-breakage-stable) https://git.io/vMCZT
chrisleague has quit [(Remote host closed the connection)]
chrisleague has joined #nixos
<NixOS_GitHub> [nixpkgs] pngwjpgh opened pull request #21739: debianutils: init at 4.8.1 (master...debianutils) https://git.io/vMCZi
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #21738: update os-release manpage link (master...os-release-manpage-update) https://git.io/vMCOp
cjhowe has quit [(Client Quit)]
FRidh has quit [(Ping timeout: 248 seconds)]
cjhowe has joined #nixos
cjhowe has quit [(Client Quit)]
cjhowe has joined #nixos
<LnL> woot, the parallel rust build works now 🎉
cjhowe has quit [(Client Quit)]
cjhowe has joined #nixos
cjhowe has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vMCnJ
<NixOS_GitHub> nixpkgs/master 2ef6af7 Anmol Sethi: libtermkey: from 0.18 to 0.19
cjhowe has joined #nixos
dgn has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vMCnt
<NixOS_GitHub> nixpkgs/master 96504cd schneefux: pythonPackages.discordpy: 0.15.1 -> 0.16
<srhb> I want to merge in a python package that provides an executable, should I create a top level name for it in all-packages.nix as well? And how do I disable python2 for it?
<srhb> disabled = !isPy3k; ?
jgertm has quit [(Ping timeout: 255 seconds)]
<makefu> srhb: this would also disable it for pypy, not sure if this is correct
cjhowe has quit [(Client Quit)]
<srhb> makefu: I'm not sure what that means. I'll look into it.
<makefu> if it is for example a packaged application like calibre better put it also into all-packages namespace
cjhowe has joined #nixos
<makefu> if it is a python library, keep it in pythonPackages
<srhb> It's meant to be used by the user as an executable like grep
<srhb> So I assume all-packages is good.
<makefu> what is the tool called?
<srhb> mir.qualia (which I've liberally renamed mir-qualia) and the executable is "qualia"
<hexa-> is there a guide for booting with a 32bit EFI into a 64 bit system?
Fare has joined #nixos
<makefu> srhb: ok cool, not sure if i have the use case described in the readme ;) it is always great to have more software in nixpkgs as long as it's been maintained :)
mudri has quit [(Ping timeout: 272 seconds)]
brodul has quit [(Ping timeout: 255 seconds)]
<srhb> makefu: I'll try my best to bump it then. I'd really like to get more involved, but I'm still just a Nix newb. :)
<makefu> srhb: then this may be a good first entry
<srhb> makefu: It's not my first, I'm just trying to get better. :)
<makefu> that is great to hear :D
brodul has joined #nixos
pi3r has joined #nixos
<rly> Do you know any other IaaS provider on which one can deploy services which are basically eternal once configured? I don't like the abstraction leak that nodes sometimes die for example.
jgertm has joined #nixos
sellout- has joined #nixos
dgn has quit [(Ping timeout: 246 seconds)]
so has joined #nixos
<Fare> aws lambda ?
<rly> Fare: besides AWS.
<rly> Fare: I am just sort of amazed with how completely awful other providers are.
<rly> Fare: all I want is someone to maintain a VM cluster with transparent moving of VMs to ensure zero down time.
<rly> Fare: that was possible a decade ago already.
<rly> Fare: yet, I still see people talking about "taking down nodes".
<rly> (Even Amazon does that, btw. No idea why.)
<Fare> that's why people use middleware like mesos or kubernetes on top of the lower-level providers
<rly> Fare: sure, I know that.
<Fare> but hey, if you can do better, that's a business opportunity
<rly> Fare: but I just want to host a simple website.
<rly> Fare: Kubernetes still lacks Multi-AZ features, AFAIK.
FRidh has joined #nixos
<srhb> Is there a nicer way to rebase for a PR other than git rebase master? I tend to get all sorts of merge conflicts that are completely unrelated to my small commit, because I've been developing on a branch that's out of sync with master (ie. my channel)
<MichaelRaskin> Fare: it's not really a business opportunity as it requires upfront investment, as hosting infrastructure for competing with AWS Lambda on AWS may turn out to be too risky
<Fare> multi-az ?
<MichaelRaskin> I guess availability zones
<Fare> rly: for simple websites, there's also Google AppEngine
<rly> Fare: can that run arbitrary code or just their thing?
<rly> MichaelRaskin: yes, there is no real business model in creating just the software to run on other people's hardware.
<rly> Amazon has a very nice business model in that they offer a complete package.
<rly> They too are not very good in what they do, but better than the rest.
<MichaelRaskin> rly: there is, if you don't compete with the owners of the hardware
Matrixiumn is now known as Xackle
<rly> MichaelRaskin: do you know of an example?
<rly> MichaelRaskin: I am not saying that you are not right if you cannot come up with an example, but it would just give it additional support.
<MichaelRaskin> In which direction?
<rly> MichaelRaskin: I am thinking of for example a version of Kubernetes which could run on Rackspace which would be better than AWS ECS.
<MichaelRaskin> I didn't claim I know of such things.
<Fare> if you can make your middleware make lesser cloud providers as good as the greater more expensive ones... that's a business model
<rly> Fare: I don't know about the legal aspects of that.
<rly> Fare: I don't think you can just build your own Amazon compatible services.
<rly> Fare: technically, one can, but legally, I am not so sure.
<rly> Calling Amazon APIs creates a huge vendor lockin, completely unlike using C APIs.
<Fare> and/or you can sell it to the NSA and other government entities that don't trust AWS
<FRidh> srhb: develop on a nixpkgs-unstable or nixos-unstable, and test it. You might want to rebase to master to test again, but that's not always necessary. Open a PR, and if there's no conflict then there's typically no need to rebase to master either.
<FRidh> srhb: you're aware of the channels? https://github.com/NixOS/nixpkgs-channels
<Fare> lambda can run arbitrary code, but you may have to write a shim in python
<srhb> FRidh: Well, I should probably have developed on unstable, but I don't understand how that relates to the issue. My problem is that rebasing onto master (from nixos-16.09 and I assume nixos-unstable) brings a lot of merge conflicts in completely unrelated to my commit
<srhb> FRidh: I developed on a branch based on nixos-16.09 in this case.
<Fare> My X server on nixos dies every once in a while, maybe due to out of memory errors
<srhb> The contribution guides all say to rebase onto master.
<srhb> Before issuing a PR, that is.
<Fare> and/or maybe it's the windows manager (kde5)
<Fare> is there any related known issue in nixos?
<MichaelRaskin> release stable branches to tend to accumulate their own incompatible version bumps
<Fare> looks like konsole might be the issue (or not)
<MichaelRaskin> But you can (if you have enough HDD space) install some things from master and most things from release-stable, if you waish so
<Fare> maybe I should limit scrollback in konsole?
<FRidh> srhb: rebasing to master will guarantee it can be merged, but it is frustrating when you're still working on the PR.
<srhb> FRidh: Yeah, a bit, indeed. :/
<MichaelRaskin> nixos-unstable channels is also an OK option for the system if you develop actively
<srhb> MichaelRaskin: I suppose it really would be easier. The incompatible changes in stable are quite frustrating.
<FRidh> srhb: I typically only rebase to master when there's a merge conflict otherwise (or when I simply push the change)
<srhb> FRidh: How do you tell if there will be a merge conflict?
<cheshircat> mrkgnao: I'm using spacemacs and I've never had a problem
<FRidh> srhb: open a PR, if it says there's a merge conflict, you rebase and force push
<cheshircat> oh, sorry, was looking way earlier
<srhb> FRidh: Ah, okay.
<srhb> Oh and I notice that people tend to name their branches fix/some-package. What's the format for an addition? new/some-package?
<FRidh> srhb: But indeed, if you develop for master, then don't work from stable.
<srhb> FRidh: I will keep that in mind for next time, thanks! :-)
ioejtner has quit [(Ping timeout: 246 seconds)]
Wizek has joined #nixos
Wizek_ has joined #nixos
<FRidh> srhb: as far I know there's no guideline on that. I don't use any format at least (which is perhaps why my git branch --list is such a mess)
<srhb> FRidh: Hehe. OK! Good to know!
<srhb> I did have conflicts so I will just try and redo the whole patch by hand on unstable and see if that helps.
sellout- has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
pi3r has quit [(Ping timeout: 248 seconds)]
ioejtner has joined #nixos
<Dezgeg> if rebasing from stable to master you need to give it a starting point, something like: git rebase HEAD^ --onto master
<srhb> Dezgeg: What does starting point mean in this case?
<Dezgeg> it's the latest commit before your changes (so if you have only one commit to rebase, then HEAD^)
<srhb> Dezgeg: Oh! That sounds easier, I'll try that.
<NixOS_GitHub> [nixpkgs] jgeerds pushed 2 new commits to master: https://git.io/vMCCc
<NixOS_GitHub> nixpkgs/master fdb5832 Jascha Geerds: pythonPackages.docker_compose: Add myself as a maintainer
<NixOS_GitHub> nixpkgs/master a5be4fe Jascha Geerds: pythonPackages.docker_compose: Set meta.platforms to linux
jsgrant has quit [(Quit: Peace Peeps. o/)]
zraexy has quit [(Ping timeout: 248 seconds)]
k2s has joined #nixos
mudri has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #21740: qualia: init at 1.0.0 (master...init/mir-qualia) https://git.io/vMCC6
k2s has quit [(Quit: Leaving)]
kefin has quit [(Quit: Leaving)]
<LnL> I always have to look at the man page when trying to use --onto
acowley_away is now known as acowley
[0x4A6F] has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin> How interesting
<MichaelRaskin> I installed nixUnstable in a VM
<MichaelRaskin> apparently some downloads do work
<NixOS_GitHub> [nixpkgs] acowley opened pull request #21741: rustc: disable fragile tests on darwin (master...rustc-1.14-darwin) https://git.io/vMCWf
<MichaelRaskin> But using binary caching doesn't
<Rotaerk> hmm what do you call the information for where to obtain source-code from? e.g. "github: owner = NixOS, repo = nixpkgs-channels, rev = ..." or "hackage: name = ghcjs-dom, version = 0.2.3.1"
<Rotaerk> "source" in general parlance would be appropriate, except the term's already used to refer to the source-*code*
<MichaelRaskin> Oh!
<MichaelRaskin> http works, https doesn't
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
<Rotaerk> maybe I'll just call it the dependency spec
<LnL> probably an issue with cacert
<MichaelRaskin> The fun part is that it reads the CA bundle fine
<FRidh> MichaelRaskin: I also experimented a bit more in a VM
<MichaelRaskin> --binary-caches '' seems to help
<MichaelRaskin> For some definitions of help
<FRidh> ok
<MichaelRaskin> (if used as root, of course)
<FRidh> guess I passed -I nixpkgs= with http instead of https then
<MichaelRaskin> Well, I work with checkouts because I don't need one more problem in the loop
<LnL> MichaelRaskin: ls $SSL_CERT_FILE
tvon has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vMCWE
<NixOS_GitHub> nixpkgs/master 372e04f Domen Kožar: libpqxx: use gnused_422
<FRidh> MichaelRaskin: how did you include the checkout in the vm? I made a configuration.nix with nixos-generate-config and then use nixos-rebuild build-vm -I nixos-config=/path/to/config
<MichaelRaskin> git clone?
<MichaelRaskin> LnL: the variable is empty on a NixOS VM
<Fare> MichaelRaskin, will you be at ELS / Programming this year?
<FRidh> doh
<FRidh> silly me
<MichaelRaskin> FRidg: and NIX_PATH to fit, of course
<LnL> MichaelRaskin: do you see it anywhere in systemctl show nix-daemon?
<MichaelRaskin> Fare: I hope to a) finish what I am trying to do, b) write it up well enough to get accepted, c) write a CDR after discussions at ELS
<MichaelRaskin> LnL: the fun stuff happens even under root with NIX_REMOTE=
<LnL> ah you're using root
<MichaelRaskin> curl without any extra parameters or env vars does get nix-cache-info via https
<LnL> MichaelRaskin: export SSL_CERT_FILE=$(nix-build -A cacert)/etc/ssl/certs/ca-bundle.crt
<MichaelRaskin> LnL: I want to play with Nix options, using non-root for debugging takes more time in such a case
<Fare> a CDR about what?
thaega has joined #nixos
<Fare> MichaelRaskin, I was not ambitious enough to get a paper accepted, but am submitting a demo proposal for ASDF 3.3
<MichaelRaskin> LnL: nix-build will probably hang; sandboxing is on; readlink -f /etc/ssl/certs/ca-certificates.crt in the variable doesn't make Nix happy
thaega has left #nixos []
<MichaelRaskin> Fare: well, I guess mine can get classified as demo…
<MichaelRaskin> But I want to prove macroexpand-all is impossible — just for context
<exi> is there a deeper reason why we dont have rust/cargo nightly builds except that noone found the time to add them?
<MichaelRaskin> So CDR will be about exporting macroexpand-all with env parameter under a unified name
<MichaelRaskin> exi: isn't there rustNightly? as for daily updates — nobody cares enough
<MichaelRaskin> I know CLISP has more interesting problems than taking env in macroexpand-all into account; but unifying the name of the macroexpand-all among those who do provide a correct version would be useful
petar has quit [(Remote host closed the connection)]
<Fare> I'm looking forward to reading what you write about it
<exi> MichaelRaskin: did not see that one, thanks
petar has joined #nixos
<exi> wiki says we don't have it, made a false assumption that it was correct
<Fare> I could have written an article about the things I did with ASDF3.3, but my understanding is that the public that cares is too small to justify writing an article
<MichaelRaskin> Fare: in some sense it will be a continuation of the previous year's «oooops» talk
<Fare> :-)
<Fare> well, demos are 2-page submissions, full articles are 8-page.
<MichaelRaskin> In the video (but not the slides) there is a puzzle where I make a variable impossible to change in CLISP
<hexa-> viric: hey, I found from the logs you've gotten bootia32.efi to boot beginning of 2016?
<hexa-> I have an xserver 1,1 with xeons and it has a 32bit efi, while being a 64 bit system, do you have an idea how I can make it boot?
<MichaelRaskin> I guess I will declare it presenting the tool «best macroexpand-all possible at all» and make a demo, and then bait-and-switch to «why nothing better is possible and what it teaches us» in slides
<hexa-> already dropped a random bootia32.efi from github into /EFI/ on the iso and flashed it, but it won't boot with that
<Fare> MichaelRaskin, I also submitted a proposal to LambdaConf about reconstructing OOP from scratch (= lambda + Y combinator)
<hexa-> s/xserver/apple xserve/
<FRidh> hmm, I keep having 100% cpu usage when running the qemu vm
<Fare> but if you want it pure, it works better in a lazy language, so I'm considering doing a demo in nix
<MichaelRaskin> At some point I downloaded the most promising-sounding things from λ-Conf and listened them on my way between home and university. I expected to learn something form the talks, I was wrong.
<MichaelRaskin> What I mean is: be careful about accessibility of the presentation
<Fare> MichaelRaskin, there was a lot of good stuff at lambdaconf, but the title were often more advanced than the talk.
<MichaelRaskin> Well, if you link me any video where I have a chance to learn something new, I will listen to it on my way on Monday
<Fare> which is what most people want, because we are not that advanced in the things we don't know yet
<Fare> MichaelRaskin, my video hasn't been posted yet :-(
<Fare> but I will send it when it is
<MichaelRaskin> You said _lots_!
rly has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin> Note: I have taught the actual lambda-calculus programming completeness to live students at some point
cheshirc1 has joined #nixos
cheshircat has quit [(Quit: leaving)]
<MichaelRaskin> I don't say λ-Conf does anything wrong: being accessible is their official goal, as far as I understand, I just say that you need to pay attention to not falling out of accessible complexity zone
cheshirc1 has quit [(Client Quit)]
cheshircat has joined #nixos
<viric> hexa-: bootia32.efi was to boot a 32-bit os
<viric> hexa-: in a 32-bit uefi
<viric> hexa-: I built gummiboot for 32-bit. that's it
<viric> MichaelRaskin: I put out zfs and put ext4
<viric> MichaelRaskin: zfs had unforecastable performance.
<MichaelRaskin> Intriguing
<viric> MichaelRaskin: it maintains an in-disk cache
<viric> persistent accross reboots
<MichaelRaskin> Oh
<hexa-> basically I require a bootia32.efi to boot a 64-bit os :3
<Fare> well it isn't ICFP, or some post-graduate workshop
acowley is now known as acowley_away
<LnL> if you have an extra ssd you should really put it in there and use it as the cache
<viric> hexa-: ah, I never did that
<MichaelRaskin> Fare: I would say it is below an MSc-student workshop in complexity.
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
MichaelRaskin has quit [(Ping timeout: 245 seconds)]
cheshircat has quit [(Quit: WeeChat 1.5)]
k2s has joined #nixos
k2s has quit [(Client Quit)]
cheshircat has joined #nixos
Itkovian has joined #nixos
<Rotaerk> is there something that returns the difference between two sets
<Rotaerk> or rather...
<Rotaerk> the first set minus any elements that are in the second
petar has quit [(Remote host closed the connection)]
<Rotaerk> eh, removeAttrs will do
petar has joined #nixos
chrisleague has left #nixos ["Leaving"]
MichaelRaskin has joined #nixos
<MichaelRaskin> Oh wow and all this fun was even without build-use-sandbox
jgertm_ has joined #nixos
jgertm is now known as Guest28768
Guest28768 has quit [(Killed (moon.freenode.net (Nickname regained by services)))]
jgertm_ is now known as jgertm
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #21740: qualia: init at 1.0.0 (master...init/mir-qualia) https://git.io/vMCC6
knupe has joined #nixos
<cheshircat> Hey, do any of you guys know if there is an equivalent of python3.withPackages for lua?
<cheshircat> I'm trying to get matrix working with weechat (https://github.com/torhve/weechat-matrix-protocol-script), but I'm getting errors because it can't find cjson
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #21742: rustc: enable codegen units and parallel building (staging...rust-parallel) https://git.io/vMCB7
mrkgnao has quit [(Quit: WeeChat 1.5)]
jgertm- has joined #nixos
<cheshircat> also, has anyone got the rust-nightly-nix package from (https://github.com/solson/rust-nightly-nix) working?
<cheshircat> I keep getting "cannot coerce a set to a string" errors
<cheshircat> which seem to be traced back to nixos/pkgs/build-support/trivial-builders.nix:7:14
<cheshircat> which is where runCommand is from
<cheshircat> but I can't see how the rust-nightly-nix calls runCommand
rod has joined #nixos
Yaniel has joined #nixos
<Ralith> cheshircat: I'm using it; it works great
<Ralith> what expression are you trying to evaluate that produces an error?
<cheshircat> nix-shell "<nixpkgs>" -p "pkgs.callPackage /home/olynch/git/rust-nightly-nix { }"
<cheshircat> I'm on unstable, if that makes a difference
<cheshircat> I also tried adding it to my packageOverrides, but it didn't seem to work
<cheshircat> I'm going to try that again right now, though
ioejtner has quit [(Remote host closed the connection)]
JagaJaga has joined #nixos
<cheshircat> yeah, when I add it to nixpkgs.config.packageOverrides, I get a undefined variable error when I try to reference it with nix-shell -p 'myRustNightly.rust {}'
jgertm has quit [(Ping timeout: 255 seconds)]
<Ralith> cheshircat: you should read the README in the repository
<Ralith> that's why they call it that, you know :P
<MichaelRaskin> You shouldn't transfer that logic to bottles labeled «Drink me» and cakes labeled «Eat me», though
petar has quit [(Remote host closed the connection)]
<cheshircat> I did read the readme...
<cheshircat> Did I miss something?
georges-duperon has joined #nixos
<cheshircat> Do I have to call it rustNightly specifically?
petar has joined #nixos
<Ralith> it does not produce a derivation
<Ralith> the README contains detailed examples of how to produce a derivation
<Ralith> you have to call one of the functions it returns
Fare has quit [(Ping timeout: 240 seconds)]
<cheshircat> Yeah, in my nix-shell thing I call myRustNightly.rust {}
seagreen has joined #nixos
<Ralith> that's the correct invocation to produce a derivation; if you're getting an error, you did something wrong in your config.nix and will need to post details
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
cjhowe has joined #nixos
seagreen has quit [(Quit: WeeChat 1.6)]
wangoe has joined #nixos
petar has quit [(Remote host closed the connection)]
petar has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has quit [(Quit: Leaving.)]
seagreen has joined #nixos
sellout- has joined #nixos
<Rotaerk> hmm builtins.toPath doesn't seem to work
<Rotaerk> I have a string s containing "/nix/store/blah", then I do: builtins.typeOf (builtins.toPath s)
<Rotaerk> and it returns "string"
<Rotaerk> but builtins.typeOf ./. returns "path"
Grill[m] has left #nixos ["User left"]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
petar has quit [(Remote host closed the connection)]
petar has joined #nixos
Lowl3v3l has quit [(Remote host closed the connection)]
<LnL> Ralith: I've seen this in the nixpkgs code somewhere: ./. + builltins.toPath "/${foo}"
<Ralith> you want Rotaerk
Lowl3v3l has joined #nixos
<LnL> oh
<Rotaerk> LnL, that produces /${foo} *relative to* the current path
<Rotaerk> anyway, I guess it doesn't matter; import expects a path, but seems to take strings just as well
<LnL> Rotaerk: yes that's the intention there
<LnL> Rotaerk: /. + "foo"
taktoa has joined #nixos
<LnL> but it looks like a bug to me
<Rotaerk> ah, yea /. + "/nix" produces /nix
<gchristensen> well because /. means /
<gchristensen> ./. + "/nix" -> ././nix
<LnL> to clarify I'm talking about a bug toPath, not /.
hiratara has quit [(Ping timeout: 255 seconds)]
<Rotaerk> hmm, I have a function that produces a derivation. I tweaked that function, but when I call it again, the physical out-path of the result is the same as the first time
<Rotaerk> so it's not actually running the derivation the second time, it's just pulling it from the cache
<Rotaerk> (the results *would* be different if run again, though)
<Rotaerk> is there some way to force it?
hiratara has joined #nixos
<Ralith> there's no way not to force it
<Ralith> if you're not getting a different result, you didn't actually change what you thought you changed
matthewbauer has joined #nixos
<Rotaerk> hmm
siarheit_ has quit [(Ping timeout: 256 seconds)]
<LnL> Rotaerk: --check, but that's only for the drv you are building
<Rotaerk> I'm doing this fcrom within nix-repl
<Rotaerk> started a new instance of it, to see if that was why
cjhowe has joined #nixos
<Rotaerk> that did it
systemfault has quit [(Quit: Bye!)]
[0x4A6F] has joined #nixos
sunnystormy has joined #nixos
<sunnystormy> Anybody here?
pikajude has quit [(Quit: Quit)]
<simpson> sunnystormy: Sure.
<simpson> Probably not your actual question, though.
<sunnystormy> lol, nope
<sunnystormy> I'm trying to find which package contains libasound?
pikajude has joined #nixos
<sunnystormy> I'm trying to get a GodotEngine binary packaged for testing.
<MichaelRaskin> alsaLib?
<simpson> That's ALSA.
<sunnystormy> so would I still reference libasound after installing alsa-lib?
<sunnystormy> inside of my default.nix config file?
<simpson> sunnystormy: Yes. You'd just add alsaLib to your propagatedBuildInputs.
<sunnystormy> Cool
<sunnystormy> Still learning the "nix" way, so thank you for your help.
mkoenig has joined #nixos
<simpson> No worries.
<sunnystormy> Hmm... it's still giving me an issue.
<sunnystormy> I created the propogatedBuildInputs array with alsaLib inside...
<sunnystormy> nvm, got it. I didn't need the "libasound" variable anymore.
rmrfroot has quit [(Remote host closed the connection)]
<seagreen> Anybody using neovim for haskell development? If so what plugins are you using? I was using eagletmt's ghcmod plugin which worked great, but has been broken now for a couple weeks.
hiratara has quit [(Quit: ZNC - http://znc.in)]
jgertm has joined #nixos
bennofs1 has quit [(Ping timeout: 259 seconds)]
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
hiratara has joined #nixos
<gchristensen> would anyone like to fuzz nix?
<NixOS_GitHub> [nixpkgs] acowley closed pull request #21741: rustc: disable fragile tests on darwin (master...rustc-1.14-darwin) https://git.io/vMCWf
<Ralith> has someone pointed afl at it yet?
<gchristensen> I have but I don't know what I'm doing
<Ralith> you know at least as much as I do, then
<gchristensen> haha
<gchristensen> I'd sure like it though if someone did
ronny has quit [(Ping timeout: 240 seconds)]
<michalrus> Hey, I’ve got a weird problem. When defining a module, I cannot do `config = mkMerge (map (u: {}) cfg.users)`, and I’m getting `infinite recursion encountered`.
<michalrus> If I use `[head cfg.users]` instead of `cfg.users`, it works…
<simpson> gchristensen: I can answer afl questions maybe.
systemfault has joined #nixos
<cheshircat> Ralith: here is a pastebin of code that triggers an error
<gchristensen> simpson: well if you can set it up, I'd run it :)
<gchristensen> simpson: gotta go, though, supper
<Ralith> cheshircat: oh, this is a very simple issue which has nothing to do with rust-nightly-nix
<cheshircat> awesome
<cheshircat> how do I fix it?
<Ralith> cheshircat: you need to put the `rustNightlyNixRepo` and `nightlyRustPackages` bindings in a let clause, not in the arguments to mkDerivation
<Ralith> mkDerivation does various things with its arguments which are not what you intend
<cheshircat> oh
<cheshircat> thank you, that makes sense
<Ralith> alternatively, stick them on your config.nix packageOverrides for convenient use from elsewhere
<cheshircat> gotcha
<cheshircat> it works now, thank you so much!
mkoenig has quit [(Read error: Connection reset by peer)]
c0bw3b has left #nixos []
jgrasser has quit [(Remote host closed the connection)]
jgrasser has joined #nixos
systemfault has quit [(Quit: Bye!)]
mkoenig has joined #nixos
ronny has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
sunnystormy has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21382: Darwin gtk2/pygtk quartz backend (master...darwin-pygtk-quartz-backend) https://git.io/vMvWz
sigmundv has joined #nixos
truh has joined #nixos
sellout- has joined #nixos
FRidh has quit [(Remote host closed the connection)]
<ToxicFrog> Argh
<ToxicFrog> All I want to do is add a package override
<Ralith> happy to help
<ToxicFrog> But if I do it and then nix-shell the package, it doesn't apply
<ToxicFrog> and if I do it and then add the package to systemPackages, I get infinite recursion when trying to nixos-rebiuld
<ToxicFrog> And I have other systems where this works, and I can't figure out what I did differently :/
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL> ToxicFrog: nixos-rebuild uses nixpkgs.config.packageOverrides from your configuration and nix-shell will use ~/.nixpkgs/config.nix
<ToxicFrog> Ok, that explains problem #1
<ToxicFrog> ...and problem #2 is that I forgot that packageOverrides needs to be a fn rather than a map
<LnL> ah, so you where using pkgs from the nixos configuration rather then the packageOverrides function?
<LnL> I don't think it has to be a function, but you can't override a package without giving it a new attribute name then
mizu_no_oto has joined #nixos
roconnor_ has quit [(Ping timeout: 258 seconds)]
truh has quit [(Ping timeout: 240 seconds)]
<newdan> Is it possible for a nixos configuration to specify folders that should exist and/or folder perms? I have a system where Ansible will set a server up for deployments by Capistrano, which basically just boils down to pointing Apache at /var/www/myapp/current and ensuring a 'deploy' user can write to /var/www/myapp
<Ralith> I think you can tell systemd to do that
jgertm has quit [(Ping timeout: 258 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]