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
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
<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)]
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
<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
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
<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
<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
<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 :/
<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
<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
<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.
<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
<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>
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>
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.
<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
<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?
<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 :(
<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
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
<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
<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)]
<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.
<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] LnL7 opened pull request #21742: rustc: enable codegen units and parallel building (staging...rust-parallel) https://git.io/vMCB7
<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.
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
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))]