gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
jb55 has quit [Ping timeout: 240 seconds]
leat1 has joined #nixos
jrolfs_ has quit [Ping timeout: 260 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #nixos
jrolfs_ has joined #nixos
jrolfs__ has joined #nixos
coot has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 240 seconds]
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon2
fuyuuri has quit [Ping timeout: 240 seconds]
jrolfs_ has quit [Ping timeout: 252 seconds]
jrolfs__ has joined #nixos
guillaum1 has quit [Ping timeout: 256 seconds]
jrolfs__ has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
jb55 has quit [Client Quit]
guillaum1 has joined #nixos
dan_b_ has quit [Ping timeout: 248 seconds]
morenoh149 has joined #nixos
morenoh149 has quit [Client Quit]
cacatoes has quit [Ping timeout: 246 seconds]
quam6246 has joined #nixos
superN00b has quit [Quit: Leaving]
frankqux_ has joined #nixos
alex`` has quit [Ping timeout: 255 seconds]
cacatoes has joined #nixos
yegortimoshenko has joined #nixos
nonethejewels has quit [Ping timeout: 256 seconds]
quam6246 has quit [Ping timeout: 268 seconds]
acarrico has joined #nixos
jb55 has joined #nixos
jrolfs__ has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
nuncanada has quit [Ping timeout: 260 seconds]
Tobba_ has quit [Read error: Connection reset by peer]
cole has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 7049885 adisbladis: Merge pull request #34246 from vdemeester/update-dep...
<NixOS_GitHub> nixpkgs/master 39676b5 Vincent Demeester: dep: 0.3.1 -> 0.4.0...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vN6ap
NixOS_GitHub has left #nixos [#nixos]
elninja44 has joined #nixos
mizu_no_oto has joined #nixos
jrolfs_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vN6Vc
<NixOS_GitHub> nixpkgs/master 029e80a Pascal Bach: gitlab-runner: 10.3.0 -> 10.4.0
<NixOS_GitHub> nixpkgs/master 52d2d62 adisbladis: Merge pull request #34243 from bachp/gitlab-runner-10.4.0...
NixOS_GitHub has left #nixos [#nixos]
jrolfs_ has quit [Ping timeout: 268 seconds]
astsmtl has quit [Ping timeout: 246 seconds]
hellrazo1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34242: citra: 2017-07-26 -> 2018-01-24 (master...citra) https://git.io/vN6JI
NixOS_GitHub has left #nixos [#nixos]
hellrazor has quit [Ping timeout: 248 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
jrolfs__ has quit [Ping timeout: 252 seconds]
jrolfs_ has joined #nixos
jrolfs__ has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
quam6246 has joined #nixos
quam6246 has quit [Ping timeout: 240 seconds]
Supersonic112 has quit [Disconnected by services]
thc202 has quit [Ping timeout: 260 seconds]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
hellrazo1 has quit [Ping timeout: 252 seconds]
justan0theruser is now known as justanotheruser
coot has quit [Ping timeout: 260 seconds]
hellrazo1 has joined #nixos
duncan^ has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 240 seconds]
coot has joined #nixos
markus1189 has joined #nixos
duncan^ has joined #nixos
the-kenny has quit [Ping timeout: 256 seconds]
markus1199 has quit [Ping timeout: 268 seconds]
the-kenny has joined #nixos
ryanartecona has joined #nixos
coot has quit [Quit: coot]
aarvar has quit [Ping timeout: 268 seconds]
ryanartecona has quit [Ping timeout: 248 seconds]
magnetophon has quit [Ping timeout: 260 seconds]
Ridout has joined #nixos
d4g_ has joined #nixos
hamishmack_ has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
hamishmack has quit [Ping timeout: 260 seconds]
hamishmack_ is now known as hamishmack
dj_goku has quit [Quit: Lost terminal]
d4g has quit [Ping timeout: 240 seconds]
s33se has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
s33se_ has quit [Ping timeout: 248 seconds]
sigmundv_ has quit [Ping timeout: 256 seconds]
<fearlessKim[m]> I am getting lost within the kernel builder, I try `my_kernel = stable_kernel.override( {hostPlatform=test-localSystem;})` but the override doesn't seem to work (nixos-unstable), nix-repl shows me the old hostPlatform.platform.name rather than test-localSystem.platform.name :'(
<fearlessKim[m]> any way to see what are the possible overrides ?
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos
quam6246 has joined #nixos
jrolfs__ has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
quam6246 has quit [Ping timeout: 268 seconds]
xcmw has joined #nixos
jsgrant_ has joined #nixos
<jsgrant_> Was about to jump ship to Fedora Atomic, on this spare-box ... but it's still way to 'gen 0' to justify anything so drastic; Back to NixOS. X^D
<jsgrant_> Added about 50+ loc today to my conf.nix in my free-time; Also the fact that Fedora Atomic isn't declarative in any strict sense is a bit depressing.
<iqubic> I don't understand how ot write derivations.
<iqubic> Anyone have a tutorial for that?
jedai42 has joined #nixos
jedai has quit [Ping timeout: 260 seconds]
<disasm> I recommend reading all the nix pills iqubic
<iqubic> Yeah, that'd be good.
<disasm> the first few you might be a little overwhelmed, but around the 9th or 10th one everything starts to click.
<iqubic> disasm: I actually have a thing I want to build though.
<iqubic> Or, rather, a couple such things.
jrolfs_ has quit [Ping timeout: 264 seconds]
<jsgrant_> iqubic: References/guides like that don't hurt; But yeah, can sympathize with just wanting to get to the meat of it.
* jsgrant_ has only read a few, a long-time ago; Should probably run back through them in-depth.
<jsgrant_> I'm still pretty convienced longer-term I'll end up on almost (if-not full) ubiquitous NixOS installs on my stuff -- especially after messing around with Atomic and my expectations quickly being curbed.
* jsgrant_ needs spellcheck in irssi; Too lazy to actually actively check my spew.
<disasm> iqubic: option b is nix the hard way (how I learned). Find something similar in nixpkgs, copy it, change some stuff and see if it works :)
<disasm> but reading the pills will make it a lot easier on you in the long run.
<iqubic> I know want to do that. I'm going to read the pills and see if I can use emacs' nix mode to write a derivation for a things I want to compile.
quam6246 has joined #nixos
<jsgrant_> disasm: That's what I did in the earlier days of GuixSD, which I funnily enough stumbled into near-years before NixOS.
<iqubic> I don't like the concept of GuixSD. I like having non-free software.
<iqubic> I need my Firefox.
<jsgrant_> iqubic: At the time, I was still very idealogically alligned in that direction.
<spear2> does Guix replace both nix and bash with scheme?
<iqubic> yes.
<iqubic> If I understand it right.
<jsgrant_> But yeah, inherently being under the FSF is inherently limiting.
<jsgrant_> spear2: Not bash; It replaces systemd with their own solution.
<iqubic> I mean I think Firefox is the only thing that I have which isn't free.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jsgrant_> They also have been talking about supporting Hurd for a few years now.
<iqubic> Also, I don't really want to switch to guixSD. Changing distros is super hard imo
<jsgrant_> iqubic: Icecat,or whatever; But yeah, still having to need a middleman to circumvent.
<iqubic> Switching also means I lose stack integration.
<iqubic> Switching seems like too much of a pain ATM.
<jsgrant_> iqubic: Well, not advocating for it or anything; Just saying I learned how to write packages by just trying to grok some of guix's package expressions.
<jsgrant_> Which was hands-on obviously, but yeah, not ideal compared to doing it in-aid with some docs.
quam6246 has quit [Ping timeout: 240 seconds]
* jsgrant_ as the time, was also fantasizing about a psuedo-LispM OS and thought that was a more practical means to that end; Though really, it's about the opposite of running everything in aprox one-namespace and being able to edit it trivially and globally... so.
<jsgrant_> I think really, I was just "Oh, Lisp!" :^P
<jsgrant_> I think decent docs, even if sparse in-terms of quantity is almost always better than 'going it alone though'; Idk, rambling, half-asleep (sorry ... :^I).
aanderse has quit [Ping timeout: 276 seconds]
<jsgrant_> Ha: 'Thought' 'think' 'think'.
jrolfs__ has joined #nixos
<iqubic> So should I switch to GuixSD? Or is NixOS te right way to go?
<MP2E> Pretty much how I learned Nix was hopping right into the code as well. Docs helped guide me, but my best friend was grep and the nixpkgs tree
<MP2E> still is :P
<catern> is there a stock algorithm in Python or something that matches Nix's base32 calculation?
<iqubic> Well, I'm staying with NIXos.
<jsgrant_> iqubic: NixOS, unless you're really into Lisp and/or idealogically into 'free-as-in-freedom- software.
<catern> because the base32 that Nix does is weird
<catern> whatever I'll just do base16
aanderse has joined #nixos
<iqubic> jsgrant_: I'm not in to either of those enough that I feel the need to switch.
<jsgrant_> iqubic: Yeah man, again I'm not trying to convience you to. X^D
<iqubic> Well, time to get the nix emacs mode going and then off to write some derivations.
<MP2E> a lot of the initial problems when migrating to nixos tend to come from 'fighting nix'. It's not intentional, but coming from other distros gives you a sense of expectations. Like that you often edit configuration files in /etc/*. Or even the concept of installing libraries for development
<iqubic> MP2E: Yeah. One of the things I'm trying to install is a library for development.
<catern> jsgrant_: spear2: yes, Guix replaces both nix and bash with scheme.
<catern> also perl
<iqubic> catern: Guix uses perl?
<jsgrant_> catern: Well, in the build process, yeah. Anywhere else?
<catern> sorry I mean it replaces Perl with scheme :)
<MP2E> well, thing is, installing a library is very rarely the answer! For many things like Haskell, it probably won't even work the way you expect it to. You really only want to 'install' binaries
<MP2E> for libraries and the like, a better thing to do is use a shell.nix file to pull up the environment for when it's needed
<MP2E> and exactly the dependencies you need to use
<catern> jsgrant_: Nix has many bash scripts and perl scripts. less now, but it had more when Guix forked. They were all replaced with Guile.
<iqubic> MP2E: Yes, that is what I meant to say.
<MP2E> this really confused me at first, among other things :P
<catern> jsgrant_: for example, nix-channel and nix-build
<MP2E> it's nice now that it clicks though
<iqubic> I am installing a binary.
<jsgrant_> MP2E: Yeah, I tried going 'all in' at once, after a fairly trivial amount of time in NixOS certainly compared to 'normal distros' and it's just too much if your expectations aren't starting in the right place.
<iqubic> What I like about NixOS is having all of my system configurations in on single file.
<MP2E> definitely! I had a dual boot with gentoo for a couple of months until I felt comfortable enough to fully switch
<jsgrant_> catern: Ah, that's what you mean; I thought you meant for day-to-day shell use there was some guile replacement.
Drakonis has quit [Read error: Connection reset by peer]
<iqubic> I just switched cold turkey from gentoo.
<iqubic> The thing that threw me off the most was not having to wait a million years for packages to compile.
<iqubic> Also not having to deal with Portage errors is nice.
<MP2E> haha, if you want those good times back, can always build off of nixpkgs master like I do :P
<MP2E> though even then, you'll get lots of caches
<MP2E> the worst time to pull from nixpkgs master is right after an update to firefox or chromium though
<MP2E> they take forever to build
* jsgrant_ never really fell into full-time Gentoo use; Had a custom distro-buildscript for my Emacs, Stumpwm, Conkeror, And Friends -- but that's about the extent.
<iqubic> Anyone know what this emacs package is supposed to do?
<MP2E> I used Arch for years, then Gentoo because I was customizing so much of Arch that it seemed kinda silly, then Funtoo because I wanted Gentoo but with a more modern infrastructure
<MP2E> but even that didnt' fully scratch the itch
Drakeson has joined #nixos
<iqubic> Do you like NixOS?
<MP2E> and I learned Haskell, saw NixOS had some functional programming concepts
<MP2E> hopped right in!
<catern> iqubic: it's the equivalent of direnv for emacs
<MP2E> Yeah I love NixOS, been my primary OS since 2015
<iqubic> I don't know what direnv?
<MP2E> I find other distros a little bit hard to use now sometimes actually, cause i'm so used to it..
<iqubic> Me too MP2E.
<disasm> I can't picture ever leaving nixos :) Every other OS I ever had I was always looking for something better, but with nix, if it's broke, I make an effort to fix it :)
jrolfs__ has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vN6iq
<NixOS_GitHub> nixpkgs/master efdb098 Samuel Leathers: Merge pull request #34199 from arcadio/kallisto...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a7333e9 Arcadio Rubio García: kallisto: init at 0.43.1
<iqubic> A friend of mine once said to me: "Hey iqubic, you haved used linux for a while, can you help me fix my Arch problems?"
<Drakeson> hadn't heard about direnv -- looks pretty interesting. I have been doing that using screen and tmux.
quam6246 has joined #nixos
<iqubic> And I just looked at him and tried to come up with a polite way to say: "I actually use NixOS, so I have no idea what configurations go in what file in /etc"
* jsgrant_ finds it kindof funny that he was trying to move away from keyboard-driven interfaces and NixOS with all the nice Haskell & Vim intergration that he's been encouraged to mess with Xmonad & Neovim for the first time non-trivally in his life.
<jsgrant_> From Stumpwm + Emacs for years, to full Gui-driven GNOME + Atom, to probably back to other-direction with Xmonad + Vim.
<Drakeson> "moving away from keyboard-driven interfaces"? What kind of creature does that intentionally?
<fearlessKim[m]> the kind that has RSI
<jsgrant_> Drakeson: I was getting so weird & esoteric with the scale of my goals (what was turning into a full distro around Stumpwm + Emacs being the more reasonable end and escalating from there0.
<jsgrant_> )*
<jsgrant_> Had about a 6 month 'Lisp/Emacs detox' after deleting all my configs.
<Drakeson> fearlessKim[m]: Does that actually help though? I mean keyboard + mouse is better than just keyboard for RSI?
<Drakeson> you deleted your emacs configs?
quam6246 has quit [Ping timeout: 240 seconds]
<jsgrant_> Drakeson: Not just my config, but my factorized heavily documented one that was over a million lines combined.
<gchristensen> Drakeson: it depends on the person, no one person's RSI needs the same specific treatment as another
<jsgrant_> gchristensen: I was going to say, I don't think we really even understand the dynamics of RSI to anything past trivial.
<disasm> what is RSI?
<gchristensen> all I understand about my RSI is it threatens my ability to earn a salary.
<gchristensen> disasm: repetitive stress injury
<Drakeson> jsgrant_: I see. You had an over-engineered emacs config. I repeatedly delete parts of my configs that I can live without, so my emacs config grows and shrinks over time. But I can't imagine living without it.
<jsgrant_> Hear so much conflicting stuff; But hey, switched to Colemak from my initial Dvorak (both under the/)of my fear of RSI.
<jsgrant_> Drakeson: Over-engineered, with a STRONG emotional attachtement with ever-growing goals; To a point where it was getting out of hand.
<disasm> Drakeson: same here, just s/emacs/vim. If I don't use a plugin for a few months, it gets axed.
<Drakeson> jsgrant_: I think I was in a similar position a while back. Until my day job got more demanding.
<jsgrant_> Drakeson: Yeah, I'm convienced if I wasn't in this living-situation (full-time caretaker for 100+ y/o grandfather) it wouldn't have got out of hand.
<Drakeson> I DID have goals of starting a distro with just emacs, a window manager (initially stumpwm, then xmonad, then i3) and no gnome cruft altogether. Never got there :-(
<gchristensen> jsgrant_: emacs configs are much less important than many things
<Drakeson> gchristensen: like what?
<gchristensen> like a 100+ y/o grandfather
jrolfs__ has joined #nixos
xcmw has joined #nixos
<Drakeson> aah, I read that as "emacs configs are much less important than many things' CONFIGS". heh.
<gchristensen> :)
<Drakeson> and I was scratching my head to where you are going, vim maybe or your window manager's configs or your shell scripts.
<jsgrant_> gchristensen: Give me Emacs, or give me yadda-yadda? Yeah, kindof forced my priorties after awhile -- but the first few months overhere, it actually got WORSE and more hardcore/obsesive I think as a coping mechanism or sometning.
<jsgrant_> Don't want to get too much into personal life, but first year over here -- a lot of family health problems.
<gchristensen> I hear that
<jsgrant_> On that note, lol, I'll be back in like 30; Have to put him to bed.
* jsgrant_ will bbl
jrolfs__ has quit [Ping timeout: 240 seconds]
<Drakeson> So, someone was saying something is like direnv (which I just learned about) for emacs. What was that? I can't brush that off my mind...
<Drakeson> catern: you were saying, what is the equivalent of direnv for emacs? I am super curious...
<catern> Drakeson: there is a direnv plugin for emacs, actually
<catern> Drakeson: but I meant shlevy's nix-buffer
<catern> and really I'm wrong, it's much more like nix-shell
<catern> direnv:emacs-direnv::nix-shell:nix-buffer
<Drakeson> I see
marusich has joined #nixos
<Drakeson> Thanks
<Drakeson> [I just started using nixos (VERY recently), and I am just learning all the available tools, so forgive my ignorance]
<Drakeson> so, nix-shell lets you "shell" into a nix pkg?
<Drakeson> (the "pkg" is probably the wrong term but I don't know what that is called, a nix env?)
quam6246 has joined #nixos
<adisbladis[m]> Drakeson: It lets you drop in to a new ephemeral shell with whatever deps you specified
jrolfs__ has joined #nixos
<simpson> Drakeson: nix-shell can create both environments for developing/debugging a single Nix derivation, and also (and much more commonly) environments which have certain Nix packages available for your use when doing other stuff.
<Drakeson> Thanks. I think I got it.
jrolfs_ has joined #nixos
PeterRomfeld[m] has joined #nixos
<simpson> I have a shell.nix for hacking on my compiler, and another one for writing LaTeX, and one for making music, and so on.
<Drakeson> So, say, you don't have latex etc. in the environment in which you work on your compiler?
<simpson> Yep.
quam6246 has quit [Ping timeout: 248 seconds]
<Drakeson> These are called nix environments, or is that not the right term?
<simpson> "environment" is specifically for the thing that nix-env operates on, and your login user has a "user environment" for example.
<Drakeson> oh so that's not it. Is this a nix derivation then?
<simpson> That said, it's basically like an environment, yes: https://gist.github.com/MostAwesomeDude/8a1a6d118dfaea7f12d40d635765fb88
<Drakeson> I mean, the nix expression that nix-shell "ephemerally realizes", is that called by any name?
<simpson> Not really, but "environment" works.
<Drakeson> okay, so let me ask my main question for the moment...: Can you create a "containerized app" from a nix "environment"?
<simpson> Sure, there's two ways to do it.
jrolfs__ has quit [Ping timeout: 240 seconds]
<simpson> Either dockerTools.buildImage https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools
<simpson> Or `FROM lnl7/nix` in your Dockerfile: https://hub.docker.com/r/lnl7/nix/
<simpson> You can use `FROM nixos/nix` instead too: https://hub.docker.com/r/nixos/nix/
<Drakeson> The former (dockertools) is the more nix'y way, isn't it?
<simpson> Yeah, but things can always be more Nixy. I'm personally poking at a tool that would let me directly export Nix derivations onto a Kubernetes cluster.
<simpson> dockerTools, when it works, is great. It hasn't had a 100% success rate for me, while lnl7/nix has always worked.
Ridout has quit [Quit: Lost terminal]
<Drakeson> A friend of mine was working on something like that, a few years ago, when kubernetes was new. I wasn't using nixos (only a little bit of nix) at that time, so I don't recall the details.
<Drakeson> Let me see if that's still relevant
<Drakeson> His work was a contribution to the kubernetes team, I think. Still searching for it...
jrolfs__ has joined #nixos
jb55 has quit [Ping timeout: 252 seconds]
<Drakeson> nah, couldn't find it (but I am not familiar with kubernetes yet, it's still at the top of my personal todo list after installing and familiarizing myself with nixos).
<simpson> No worries.
<la_putin> i can now load a program and its interperater virtually ^-^
<Drakeson> so is nix-kubernetes the tool you just mentioned (that exports nix derivations to a kub cluster), or did you mean you were making a tool yourself?
fiveht has joined #nixos
<Drakeson> nix-kubernetes is written in javascript... eww!
<simpson> This is the tool I'm investigating.
jrolfs__ has quit [Ping timeout: 268 seconds]
gfixler has joined #nixos
<Drakeson> Aah you're using capnproto :-). Is it popular these days?
xcmw has quit [Ping timeout: 252 seconds]
Myrl-saki has joined #nixos
jrolfs__ has joined #nixos
<fiveht> hi. anybody got scan-build working within a nix-shell -p clang? it seems like it does not find the standard include path (while clang alone to build my code works just fine...)
jrolfs__ has quit [Ping timeout: 248 seconds]
<iqubic> So what does the emacs package "nix-buffer" even do?
<simpson> Drakeson: I hope so!
<Drakeson> You hope so? Are you Kenton, by any chance?
<simpson> No, I'm Corbin. You can find Kenton in #sandstorm.
<Drakeson> I'm still with his former employer, and no, I don't know him personally.
<iqubic> What is #sandstorm used for?
<simpson> iqubic: /list #sandstorm
yegortimoshenko has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos
<iqubic> Yeah, that didn't help me understand what the channel is for,
<Drakeson> It's a company and a product, if you excuse me taking over the mic.
<simpson> sandstorm.io, Capn Proto, Sandstorm Oasis and etc.
rauno has quit [Remote host closed the connection]
schoppenhauer has quit [Ping timeout: 248 seconds]
<jsgrant_> Woop, took a bit longer tonight.
<jsgrant_> iqubic: It's a sandbox webapp hosting platform, afaik.
schoppenhauer has joined #nixos
<Drakeson> Is slim a good display manager? I still haven't managed to resolve all my X resource setup issues, yet, so I am wondering if changing slim could help?
<jsgrant_> Drakeson: Personally much prefer lightdm, but really can't comment on any architectural prefrences.
hamishmack has quit [Quit: hamishmack]
<Drakeson> For instance, I still can't set a consistent cursor size across all the running programs... (with a hidpi monitor the default cursor size is ridiculous).
<Ralith> Drakeson: set Xcursor.size: 16 and restart X (to be sure everything gets it
<Ralith> )
<Drakeson> Haha, nope!
<Ralith> slim is unmaintained, iirc
<Ralith> has been for years
<Ralith> it's kind of a travesty that nixos still ships with it
<Drakeson> Ralith, I do have an Xcursor.size in my ~/.Xresources, but it does not seem to get loaded at the correct time.
<jsgrant_> Ralith: Is there any stated reason for this? At the time I was using GuixSD, it defaulted to that as-well.
<Drakeson> is lightdm simpler and/or better?
<Ralith> I dunno about simpler but it works
<jsgrant_> Ralith: Yeah, and is still pretty actively maintained afaik.
<jsgrant_> Don't like the idea of something as arguably critical to a gui security-wise as a "desktop manager" not being touched for a long-while.
<Drakeson> lightdm is maintained, isn't it?
<jsgrant_> Last version says 2017-09-05
<Ralith> jsgrant_: beats me
<Ralith> Drakeson: I forget if/how you have to load it manually, I just set mine via home-manager these days
<Ralith> and everything Just Works
<Ralith> home-manager is <3
<Ralith> also obligatory hurray for capnp
<Drakeson> What is home-manager?
* jsgrant_ still has yet to mess with hm
<Drakeson> You're from Sandstorm, too?
<Ralith> I don't think anyone here's from sandstorm
<Ralith> capnp is just neat
<Ralith> and yeah lightdm has some good inertia going
<jsgrant_> Ralith: Is that that OCaml code-gen'r?
<Ralith> jsgrant_: huh?
<Drakeson> Cool! Brb, switching over to lightdm... (hope emacs won't segfault after killing X, now that I use the lucid version)...
<Ralith> Drakeson: configuration.nix for your dotfiles and user env
<jsgrant_> Cap'N Proto, or whatever?
<Ralith> good stuff
<Ralith> jsgrant_: cap'n proto is a data encoding scheme, very vaguely similar to protocol buffers or msgpack
<jsgrant_> Huh, what the hell am I thinking of ...?
<Ralith> mlton?
<jsgrant_> Nah, don't think so.
<Drakeson> Well, the similarity with protobufs is not exactly vague :-) Protobuf v2 and Cap'n Proto were both written by Kenton.
<jsgrant_> Oh! Think maybe in this half-outta-it state of mind I just saw that was ocaml related; And thought of Ometa?
<jsgrant_> Idk, seems most likely. :^P
elninja44 has quit [Remote host closed the connection]
<Ralith> Drakeson: they're not very similar, though
<Ralith> having a wildly different design philosophy is kind of the whole point
<jsgrant_> Is it even Ocaml related, the more I look into it ... Okay, maybe getting close to bedtime.
<Drakeson> The design is different but from a user's interface point of view they don't seem radically different. The no-packing is of course a very nice design property.
<Drakeson> yay, emacs survived a change of a display manager :-)
<jsgrant_> Drakeson: In what way (why wouldn't it)?
<Ralith> I dunno what kind of user we're talking about here, but the reasons to choose one over the other, and the concerns one must be aware of when designing a schema for either, are deeply entwined with the drastic design changes
fiveht has quit [Quit: WeeChat 1.9.1]
<Ralith> jsgrant_: emacs is constantly whining about some gtk bug that leads to crashes when X dies
jrolfs__ has joined #nixos
<Drakeson> It is not just whining, it DOES crash reliably, 100% of the time.
<Drakeson> I don't use emacs gtk anymore. Emacs lucid is sufficiently good.
<Ralith> except for this time? :P
<Drakeson> What?
<jsgrant_> Ralith: Huh, weird. I remember peeking into some of the C code for X years ago and the little I could read was a HUGE-mess; Assume it's not been refactored/reworked much since.
<Ralith> ah
<jsgrant_> Drakeson: Remacs? :^P
<Drakeson> with pkgs; {(emacs.override {withGTK2 = false; withGTK3 = false;})}
<Drakeson> what the **** is remacs trying to solve?
<Drakeson> looks like a toy project :-)
<jsgrant_> Ralith: 'Rewrite Everything In Rust'; But really, if I was to suggest any real 'better Emacs' it'd be Second-Climacs.
<jsgrant_> But there's near literally 0 support outside of beach.
<Ralith> that was Drakeson, not me
<jsgrant_> Ralith: Sorry; Sweepy.
<Ralith> personally I'm keeping an eye on Xi
<jsgrant_> Drakeson: ^*
<jsgrant_> Ralith: Yeah, Xi is neat & Xray looks pretty okay if interested at-all at 'leveraging web-tech'.
<Drakeson> yeah, "rewriting" emacs in anything non-lisp[1] sounds utterly stupid to my eyes. [1]: An *-ML one might be somewhat acceptable though.
<jsgrant_> Atom, I wanted to like but was still painfully heavy even when they effectively halfed ram use.
<Ralith> ew, web
<jsgrant_> Ralith: I was insanely opposed, years ago, ELECTRON IS CANCER before Electron was 'a thing' & has grown on me -- more-so because it's "going to happen" and not-so much that I approve of the technical choices.
<Ralith> electron is the sole reason I have memorized the magic sysrq for oom kill
<Ralith> nix doesn't even attempt a clean binary build of electron
<Ralith> it is a disaster in every regard
<jsgrant_> WASM has raised my spirits/hopes by like 35% higher than my intial 25%.
<Ralith> wasm is probably a good thing but it won't make electron any less fundamentally wrong
<jsgrant_> Ralith: What I want/hope is that someone will eventually supplant it with a small runtime & lib, that is generic enough to be run on "all modern browsers" ... but sure the amount of effecitve inherent vendor-lockin to Electron, wouldn't be trivial task on anything, if such a means did catch on.
<Drakeson> I don't have super high hopes for wasm yet. It hasn't landed yet (where is the sudo apt-get install something-wasm?)
quam6246 has joined #nixos
<jsgrant_> The fact that three.js is relatively popular, and so surely will be webvr/ar -- have no doubt that Wasm will be huge.
<Drakeson> jsgrant_: Aah, I literally meant debian/ubuntu when I said "sudo apt-get", not just a way to install it in nixos.
<Drakeson> Until it is easily installable on a wide range of developer machines with 0 hair pulling, there will be a gap in interest.
<jsgrant_> Drakeson: Think you are going to probably see in prog-lang packagemanagers first; I'm absolutely sure Cargo has some support right now.
rauno has joined #nixos
<jsgrant_> Wonder what the actual/practical perfomance lose though is targeting what is an effectively a virtual-arch, like the Jvm, iiuc, is?
ryanartecona has joined #nixos
<Drakeson> The loss can be very small. Less than 5% of native in cases I have heard about.
aarvar has joined #nixos
quam6246 has quit [Ping timeout: 264 seconds]
<jsgrant_> Drakeson: Well, that would be actually "revolutionary" in my eyes; I'd expect (based on nothing) and be happy with only ~65-75% native.
hamishmack has joined #nixos
<Drakeson> I am SURE I have seen benchmarks showing 95% native speeds.
<Drakeson> That's not the issue.
<Drakeson> The real problem is reliably designing a performant editor infra (including the buffer representation data structure, etc.) on somewhat unknown VMs (with regards to performance bottlenecks).
ryanartecona has quit [Ping timeout: 240 seconds]
<jsgrant_> Drakeson: Isn't that some of the appeal of Electron at core, in-theory though? One implementation?
<Drakeson> So, you *might* port xdisp.c (of emacs) to WASM, but that file has an insurmountable number of performance hacks in it, which will most likely not make any sense on a display-oriented VM like a browser.
<jsgrant_> Drakeson: Oh, okay I get ya.
Rusty1_ has quit [Quit: Konversation terminated!]
<Drakeson> I mean have you ever looked at the "redisplay engine" in emacs? That is a certainly not for the faint of heart...
<jsgrant_> But I think that would be inhreent anyways, because you are chaning the paradigm or at least level of abstraction still -- even if you're getting closer to native performance?
<Drakeson> So, whenever I hear "cross-platform framework" and "editor" mentioned in the same sentence I cringe internally.
<jsgrant_> Drakeson: I just think it's invetible; At least for "the average user/consumer" -- maybe, maybe even certainly-not for what I'd stereotype the average "Linux user" let alone NixOS ones.
<Drakeson> Sorry, I lost you a bit; What is inevitable?
<iqubic> Drakeson: What about emacs?
<Drakeson> iqubic: what about it?
<iqubic> Is it a "cross-platform framework"?
<jsgrant_> Drakeson: Even if it's ugly schematically, I think "Web As A Platform" is going to be the winner now no-matter what; And that perfomance and different kind-of dirty hacks be damned -- that you can't fight "progress".
<jsgrant_> Thought Electron was going to be mostly a fad, a few years later, I bought a Nexus5 with the intention to act as a dedicated FirefoxOS phone a year after it got killed off; Never thought I'd even be in that mindset. And I think Wasm made me a beliver (a begruding one, but a believer).
* jsgrant_ is half-rambling; Probably going to pop-off in 30 fyi.
<jsgrant_> Just think it's all weird/amazing.
<Drakeson> iqubic: I would call emacs a framework. It is a VM with a display engine (and a few other things) built-in. Somewhat like a browser.
<jsgrant_> Self-contained desktopEnvironment; Kind of like a browser.
<Drakeson> Whooops! I was going to say "I WOULDN'T call emacs a framework". Oh *facepalm*...
aarvar has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 252 seconds]
ma27 has joined #nixos
jrolfs__ has quit [Ping timeout: 268 seconds]
jrolfs__ has joined #nixos
<iqubic> Since when is Emacs a virtual machine?
<hyper_ch> good morning
<iqubic> morning hyper_ch.
jrolfs__ has quit [Ping timeout: 240 seconds]
<hyper_ch> home server still running with zfs stability patch... migrating currently 2x 8TB drives
<hyper_ch> it takes so long to copy 8TB drives :(
<iqubic> 8TB is a lot. How much data do you have?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #34247: unpackPhase: Handle sources starting with a hyphen (staging...default-unpack-hyphenated-names) https://git.io/vN6ye
NixOS_GitHub has left #nixos [#nixos]
<jsgrant_> iqubic: Old NixOS generations.
<jsgrant_> Everyone asks how big there root should be; Answer is always 36tb; No-one ever listens.
ma27 has quit [Ping timeout: 240 seconds]
<jsgrant_> their*
<iqubic> Why would you want to keep *all* the old generations?
<jsgrant_> iqubic: Bad joke.
a6a3uh has joined #nixos
<hyper_ch> jsgrant_: I don't have those worries iwth zfs :)
<iqubic> Yeah, I also use zfs, and it is awesome.
* jsgrant_ was going to messabout with Btrfs; But is a bit more excited for & will wait on Stratis.
<hyper_ch> I really, really love compression=lz4
a6a3uh has quit [Client Quit]
<iqubic> Me too.
<hyper_ch> jsgrant_: btrfs? you like to live on the edge?
simukis has joined #nixos
<iqubic> I think I am also using that.
<iqubic> at your recomendation no less.
<jsgrant_> hyper_ch: Typically, not for FS though; That's why I decided against after Redhat basically declared it dead & said moving on.
<hyper_ch> jsgrant_: have a look at zfs :)
<hyper_ch> iqubic: lz4 works great and doesn't noticeably lag down things
<jsgrant_> Licensing thing as-I-understand-it, annoys me enough that I've always decided against it.
<iqubic> hyper_ch: I know. I'm using it because you recommended it to me.
<jsgrant_> Tfs i'm midly interested in.
<jsgrant_> Which aproximates a fair amount of Zfs, it seems.
rauno has joined #nixos
<jsgrant_> Or has in it's roadmap.
<hyper_ch> jsgrant_: zfs licensing is not an issue on nixos
<jsgrant_> Stratis seems to be shooting for the more middle-man, less idealistic approach though; Which I think I'd side with ultiamtely anywyas.
<jsgrant_> hyper_ch: Why? I thought it was inhreent with using it with the Linux kenrel generally?
<hyper_ch> jsgrant_: don't know :)
<hyper_ch> but debian offers it, ubuntu offers it, nixos offers it
<jsgrant_> Something about the 'Common Development & Whatever License' not being compatible with the GPLv2? Maybe it's just not a real legal worry that Oracle will act on it for these community projects; But ones sponsored by companies are more caustious?
<Drakeson> The issue is loading a non-gpl kernel module, IIRC.
<Drakeson> It's not just oracle (or perhaps not them at all)
<jsgrant_> Drakeson: You know, that sounds vaguely familar; Like a zfs.ko or something?
<hyper_ch> Wikipedia "The Free Software Foundation (FSF) considers it a free software license, but one which is incompatible with the GNU General Public License (GPL)."
a6a3uh has joined #nixos
a6a3uh has quit [Client Quit]
<hyper_ch> And zfs.ko, as a self-contained file system module, is clearly not a derivative work of the Linux kernel but rather quite obviously a derivative work of OpenZFS and OpenSolaris. Equivalent exceptions have existed for many years, for various other stand alone, self-contained, non-GPL kernel modules."
<Drakeson> Is oracle still pushing/selling [Open-]Solaris (or other variants of it)? If not, I fail to see why they havent already worked towards dual-licensing zfs under GPLv2... (just my 2c).
<hyper_ch> Drakeson: why don't the make the virtualbox addon (for usb 2/3 support etc) also easily available?
<hyper_ch> instead you have to go through hoops and stuff
<Drakeson> Yeah that I dont understand either
<hyper_ch> IMHO it's just Oracle being dicks.....
<hyper_ch> but meanwhile I was able to convert to qemu/kvm
<jsgrant_> Oracle has had a bad reputation with their relationship to opensource for years though, no? I remember near 10 years ago (when first switched to Linux), people were freaking out about there relationship to Openoffice.
<jsgrant_> Uh-oh; Doing the double speak again (relationship, relationship), getting close to bed time.
<hyper_ch> I don't really like Oracle
jtojnar has quit [Quit: jtojnar]
quam6246 has joined #nixos
<Drakeson> Quite honestly, I don't think they know or care much about the issues with the open source world.
<jsgrant_> Drakeson: Yeah, I assume they are just profitable enough to the "entereprise datebase" crowd to not care about much else.
dj_goku has joined #nixos
quam6246 has quit [Ping timeout: 268 seconds]
<jsgrant_> Oooookay, bedtime y'all (for real). o/
* jsgrant_ goes to lurking; Shuts screen for the night.
<hyper_ch> "... and installs zfs"?
MercurialAlchemi has joined #nixos
samae has joined #nixos
theseriousadult has joined #nixos
<Isorkin> on zfs which algorithm checksum, dedup is better?
atrx has joined #nixos
<hyper_ch> Isorkin: ?
<hyper_ch> I doubt you want dedup
<hyper_ch> except when you're offering large clouds and stuff
<Isorkin> hyper_ch: need in home nas, I try to compare dedup=sha256,verify|sha512,verify|skein,verify But I'm not sure which is optimal
<hyper_ch> you know, dedup needs lots of ram
<hyper_ch> I wouldn't run that in a home nas
quam6246 has joined #nixos
dejanr has joined #nixos
<Isorkin> 16Gb a little?
<adisbladis[m]> I've heard a good rule of thumb is 1G of ram per TB of deduped storage
<hyper_ch> I heard that as well... + ram for the rest of the system
<hyper_ch> but trying to find that
glenn_ has quit [Ping timeout: 252 seconds]
Itkovian has joined #nixos
LnL has quit [Ping timeout: 260 seconds]
quam6246 has quit [Ping timeout: 268 seconds]
marusich has quit [Ping timeout: 252 seconds]
marusich has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
zzamboni has joined #nixos
marusich has quit [Ping timeout: 252 seconds]
marusich has joined #nixos
MichaelRaskin has left #nixos [#nixos]
<fearlessKim[m]> trying to debug my problem, I dont get why `builtins.functionArgs buildLinux` (in nix-repl) lists no arguments ?
LnL has joined #nixos
<fearlessKim[m]> I would expect modDirVersion/kernelPatches to appear
leat1 has quit [Ping timeout: 240 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
glenn_ has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
silver_hook has quit [Ping timeout: 276 seconds]
quam6246 has joined #nixos
glenn_ has quit [Ping timeout: 240 seconds]
dejanr has quit [Ping timeout: 252 seconds]
quam6246 has quit [Ping timeout: 240 seconds]
<fearlessKim[m]> hoverbear it gives the path to neovim derivation
<hoverbear> fearlessKim[m]: Yes that's "what", but *where* is my question
<chris|> has anyone managed to get a systemd.path unit to work? it seems that nixos has no direct suppot for declaring them
<fearlessKim[m]> hoverbear: line 3?
<hoverbear> So it is referencing itself?
<hoverbear> My best guess was pkgs.neovim
<fearlessKim[m]> hoverbear: nope neovim is the 'raw' derivation, you are looking at the wrapper
<hoverbear> fearlessKim[m]: Yes and I'm trying to make a wrapper for zsh =D
glenn_ has joined #nixos
periklis has joined #nixos
theseriousadult has quit [Ping timeout: 246 seconds]
<fearlessKim[m]> hoverbear: hum I think you spotted an error, the neovim should not appear in the set at the beginning
<fearlessKim[m]> it is shadowed by the function call so that works
<fearlessKim[m]> but it should be removed
zzamboni has quit [Quit: Leaving.]
<fearlessKim[m]> hoverbear: nice ! this way I could have zsh follow xdg standard
kreetx has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #34248: neovim: remove confusing neovim parameter (master...fix_neovim) https://git.io/vN6QE
NixOS_GitHub has left #nixos [#nixos]
quam6246 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbode opened pull request #34249: terraform-landscape: init at 0.1.17 (master...terraform-landscape_0_1_17) https://git.io/vN6Qu
NixOS_GitHub has left #nixos [#nixos]
Tobba has joined #nixos
frankqux_ has quit [Ping timeout: 268 seconds]
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
quam6246 has quit [Ping timeout: 260 seconds]
nonethejewels has joined #nixos
asuryawanshi has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
reinzelmann has joined #nixos
theseriousadult has joined #nixos
ambro718 has joined #nixos
zzamboni has quit [Quit: Leaving.]
ryanartecona has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [Ping timeout: 268 seconds]
ryanartecona has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Remote host closed the connection]
CrazedProgrammer has quit [Ping timeout: 268 seconds]
theseriousadult has quit [Ping timeout: 240 seconds]
rauno has joined #nixos
leat1 has joined #nixos
theseriousadult has joined #nixos
tv has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nixos
tv has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
<ij> How should I pin things to some gc root, so that the stuff I use in nix-shell wouldn't be picked? I don't think I want it in my user profile unless there's no other way.
MP2E has quit [Remote host closed the connection]
Tucky has joined #nixos
<hyper_ch> ij: not really sure what you want to achieve
asuryawanshi has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
marusich has quit [Ping timeout: 252 seconds]
marusich has joined #nixos
dan_b has joined #nixos
asuryawanshi has joined #nixos
psychon_ has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
<psychon_> hi, quick question that Google couldn't answer: How often is staging merged into master? Assuming I want to submit a PR based on something that was merged into staging today, does it make sense to wait for it to appear on master or should my PR go to staging? (May I even submit PRs to staging that do not cause mass rebuilds?)
Havvy has joined #nixos
<LnL> master is merged into staging pretty frequently
<psychon_> okay, thanks
asuryawanshi has quit [Ping timeout: 240 seconds]
<hyper_ch> LnL: he asked how often straging is merged into master :)
ambro718 has quit [Ping timeout: 248 seconds]
<hyper_ch> psychon_: https://howoldis.herokuapp.com/ -- read the channel update part
bkchr has joined #nixos
<LnL> err, I should get some coffee first :)
<hyper_ch> coffee always helps
<hyper_ch> except when you want to sleep
<bkchr> Hi, I try to get an hp printer working. I already added the driver, but the "hp-setup" command is not found when I want to execute it
<LnL> a staging merge takes longer and depends on the state of the branch
<psychon_> oh, I didn't even notice that the answer was the other way around :-)
<LnL> sometimes stuff breaks because it can't be tested very well, eg. https://hydra.nixos.org/job/nixpkgs/staging/unstable#tabs-constituents
<hyper_ch> psychon_: you use nixos?
<psychon_> no, not really, why do you ask?
<psychon_> I just suffer from helper's syndrome ;-)
jrolfs__ has joined #nixos
<hoverbear> fearlessKim[m]: Yes nix is still a big puzzle for me though xD
<sphalerite> psychon_: is that when you spend far more time than you probably should on any opportunities you find to help people?
civodul has joined #nixos
<psychon_> I'm upstream for awesome and then help distros package it properly
<psychon_> which for nixpkgs means "get rid of all that env vars that you set which cause problems"
<psychon_> I set up a nixos vm just for that, which objectively is a bit absurd, I think
<hoverbear> psychon_: Not that absurd =D
<psychon_> well, okay, and the idea of nix sounded interesting and I wanted to play a bit with it
<fearlessKim[m]> hoverbear: guess that makes 2 of us. The wrapper mechanism is one more oddity to get over with :>
<psychon_> it's a bit sad that the rpath stuff does not work completely like nix would need it, but still it's interesting...
<bkchr> Anyone has an idea how to fix "error: No module named PyQt4.QtGui"? -.-
jrolfs__ has quit [Ping timeout: 240 seconds]
lonokhov has joined #nixos
<hoverbear> fearlessKim[m]: Yeah I've been looking at the neovim wrapper and it makes my brain spin
<sphalerite> psychon_: isn't it RUNPATH that doesn't behave the way it's needed in this case?
<psychon_> sphalerite: well, yes, it is DT_RUNPATH vs DT_RPATH, but both are set via the linker's -rpath command line argument... I'm not quite sure what the correct terminology is
<sphalerite> psychon_: ah right
<fearlessKim[m]> hoverbear: before writing the neovim wrapper, I was like you, it's pretty simple in fact. upstream binary = one derivation, a shell script to setup a custom environment and launch the raw binary = one derivation :)
adamt has joined #nixos
asuryawanshi has joined #nixos
<hoverbear> fearlessKim[m]: you did the neovim wrapper?
glenn_ has quit [Ping timeout: 252 seconds]
<fearlessKim[m]> hoverbear: yep, so maybe you shouldn't use it as a reference xD
asuryawanshi has quit [Remote host closed the connection]
Isorkin has quit [Read error: Connection reset by peer]
Isorkin has joined #nixos
<hoverbear> fearlessKim[m]: can we maybe connect and pair up sometime this next week and chat about it?
nuncanada has joined #nixos
<hyper_ch> palemoon takes a long time to compile
<fearlessKim[m]> hoverbear: if you want but maybe it's best to open a PR and ping me ? @teto
quam6246 has joined #nixos
<hoverbear> fearlessKim[m]: I'm kind of stuck at where to start :&
alex`` has joined #nixos
thc202 has joined #nixos
<fearlessKim[m]> hoverbear: start with the big picture and modify the all-packages.nix. zsh becomes zsh-unwrapped and the new zsh becomes sthg like zsh = callPackage ../shells/zsh/wrapper.nix { };
quam6246 has quit [Ping timeout: 248 seconds]
<fearlessKim[m]> you can copy the neovim wrapper.nix and replace neovim with zsh
<hoverbear> fearlessKim[m]: I'm working on an overlay atm
<hoverbear> fearlessKim[m]: Yeah I have a copy of the neovim wrapper I'm modifying atm but it uses a lot of syntax I'm not familiar with at all
<aminechikhaoui> hm wonder why rustc isn't available in the 17.09 channel
<aminechikhaoui> doing `nixos-rebuild switch -I nixpkgs=channel:nixos-17.09` is triggering a rebuild of rustc
* fearlessKim[m] sent a long message: fearlessKim[m]_2018-01-25_09:14:50.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/wYKiAARCFlXfWkLKMOcDjvVA>
<fearlessKim[m]> makeWrapper is documented so you are safe on that side
<hoverbear> aminechikhaoui: I was able to avoid that by doing `nixos-rebuild switch --upgrade`
asuryawanshi has joined #nixos
adamt has quit [Ping timeout: 240 seconds]
<aminechikhaoui> hoverbear: but -I nixpkgs=channel:nixos-17.09 is the equivalent of that
<aminechikhaoui> it will pull the latest in the channel
jrolfs__ has joined #nixos
<aminechikhaoui> huh this might be the issue https://hydra.nixos.org/build/67761580
asuryawanshi has quit [Remote host closed the connection]
<aminechikhaoui> although not sure which jobset exactly
quam6246 has joined #nixos
<theseriousadult> aminechickhaoui, hoverbear: I'm having the same issue, build fails on my local machine as well
asuryawanshi has joined #nixos
gilligan_ has joined #nixos
<gilligan_> hi o/
adamt has joined #nixos
adamt has quit [Changing host]
adamt has joined #nixos
<gilligan_> can someone tell me if there is a way to have nixos-rebuild-switch tell me why it builds something? i am watching rustc packages getting compiled which takes forever and I have no idea why anything has to be compiled or where the rustc dependency comes from
ssmike has joined #nixos
ssmike has quit [Client Quit]
ssmike has joined #nixos
<lejonet> gilligan_: iirc that is a known problem, its Firefox causing it
<aminechikhaoui> gilligan_: yeah seems same issue we were discussing
<aminechikhaoui> seems the rustc failures started with glibc update
<theseriousadult> lejonet: not quite fair to say FF is causing it - rustc build on hydra server is failing, which is why this is an issue at all
jensens has joined #nixos
quam6246 has quit [Ping timeout: 240 seconds]
<gilligan_> it cannot only be firefox though - i don't have firefox installed
psychon_ has quit [Quit: leaving]
<lejonet> theseriousadult:
<lejonet> theseriousadult: true*
<LnL> has nothing to do with firefox, it just uses a different version of rust
<gilligan_> LnL, so what exactly is causing the rust build right now? can i avoid it somehow ? i don't get that from the issue
<LnL> gilligan_: nix-store -q --tree $(nix-instantiate '<nixos/nixos>' -A system)
<LnL> you should be able to trace back the rust dependency with that
etu has quit [Quit: WeeChat 2.0]
<gilligan_> LnL, perfect! exactly what i needed. Thanks!
<gilligan_> it was nix-index
<LnL> this will probably also work as a temporary workaround (self: super: { rustc = super.rust119bin; })
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] FRidh opened pull request #1814: Add git to source tarball buildInputs (master...addgit) https://git.io/vN6AZ
NixOS_GitHub has left #nixos [#nixos]
<aminechikhaoui> oh that's a nice command to get a deps tree LnL :-)
<theseriousadult> Will anything horrible happen if I switch from 17.09 to unstable?
<joko> LnL: noted it, too :D
gilligan_ has quit [Quit: Leaving]
<aminechikhaoui> theseriousadult: most likely :p
nonethejewels has quit [Ping timeout: 248 seconds]
etu has joined #nixos
<LnL> take a look at the release notes, but there's probably a bunch of stuff missing
<aminechikhaoui> and 17.09 is more up to date than unstable afaik
<aminechikhaoui> in terms of security updates etc
<LnL> indeed
<theseriousadult> Alright, staying on 17.09 then
nonethejewels has joined #nixos
<LnL> you can easily upgrade certain packages if you want
<theseriousadult> Yeah, been doing that when necessary
<theseriousadult> Noticed that unstable rustc was working, and figured rollbacks made "unstable" safe to use, so thought I might switch
<theseriousadult> Given that it tends to be behind in updates though I'm better off just waiting for this to get fixed
<fearlessKim[m]> now if only nix-index could survive failures in nixpkgs, that would be cool
<aminechikhaoui> can't see where the build is failing though in the logs https://nix-cache.s3.amazonaws.com/log/rypgmzg2acynlwpi0bjjvp9fknbv95sx-perl-5.24.3.drv
<aminechikhaoui> ah no that's a wrong one actually
atrx has quit [Ping timeout: 240 seconds]
<aminechikhaoui> LnL: ?
<LnL> the build you linked
<aminechikhaoui> oh right, yeah that was a wrong link
<hoverbear> aminechikhaoui / theseriousadult : I had the Rust stage0 build last night from ripgrep, did a `nixos-rebuild switch --upgrade` and it was gone. Could also try using unstable ripgrep.
<theseriousadult> hoverbear: unstable ripgrep works
<hoverbear> fearlessKim[m]: Mind if I PM you and ask some questions later?
<fearlessKim[m]> hoverbear: please do.
zzamboni has joined #nixos
quam6246 has joined #nixos
evangeline has quit [Quit: ZNC 1.6.5 - http://znc.in]
quam6246 has quit [Ping timeout: 268 seconds]
<sphalerite> ertes-w: (or any other emacs users) do you know of any tutorials or other docs that might help me getting started with emacs+nixpkgs? As a current vim user
<ertes-w> sphalerite: put this in your ~/.emacs: (setq package-user-dir "~/.nix-profile/share/emacs/site-lisp/elpa") (package-initialize)
<ertes-w> sphalerite: then all emacsPackagesNg packages should work out of the box
<sphalerite> ertes-w: and I just install them using nix-env?
<ertes-w> sphalerite: yeah
<ertes-w> or you write a package set
zzamboni has quit [Quit: Leaving.]
<ertes-w> so i just install 'ertes-base' to get all of the packages listed there installed
<fearlessKim[m]> sphalerite: don't do that, the neovim community had great hope for you !
<sphalerite> yeah I already have a setup like that
<sphalerite> fearlessKim: emacs feels so much less hacky though! :p
jensens has quit [Ping timeout: 260 seconds]
<fearlessKim[m]> sphalerite: that's because you haven't hacked it yet :p well we'll do our best to bring you back to the living
jrolfs__ has quit [Ping timeout: 252 seconds]
<sphalerite> fearlessKim: https://github.com/lheckemann/dotfiles/blob/master/neovim.nix is my current setup
vidbina has joined #nixos
mint_ has joined #nixos
<sphalerite> fearlessKim: also I have to use emacs a bit anyway since there doesn't seem to be any fleshed-out agda package for vims
<sphalerite> so I might be a lost cause :p
<fearlessKim[m]> sphalerite: that's a pretty lean setup, vim is a bit dry without any plugin
<ertes-w> if you want vim-style editing in emacs, there are a few options
dywedir has quit [Remote host closed the connection]
orivej has joined #nixos
<ertes-w> there is evil-mode, and a lot of former vim users seem to like spacemacs
<fearlessKim[m]> sphalerite: we can run emacs in vim etc. I also heard tales bout people runing emacs as a backend for some vim plugins
<sphalerite> my general impression is that emacs is engineered while vim is much more organically grown
hiroshi- has joined #nixos
<sphalerite> fearlessKim: what would you say is missing from my vim setup?
<sphalerite> ertes-w: yeah. I'm on the fence about using evil-mode vs learning emacs keys
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
<fearlessKim[m]> I am a vim noob and dunno emacs (tried once to decide between vim and emacs and the shortcuts seemed a pain) so I am in a bad position to give advice xD
<fearlessKim[m]> I like vim-grepper/fzf.vim/Far/Signify/signature/startify etc.
<Tucky> Hello, how can I install all packages from kdeApplications? I tryed "kdeApllications.*" in my config.nix without success.
<sphalerite> Tucky: nix-env -f '<nixpkgs>' -iA kdeApplications
<Tucky> sphalerite: In declarative mode?
<sphalerite> Tucky: for a declarative setup you'll want to merge kdeApplications into the existing set. I don't know how your config.nix works, could you paste it somewhere?
Intensity has quit [Remote host closed the connection]
Isorkin_ has joined #nixos
<Tucky> sphalerite: sorry I am not on the concerned machine. But my config.nix is almost not tweaked (fresh install)
<sphalerite> you mean config.nix or configuration.nix?
<ertes-w> sphalerite: if you're already used to vim keys, there is little point in learning emacs keys
<ertes-w> sphalerite: you should probably just map the extra features that emacs offers to vim-style key sequences
<sphalerite> Tucky: config.nix is ~/.config/nixpkgs/config.nix, the user-specific nixpkgs config file. configuration.nix is /etc/nixos/configuration.nix, the systemwide config
<sphalerite> ertes-w: fair enough
jrolfs__ has joined #nixos
<ertes-w> sphalerite: i'm just used to emacs keys at this point, and i have no intention to invest the time in learning vim keys
<Tucky> sphalerite: sorry I mean /etc/nixos/configuration.nix
<ertes-w> (i do know some basics, but that's about as far as i want to go)
Isorkin has quit [Ping timeout: 240 seconds]
seccus has quit [Ping timeout: 240 seconds]
jensens has joined #nixos
<sphalerite> Tucky: in that case I think something like `systemPackages = with pkgs; [ foo bar baz ] ++ builtins.attrValues pkgs.kdeApplications;` should do the trick
seccus has joined #nixos
zzamboni has joined #nixos
chaker has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
<Tucky> sphalerite: I just made a quick search in the manual and I didn't find documentation about your trick.
<sphalerite> Tucky: attrValues should be in the nix manual
<sphalerite> (it's a bit annoying having three manuals that look the same visually...)
zzamboni has quit [Client Quit]
<Tucky> sphalerite: here: https://nixos.org/nixos/manual/ ?
<sphalerite> there's the nix manual, the nixpkgs manual, and the nixos manual which are all distinct
<chaker> Hey, I'm trying to build an sbt project, is there a reference for how to get the deps in such projects I tried to use sbtix but even with it, some deps aren't fetched "org.scala-lang#jline;2.10.5: not found".
jrolfs_ has quit [Ping timeout: 252 seconds]
<teozkr> hey chaker: this happens when you're using a different version of SBT than the one Sbtix was built against
<teozkr> which is currenly 0.13.15
<Tucky> sphalerite: aaaaaaaaaaaah that's a bit confusing indeed…
<chaker> Ahh, I remember that yesterday when trying to use sbtix I found out that it doesn't support 1.x
<chaker> Let me try to change it back to 0.13.15
<teozkr> alright, good luck
oida has joined #nixos
<teozkr> the reason is that some dependencies aren't auto-discovered, so they are manually listed in https://github.com/teozkr/Sbtix/blob/master/plugin/nix-exprs/manual-repo.nix
garbas has quit [Ping timeout: 248 seconds]
<fgaz> what is the current state of updateWalker scripts?
<fgaz> is their use encouraged?
fyuuri has joined #nixos
<tilpner> How do you pass a list of paths from a derivation to its builder?
<sphalerite> tilpner: encode it as a string. If you make it a list attribute of the derivation, it will get passed through as space-separated strings iirc
<sphalerite> tilpner: if you need escaping, you can use escapeShellArgs.
garbas has joined #nixos
<sphalerite> tilpner: nix 1.12 also has some sort of support for exposing nix values using bash values, I don't know the details though
tmaekawa has joined #nixos
<sphalerite> s/1.12/unstable/
hellrazo1 has quit [Quit: WeeChat 2.0.1]
<tilpner> Yes, that's what I'm looking for. It wouldn't be documented already, would it? :/
tmaekawa has quit [Client Quit]
<sphalerite> tilpner: check out 6de33a9c675b187437a2e1abbcb290981a89ecb1
<tilpner> Thank you! :)
mint_ has quit [Ping timeout: 268 seconds]
<sphalerite> the commit message explains how to use it
<sphalerite> oh wait no it's not bash values, it's JSON. But yeah it supports structured data
<tilpner> __structuredAttrs looks kind of weird
<tilpner> But this is perfect!
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
zzamboni has joined #nixos
jrolfs_ has joined #nixos
fyuuri has quit [Ping timeout: 268 seconds]
i-am-the-slime has joined #nixos
periklis has quit [Ping timeout: 260 seconds]
jrolfs_ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34119: igv: 2.3.98 -> 2.4.6 (master...master) https://git.io/vN2zj
NixOS_GitHub has left #nixos [#nixos]
<chaker> teozkr: I changed the versoin to 0.13.15 but I got the same error as in https://github.com/teozkr/Sbtix/issues/16
jrolfs_ has joined #nixos
<chaker> Hmm, I see in the stack trace that sbtVersion=1.0 even though I have sbt.version=0.13.15 in my build.prop
jrolfs__ has joined #nixos
Itkovian has joined #nixos
theseriousadult has quit [Quit: Leaving]
freeman42x[NixOS has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #34245: addPassthru: fix argument order (master...addPassthru) https://git.io/vN6lH
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33718: clipster: 1.4.1 -> 1.5.0 (master...clipster) https://git.io/vNOUr
NixOS_GitHub has left #nixos [#nixos]
yann-kaelig has joined #nixos
<tilpner> Huh, I thought the builder was called like a normal executable... it appears to be just sourced
jrolfs_ has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 240 seconds]
swayf has joined #nixos
quam6246 has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
<i-am-the-slime> Does anybody know how I can make the "save password" feature of IntelliJ work?
<i-am-the-slime> Actually: Data GRIP
<teozkr> chaker: it should be project/build.properties
<i-am-the-slime> I am using kde. Do I need something like kdewallet?
quam6246 has quit [Ping timeout: 268 seconds]
<tilpner> sphalerite - This is surprisingly hard to use :s
<sphalerite> :(
<sphalerite> tilpner: maybe jq could be helpful?
<infinisil> tilpner: you could also just use a file to pass stuff
<tilpner> sphalerite - I want a non-bash builder, and I can't pick the executable from PATH because PATH=/path-not-set, because stdenv="", because __structuredAttrs=true disables passing as normal arguments
<LnL> tilpner: it is, $stdenv/setup is sourced
<tilpner> LnL - I don't think $stdenv is a thing with __structuredAttrs
<tilpner> (But I'm probably wrong)
<sphalerite> tilpner: yeah I don't think nixpkgs is currently equipped to handle __structuredAttrs at all
<tilpner> I could write a JSON parser in bash (!!!) so that I can find stdenv with .attrs.json, so that I can locate the executable I want to re-exec myself with
<tilpner> But that sounds like a lot of pain
<infinisil> tilpner: as said by sphalerite, use jq!
<tilpner> How would I find jq? My PATH=/path-not-set
<infinisil> ${pkgs.jq}/bin/jq
<sphalerite> ^
<tilpner> The builder isn't embedded into the Nix file
<infinisil> or `export PATH="${pkgs.jq}/bin/jq:$PATH"`
<tilpner> Then I need a two-stage builder with the first part coming from inside my .nix, executing the second :/
<tilpner> I think I'll just reconsider what I'm doing and go the boring route, even if it sucks too
hamishmack_ has joined #nixos
hamishmack has quit [Ping timeout: 240 seconds]
hamishmack_ is now known as hamishmack
<tilpner> Sorry for the confusion :s
<chaker> teozkr: Yeah I was being lazy. So the issue was that I modified the wrong application, sorry. So if I want to use another version than 0.13.15 I need to override https://github.com/teozkr/Sbtix/blob/master/plugin/nix-exprs/manual-repo.nix with the correct list of deps needed by sbt compiler?
<chaker> Does sbtix provide a way to generate those from the version?
i-am-the-slime has quit [Ping timeout: 256 seconds]
tmaekawa has joined #nixos
quam6246 has joined #nixos
<yann-kaelig> elo nixos world. I will test nixos in a vm for its package system. Unfortunately because of the choice of the init I do not think to install it as an operating system for the moment. I understood that there was a desire to move to another init. I'm using runit currently that works well, but it would be interesting to take a look at S6 http://www.skarnet.org/software/s6/why.html
<tilpner> yann-kaelig - GuixSD might be your best bet for a Nix-ish OS without systemd in the reasonably near future
<teozkr> chaker: pretty much, yeah
<yann-kaelig> yes but this OS is not ready for production purpose and lack a lot of drivers/firmware for my purpose
<teozkr> and rebuild it for the new SBT version
sigmundv_ has joined #nixos
jrolfs_ has joined #nixos
<teozkr> there is currently no way to generate it automatically; that file exists to plug the holes of the automatic discovery
<teozkr> if it was perfect then there wouldn't be any manual-repo.nix to begin with :P
quam6246 has quit [Ping timeout: 240 seconds]
Guest94608 has joined #nixos
<steveeJ> any idea why zsh won't use my theme set in ~/.zshrc?
<steveeJ> it works when I manually put it in the environment in a manual zsh invocation, e.g. ZSH_THEME="dst" zsh
nuncanada has quit [Quit: Leaving]
nuncanada has joined #nixos
<tilpner> Make sure your .zshrc is being executed, e.g. by inserting an "echo foo" somewhere
<tilpner> Then check the output of "echo $ZSH_THEME"
<chaker> teozkr: Haha, make sense, thanks a lot for the work ;).
<teozkr> chaker: no problem
<garbas> gchristensen: pong
<infinisil> steveeJ: you can use `zsh -o sourcetrace` to see what files it sources
<steveeJ> tilpner: it's executed. seems like it's reset afterwards
<steveeJ> indefini: thanks! just my aliases and zlogin file though
<infinisil> steveeJ: you could ask #zsh, lot's of people there
chaker has quit [Ping timeout: 276 seconds]
<steveeJ> I'm quite certain it's nixos related
<tilpner> Wait, you said it was executed but sourcetrace didn't list it?
<steveeJ> weird enough, running "prompt" yields command not found :-D where is thing binary
<ij> Why don't I get terraform in $PATH in the shell created by "nix-shell -E '(import <nixpkgs> {}).terraform_0_11'"?
jrolfs__ has joined #nixos
spear2 has quit [Remote host closed the connection]
<steveeJ> ij: it only pulls in the dependencies of terraform
<steveeJ> ij: try nix-shell -E 'with import <nixpkgs> { }; runCommand "dummy" { buildInputs = [ terraform_0_11 ]; } ""'
<tilpner> nix-shell -p terraform_0_11
LnL has quit [Ping timeout: 252 seconds]
<ij> Yeah, but I want a shell.nix, so I need the code. :P
tmaekawa has quit [Ping timeout: 240 seconds]
<steveeJ> ij: nix-shell is meant to provide development environments for the derivation you pass to it. this means the packages you want to use within the nix-shell need to be dependencies e.g. buildInputs of that derivation
<infinisil> and the -p argument does that for your ease of use
<infinisil> and if you didn't know, -p takes any nix: `nix-shell -p 'with import <nixpkgs> {}; hello'`
fuyuuri has joined #nixos
ryanartecona has joined #nixos
<infinisil> Alright what the hell, I keep changing the hash of a derivation because it keeps complaining everytime
<infinisil> hash X, expected Y, changing it to Y, expected Z, changing it to Z, ...
ryanartecona has quit [Ping timeout: 260 seconds]
<tilpner> infinisil - Have a result out-link in your src?
<infinisil> there is no src, it's a fetchFromGitHub
<infinisil> with a postFetch
<tilpner> Paste?
jrolfs_ has quit [Ping timeout: 240 seconds]
<infinisil> looooooooool
<infinisil> I'm just really stupid ignore me
<infinisil> Wait maybe not
* infinisil tries once more
ma27 has joined #nixos
zzamboni has quit [Quit: Leaving.]
ma27 has quit [Client Quit]
<ij> I managed to add nix-shell's ENVs to a zsh shell with direnv. \o/
LnL has joined #nixos
ma27 has joined #nixos
jrolfs_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
chaker has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to release-17.09: https://git.io/vNiIM
<NixOS_GitHub> nixpkgs/release-17.09 9c96edf Vladimír Čunát: Merge #34205: rust: disable a test to fix build...
<NixOS_GitHub> nixpkgs/release-17.09 563e39f Daiderd Jordan: rustc: disable stack test with glibc...
NixOS_GitHub has left #nixos [#nixos]
<infinisil> Alright, am not stupid, this is really happening, getting a different hash everytime
<joepie91> infinisil: compilation timestamp issue?
<infinisil> ohh.. that could be a reason
<infinisil> is there a function to reset timestamps in nixpkgs?
rauno has quit [Ping timeout: 246 seconds]
<tilpner> I thought that was taken care of by the generic builder
<tilpner> I never had to be careful about that
<tilpner> But then again, I don't usually --check my things
jrolfs__ has quit [Ping timeout: 240 seconds]
<infinisil> :o it worked now
<tilpner> What did you change?
<infinisil> the hash lol
<infinisil> 0nggm... is the one that works (for now)
<infinisil> Ima run some --checks
<LnL> fetchSubmodules isn't stable for hashes
Shados has quit [Ping timeout: 246 seconds]
<LnL> if upstream pushes to a bunch you'll get a different hash
mujx[m] has left #nixos ["User left"]
<chaker> teozkr: It seems that the version change worked. However I now have an error in getting one of the project dependencies "unresolved dependency: org.scala-lang.modules#scala-xml_2.10;1.0.6" . Eventhough I rerun sbtix-gen-all2
<infinisil> LnL: Why though? Don't submodules specify the exact revision?
<LnL> you need .git for submodules to work
Fannar has joined #nixos
Fannar has quit [Client Quit]
<infinisil> o
<infinisil> oh
<infinisil> well that sucks
cinimod has joined #nixos
<teozkr> chaker: when building sbtix?
Shados has joined #nixos
<chaker> No, when building my application
<chaker> using sbtix
<teozkr> oh
<tilpner> LnL - You need to fetch .git, but you don't need to keep it, right?
<teozkr> so rebuilding and reinstalling sbtix worked?
<chaker> Yep sbtix works fine
<teozkr> hmm
<teozkr> you could try adding it to manual-repo I suppose
<infinisil> tilpner: but it needs to be fetched, so a fixed output derivation is required
<LnL> tilpner: could be misremembering but I think fetchSubmodules implies that
<teozkr> chaker: that said.. is the error when building the project definition, or when building your code?
<tilpner> infinisil - But the output doesn't change, even if .git is unstable, because you can delete .git after checking out submodules, right?
<tilpner> infinisil - Only keepDotGit would be bad
<infinisil> tilpner: ah right, never mind my last msg
ma27 has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] erictapen closed pull request #34222: rustc: adjust broken test src/test/run-pass/out-of-stack.rs (release-17.09...34189-rustc-fix) https://git.io/vNo9H
NixOS_GitHub has left #nixos [#nixos]
<chaker> teozkr: Will do. BTW the error that I encountered eariler was while using sbtix-gen-all2 not while building sbtix. In fact I build sbtix yesterday using "nix-env -f . -i sbtix" and it worked without any problem.
<chaker>
<chaker> When building the code
<chaker> The generation of the nix files with sbtix finished without any problems
<LnL> infinisil: tilpner: I was thinking of deepClone
rauno has joined #nixos
<teozkr> yeah, that makes sense, since sbtix is pegged
<teozkr> the problem is when it doesn't find all the dependencies available
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #34250: sensu-check-wmiplus: init at 1.63 (master...p/wmi) https://git.io/vNitZ
NixOS_GitHub has left #nixos [#nixos]
hyphon81 has joined #nixos
<tilpner> LnL - So you agree that leaveDotGit = false; fetchSubmodules = true; (fetchgit default) should be stable?
<chaker> I will try to add it manually. I hope it's the only library missing.
ixxie has joined #nixos
<cinimod> I have
<cinimod> And I have
<cinimod> How do I combine these? Alternatively wha part of which manual / tutorial should I read?
<chaker> teozkr: The weird thing though that the dependency exist in repo.nix "scala-xml_2.12/1.0.6/scala-xml_2.12-1.0.6.pm"
<chaker> s/pm/pom
<teozkr> chaker: that's scala-xml_2.12, your earlier error mentioned scala-xml_2.10
<teozkr> so same library but built against different Scala versions
<teozkr> that said.. might be because you didn't change the project back to 1.x?
<hyphon81> Yeah.
<hyphon81> I succeeded to build Azure VM with NixOps.
<teozkr> not sure why else you'd have a 2.10 dependency
<LnL> tilpner: yes
jrolfs__ has joined #nixos
<cinimod> Done it :)
Ineff has joined #nixos
fuyuuri has quit [Ping timeout: 248 seconds]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
<hyphon81> It needs fixing NixOps's code and some confusable Azure settings.
jrolfs_ has quit [Ping timeout: 268 seconds]
jrolfs_ has joined #nixos
thetet has joined #nixos
leat1 has quit [Ping timeout: 246 seconds]
Guest94608 has quit [Changing host]
Guest94608 has joined #nixos
Guest94608 is now known as TweyII
leat1 has joined #nixos
Ineff has quit [Ping timeout: 260 seconds]
<TweyII> I have a project that has a Nix derivation to build it. How do I make sure the system's OpenGL implementation is visible to the builder?
<TweyII> (on NixOS and also non-NixOS)
betaboon has joined #nixos
tazjin has joined #nixos
xcmw has joined #nixos
ThatDocsLady has joined #nixos
iqubic has quit [Ping timeout: 252 seconds]
raynold has quit [Quit: Connection closed for inactivity]
dkao has quit [Ping timeout: 240 seconds]
ixxie has quit [Quit: Lost terminal]
<avn> TweyII: you want use soft-renderer during build process?
ayyjayess[m] has joined #nixos
<TweyII> avn: No, I want to link against the system OpenGL, whatever that may be
<TweyII> avn: On NixOS everything gets LD_LIBRARY_PATH=/run/opengl-driver/lib, but that doesn't exist on other systems
<avn> TweyII: you need link against mesa_nonglu at the moment
iyzsong has joined #nixos
<avn> TweyII: /run/opengl-driver intended only for run-time subverting of drivers with blobs (if you use any)
jrolfs__ has quit [Ping timeout: 268 seconds]
<TweyII> avn: Ah, so the way we do it is to link against mesa, and then override?
<avn> Yes, at least for now
<TweyII> Okay, thanks
oida has quit [Quit: WeeChat 1.6]
coot has joined #nixos
oida has joined #nixos
goibhniu has quit [Ping timeout: 260 seconds]
adamt has quit [Ping timeout: 240 seconds]
<betaboon> hello #nixos. I'm back from my nixops+overlay+privateGitRepos odyssee. just ran into fetchFromGitHub(private=true) not supporting fetchSubmodules. has anyone gotten fetchgitPrivate to work with nixops on multiuser-nix-installations ?
ma27 has joined #nixos
adamt has joined #nixos
<yann-kaelig> the chapter about per package cflags has been removed ?
hyphon81 has quit [Quit: Konversation terminated!]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs__ has joined #nixos
i-am-the-slime has joined #nixos
jrolfs__ has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos
bkchr has quit [Remote host closed the connection]
astsmtl has quit [Ping timeout: 240 seconds]
glenn_ has joined #nixos
bkchr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #34252: hplip: Fixes runtime errors (master...hplip_fixes) https://git.io/vNicb
NixOS_GitHub has left #nixos [#nixos]
yann-kaelig has left #nixos [#nixos]
Drakonis has joined #nixos
insdami has joined #nixos
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nixos
johnsonav has quit [Ping timeout: 240 seconds]
Rusty1_ has joined #nixos
<insdami> Hi there, I'm having a problem installing grub loader. My configuration.nix is quite simple so I'm not sure what I'm doing wrong
i-am-the-slime has quit [Ping timeout: 252 seconds]
zzamboni has joined #nixos
adamt has quit [Remote host closed the connection]
<Dezgeg> you didn't create a BIOS Boot Partition
<samueldr> insdami: your computer seems to have been booter using legacy-boot, non-uefi boot and your disk seems to be partitionned with GPT
<samueldr> and then, as Dezgeg said, grub will need a small partition to embed itself in to work in those conditions
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging f83b6e1 Shea Levy: unpackPhase: Handle sources starting with a hyphen
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to staging: https://git.io/vNiW1
<insdami> Cool, I'll try with bios boot. Thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #34247: unpackPhase: Handle sources starting with a hyphen (staging...default-unpack-hyphenated-names) https://git.io/vN6ye
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
jdrowell has joined #nixos
insdami has quit [Quit: Page closed]
zzamboni has joined #nixos
chaker has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #34254: gthumb: 3.5.3 -> 3.6.0 (master...update/gthumb-3.6.0) https://git.io/vNilE
NixOS_GitHub has left #nixos [#nixos]
jtojnar has joined #nixos
alexteves has joined #nixos
<kreetx> is there a way to get an explicit list of installed packages? (i.e which I've nix-env -i'ed)
<sphalerite> kreetx: nix-env -q
glenn_ has quit [Ping timeout: 276 seconds]
<kreetx> sphalerite: ah, perfect!
<sphalerite> I've set up a bunch of computers to netboot nixos, which is really cool and works nicely, but I'd like to be able to SSH into them more easily. I've added `Host 10.123.0.*\n\tUserKnownHostsFile /dev/null` to my SSH config so it doesn't try to remember the keys which are regenerated on every boot, but now I still need to type "yes" every time I want to SSH into one of the machines.
vidbina has quit [Ping timeout: 248 seconds]
xcmw has joined #nixos
vidbina has joined #nixos
<sphalerite> Does anyone have a nice way to manage this sort of thing?
glenn_ has joined #nixos
<sphalerite> I suppose I could deploy fixed SSH host keys as part of the netboot image but that doesn't seem so nice
<nahamu> Find a way to have the netbooted machines send their new public key to a service that puts them into DNS?
nschoe has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
<nahamu> There's all sorts of security issues with that idea too, though.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vNi4c
<NixOS_GitHub> nixpkgs/master 3391266 Tim Steinbach: linux-copperhead: 4.14.14.a -> 4.14.15.a
NixOS_GitHub has left #nixos [#nixos]
glenn_ has quit [Ping timeout: 252 seconds]
jrolfs__ has joined #nixos
<sphalerite> nahamu: currently I'm trusting them every time I log into the machines too, so…
<sphalerite> I suppose the real solution here would be to store the keys in a TPM
<nahamu> That would be very elegant, yes.
<infinisil> sphalerite: keys being regenerated on every boot? Why that?
<sphalerite> but A, most of the machines don't have one, and B, I wouldn't know how to configure sshd for that :(
<sphalerite> infinisil: netboot
<nahamu> Is there any local storage on these machines?
<sphalerite> nahamu: some but not all
<nahamu> Also, how are you building your netboot environment? I've been playing with that sort of thing again lately myself.
dza_ has joined #nixos
rauno has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<the-kenny> You could generate the ssh-key deterministically somehow from the cpuid or something. Or maybe just disable hostkeychecking on the connecting party? (security issues aside here))
<infinisil> that doesn't seem very secure
<sphalerite> the-kenny: there's no option for disabling host key checking AFAIK. As I mentioned earlier I'm using UserKnownHostsFile=/dev/null so it always allows me to connect, but I don't think I can disable the prompt
<sphalerite> the-kenny: and that isn't really much more secure either since, well, it's deterministic :)
<the-kenny> Don't share your cpuid then :o) You're right, of course
<nahamu> !! I think that's the code that I built the first iteration of. I'm so happy to know that it's working for other people!
<Dezgeg> I have '-o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error' in some of my scripts
<sphalerite> also: with a bit of hacking (because it doesn't have a standard PXE ROM, it's missing UNDI) nixos netboots even on a machine from 1997 or so!
<nahamu> (And I'm glad it's been improved by people who know what they're doing when writing Nix code.)
<sphalerite> Dezgeg: ooh, that sounds roughly like what I want
<sphalerite> nahamu: so you wrote the bit that builds config.system.build.netbootRamdisk?
<nahamu> The first iteration of it, yeah.
el_putin has joined #nixos
<sphalerite> neat
<nahamu> As you can see it has been improved since.
la_putin has quit [Read error: Connection reset by peer]
<gchristensen> nahamu: your code has been well used by me, thank you a lot :)
<gchristensen> nahamu: Packet.net's NixOS deployment tools use it, as does https://github.com/nix-community/aarch64-build-box
<nahamu> gchristensen: do you work with mmlb?
<sphalerite> no major changes though, it's still essentially the same
<gchristensen> manny? I don't actually _work_ with him, but we chat :) I don't work for Packet. manny is great!
<nahamu> I've been playing around in a sandbox over at https://github.com/nshalman/nixpkgs/tree/ceranaos-nahum on the code that I built on top of all that.
<nahamu> Yeah, Manny was on the Cerana project with me before it folded.
<gchristensen> small world :)
ixxie has joined #nixos
<sphalerite> what is/was cerana?
<nahamu> We were building a Linux distro inspired by SmartOS, and we were building a bunch of little APIs on top meant for building compute clusters.
<sphalerite> oh, neat
<nahamu> Similar in some ways to e.g. Kubernetes, but with ZFS support as a main feature.
<nahamu> It was a fun project, and when I started the build system was painful so I switched it over to build on top of NixOS.
<sphalerite> about the netboot: one thing I'd like to do is to make a 2-stage boot that would allow a smaller initrd
<sphalerite> because currently it takes quite a while to download it
<gchristensen> sphalerite: you're not actually using PXE are you..? surely you're using iPXE
iyzsong has quit [Ping timeout: 240 seconds]
<nahamu> +1 for iPXE.
<sphalerite> gchristensen: PXE -> GRUB -> boot
<nahamu> Yeah, get iPXE in there.
<gchristensen> get yourself an iPXE trampoline :)
<sphalerite> I do intend to put iPXE in between the vendor PXE or just replace GRUB with it completely
<nahamu> PXE -> iPXE -> boot, or add grub in there too if necessart.
<sphalerite> yeah
thetet has quit [Quit: Leaving.]
dza_ has quit [Quit: Page closed]
<nahamu> that would be the easy way to make a two stage boot. :)
jrolfs_ has quit [Ping timeout: 240 seconds]
<nahamu> rather than use a Linux kernel to download a second stage, just use iPXE.
labalella has joined #nixos
<sphalerite> right but we still need an initrd somewhere, no?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #34255: vkquake: init at 0.97.3 (master...vkquake) https://git.io/vNiRR
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> oh, oh, I see. I think
<gchristensen> well if you're right now downloading an initrd over tftp, this is why it is so slow
<sphalerite> but using linux for the whole boot process would be cool! :P
<labalella> has anyone by chance already tried running nixops with the new Hetzner Cloud? It looks like it is basically the old v-server thing with a new Web UI...
<gchristensen> going to ipxe gets you to a decent protocol super fast, which then gets you a reasonably fast initrd download time
<sphalerite> so it would download faster over other protocols? TIL
<gchristensen> TFTP is a _terrible_ protocol :D it is basically cappped at a few kbps maximum throughput
* etu once (many years ago) booted live CD's over PXE with tftp. That was very slow.
<sphalerite> :o
<sphalerite> well then!
<etu> We had it in our company network to make it easy for IT people to set up new machines and as well we had some liveiso that could do password resets of windows machines :p
jrolfs_ has joined #nixos
<sphalerite> I'll probably also need to work out how to use ISC dhcpd, because I'm not sure dnsmasq supports that more advanced stuff
<sphalerite> hehe
evangeline has joined #nixos
<evangeline> Hi, I've stumbled upon the following error when rebuilding the upgrading the system: http://dpaste.com/10TX0ZJ - is there any fix currently for this? I've seen https://github.com/NixOS/nixpkgs/issues/23282, but they're trying to fix some other issues as well, however no fix to apply at this stage to make the compilation pass.
glenn_ has joined #nixos
goibhniu has joined #nixos
<infinisil> evangeline: known issue: https://github.com/NixOS/nixpkgs/issues/34189
jaeckel has quit [Ping timeout: 255 seconds]
<nahamu> Back to SSH keys for a moment. If reboots are fairly infrequent, you can use ssh-keyscan to build/update a known-hosts file that you place where people can use it.
<nahamu> You can definely use dnsmasq to chain from PXE to iPXE.
fuyuuri has joined #nixos
glenn_ has quit [Ping timeout: 252 seconds]
<gchristensen> nahamu: is this w.r.t. the aarch box?
ssmike has quit [Remote host closed the connection]
<nahamu> This was sphalerite talking about switching to use iPXE.
reinzelmann has quit [Quit: Leaving]
ssmike has joined #nixos
zzamboni has quit [Quit: Leaving.]
<sphalerite> right I'll probably stick with it then, since it's easy
glenn_ has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
silver has joined #nixos
coot has quit [Quit: coot]
aarvar has joined #nixos
<sphalerite> uh… apparently the DHCP packets sent by iPXE on the really old machine are malformed
magnetophon has joined #nixos
<nahamu> huh?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1815: Fix restricted mode when installing in non-canonical data dir (master...data-dir-non-canon) https://git.io/vNiEH
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> my best guess is that it's trying to use UNDI, which the stock PXE ROM doesn't support
i-am-the-slime has joined #nixos
<sphalerite> ^ dump including the packets in question
glenn_ has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vNiuX
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 7fc2b09 Jan Tojnar: Merge branch 'update/gthumb-3.6.0'
<NixOS_GitHub> nixpkgs/master 3f88d9d Miguel Madrid Mencía: gthumb: 3.5.3 -> 3.6.0
<nahamu> Ah, yeah, you could try using a full-blown iPXE instead of the undionly version.
glenn_ has joined #nixos
<sphalerite> I'm using a card-specific image
<sphalerite> 10b79055.kpxe
<joko> It's funny, today I was experimenting with network boot, too... I found out that NixOS minimal netboot wants at least 1GB of RAM and dnsmasq is really stupid
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #34254: gthumb: 3.5.3 -> 3.6.0 (master...update/gthumb-3.6.0) https://git.io/vNilE
NixOS_GitHub has left #nixos [#nixos]
ThatDocsLady has quit [Ping timeout: 248 seconds]
xcmw has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
<sphalerite> joko: netboot is working fine, albeit slowly, on a machine with 768MB for me
<sphalerite> what's dnsmasq doing stupidly?
<joko> sphalerite: with 512 it doesn't, it says booting and that's it
<joko> well, I had clever's netboot server setup in mind, but my employer wanted dnsmasq and I could not tag properly ipxe, so that I pass undionly.kpxe and move to proper ipxe
glenn_ has quit [Ping timeout: 252 seconds]
jrolfs_ has quit [Ping timeout: 260 seconds]
<nahamu> sphalerite: that's quite odd...
labalella has quit [Ping timeout: 260 seconds]
<joko> Is anyone aware of losing UDP packets over virtual networks (ovs bridges)
<nahamu> joko: yeah, I never found the time to try to heavily trim down the image. It's possible clever use of squashfs or something might be able to shrink the memory requirements.
dan_b has quit [Ping timeout: 240 seconds]
<nahamu> My target was always RAM-rich machines.
<simpson> joko: Yes, I've witnessed UDP packet loss over pretty much every kind of link I've worked with. No idea about OVS, but yes, UDP packet loss is real.
MercurialAlchemi has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1816: Add addPath primop. (master...add-path) https://git.io/vNig5
NixOS_GitHub has left #nixos [#nixos]
lsix has joined #nixos
<joko> Any idea what could go wrong with netbooting? dnsmasq reports trying to give an IP, but the VM does not boot
<sphalerite> nahamu: I think it already uses squashfs?
<hyper_ch> home server is working hard shuffling data around...
<sphalerite> joko: a packet dump might be helpful
<nahamu> Yeah, I don't remember all the gory details anymore.
glenn_ has joined #nixos
jaeckel has joined #nixos
orivej has joined #nixos
xcmw has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #34256: curl: 7.57.0 -> 7.58.0 (master...u/curl) https://git.io/vNiwu
NixOS_GitHub has left #nixos [#nixos]
<pmeunier> Hi! Is there a way to force the reevaluation of a set after //. For instance, in `(rec { a = 1; b = a+1; }) // { a = 2; }`, b = 2, but I'd like it to be 3.
glenn_ has quit [Ping timeout: 252 seconds]
cement has joined #nixos
jrolfs__ has joined #nixos
erasmas has joined #nixos
glenn_ has joined #nixos
<fearlessKim[m]> gnome folks don't seem to know why file associations are so fucked up, nautilus wants to open everything with my pdf reader. I have a my mime-types configured ok. I believe as I use i3, I need to run some gtk utility in the background, any idea ?
<fearlessKim[m]> pmeunier: doesn't it depend when you call b ? it should be 3 if it's evaluated after the //
<pmeunier> fealressKim[m]: right, so that's why I'd like to know how the evaluation order works, in my tests it's 2.
<gchristensen> no, it doesn't because the + is evaluated before the //
jrolfs_ has joined #nixos
zzamboni has joined #nixos
<pmeunier> gchristensen: do you mean "//" wants strict arguments?
leat1 has quit [Quit: WeeChat 1.9.1]
<gchristensen> I don't know enough about what these things mean to give you intelligent answers, I just have an intuitive understanding of it
<pmeunier> ok, thanks
swayf has quit [Remote host closed the connection]
<gchristensen> you'd need a fixed point to do what you want
<LnL> pmeunier: let self = { a = 1; b = self.a; } // { a = 2; }; in self
swayf has joined #nixos
<pmeunier> LnL: wow, that means recursive sets and recursive let don't have the same evaluation order?
<LnL> no the scope is different
<LnL> the // operator doesn't mutate the original set, a doesn't exist in the scope of rec
coot has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
<LnL> pmeunier: the rec example is equivalent to let self = { a = 1; b = self.a; }; in self // { a = 2; }
fuyuuri has quit [Ping timeout: 252 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 240 seconds]
betaboon has quit [Quit: WeeChat 1.9.1]
manjaro-user has joined #nixos
Sonarpulse has joined #nixos
<manjaro-user> Hi. Does anyone know if it is possible to install the stable version (the mozilla standard) in NIxOS, instead of Nightly?
ma27 has quit [Ping timeout: 240 seconds]
<Yaniel> the `firefox` package *is* the latest stable release
glenn_ has quit [Ping timeout: 276 seconds]
<Yaniel> it just doesn't have the "Mozilla Firefox" branding (icons etc) for copyright reasons
jb55 has quit [Ping timeout: 248 seconds]
<Yaniel> oh also it is built without some of the healthreport stuff I think
<manjaro-user> So nightly is just a name, it's actually the stable version of mozilla. It is not the true nightly version (developer).
<Yaniel> yes. check the "About Nightly" dialog to check what version it actually is
<Yaniel> "57.0.4 (64-bit)" is what it says here
glenn_ has joined #nixos
<etu> manjaro-user: If you want the mozilla branding, use firefox-bin package instead
<manjaro-user> Thanks.
vidbina has quit [Ping timeout: 240 seconds]
swayf has quit [Ping timeout: 265 seconds]
* Yaniel wonders how hard it would be to provide variants of the firefox package that track the beta and nightly release channels
<gchristensen> Yaniel: better use the mozilla overlay for that
<Yaniel> oh right, that's a thing too
alex`` has joined #nixos
i-am-the-slime has quit [Ping timeout: 240 seconds]
jaeckel has quit [Remote host closed the connection]
<manjaro-user> etu: I tried to install firefox-bin, but I could not. Do I have to disable non-free packages? I do not understand well how to do the installation?
<Yaniel> you have to *allow* non-free packages
<Yaniel> nixpkgs.config.allowUnfree = true;
jrolfs__ has quit [Ping timeout: 240 seconds]
glenn_ has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] psychon opened pull request #34259: awesome: Remove $LD_LIBRARY_PATH handling (staging...awesome-cleanup) https://git.io/vNiP2
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
patron has joined #nixos
glenn_ has joined #nixos
johnsonav has joined #nixos
orivej has joined #nixos
taktoa has quit [Read error: Connection reset by peer]
glenn_ has quit [Ping timeout: 240 seconds]
glenn_ has joined #nixos
jrolfs_ has quit [Ping timeout: 276 seconds]
<manjaro-user> Yaniel: That option I have enabled in configuration, nix for the entire system. I also have it in my user file config.nix: allowUnfree = true; It does not appear to me available with nix-env -qaP. Do I have to uninstall Nightly?
taktoa has joined #nixos
jaeckel has joined #nixos
mint has joined #nixos
alex`` has quit [Quit: WeeChat 1.9]
jrolfs_ has joined #nixos
lonokhov has quit [Quit: Lost terminal]
nschoe has quit [Quit: Program. Terminated.]
leat has joined #nixos
alex`` has joined #nixos
<steveeJ> isn't it dangerous to publish a config that contains hashed passwords for users? IIUC it contains the salt within the hash string
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
<maurer> steveeJ: It's brute forceable, but not rainbowable
<maurer> So it's not a _good_ idea, but you'd not nesc. immediately hosed
Synthetica has joined #nixos
<infinisil> yeah saw that xD
<Synthetica> Is there a way to list the channels root is using without actually using `sudo nix-channels --list`?
jrolfs__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andsild opened pull request #34260: Add vim plugins (master...add_vim_plugins) https://git.io/vNiyz
NixOS_GitHub has left #nixos [#nixos]
<steveeJ> maurer: thanks, that's my understanding too. something like ansible-vault for nix would be a good start for managing secrets, but I know that there's an RFC for this topic
drakonis_ has joined #nixos
<manjaro-user> Synthetica: You cuold take a look in the /etc/nixOS/config.nix Look at the end of file.
<Synthetica> ` system.stateVersion = "17.09";`?
hotfuzz_ has quit [Read error: Connection reset by peer]
<Synthetica> Because I was looking for the exact revision, not just the general channel name (sorry for not specifying that in the first place)
hotfuzz_ has joined #nixos
glenn_ has quit [Read error: Connection timed out]
Drakonis has quit [Ping timeout: 240 seconds]
<LnL> Synthetica: kind of, nix-env -p /nix/var/nix/profiles/per-user/root/channels -q
<Synthetica> Cool, that works
<Synthetica> Thanks :)
<infinisil> Synthetica: actually, there is ~/.nix-channels
<infinisil> which is where nix-channel saves the stuff to
<LnL> well yes, but you can't read that file because it's owned by root
zzamboni has joined #nixos
<infinisil> Ah yeah, not possible to get the nix-channel --list output without root though
ambro718 has joined #nixos
mint has quit [Ping timeout: 256 seconds]
<infinisil> hmm, this seems kinda weird tbh, why can any user read any other users channels?
endformationage has joined #nixos
<infinisil> i mean yeah, file permissions and stuff, but that seems insecure
fuyuuri has joined #nixos
<LnL> the store is world readable, you can see every user's profile
<infinisil> hmm right, but /nix/var doesn't have to be
manjaro-user has quit [Ping timeout: 240 seconds]
<infinisil> /nix/var/nix/profiles/per-user/* could be 600
glenn_ has joined #nixos
<LnL> the per-user dir has a sticky bit so a user could change it
<LnL> but root should be readable by everybody otherwise the default NIX_PATH won't work
zzamboni has quit [Quit: Leaving.]
<infinisil> LnL: hmm i see, well that's a bit better
kier has quit [Quit: No Ping reply in 180 seconds.]
<infinisil> But the root channel should be readable by everyone because it's the default feels like a design mistake
<infinisil> there's no reason for root to specify a default channel
glenn_ has quit [Ping timeout: 252 seconds]
<LnL> well it's pretty convenient otherwise every new user would start out with a broken NIX_PATH
jrolfs_ has quit [Ping timeout: 260 seconds]
kier has joined #nixos
hyphon81 has joined #nixos
glenn_ has joined #nixos
Tucky has quit [Ping timeout: 240 seconds]
<infinisil> Thinking about it, yeah, makes sense, not worth a different implementation of a default when you can't have proper permissions anyways in the end (because /nix/store)
swayf has joined #nixos
<Baughn> So... while playing with nixops, I produced a situation where the newest grub boot entry corresponds to a system config that was garbage-collected.
<Baughn> That's not supposed to be possible, is it?
gspia has quit [Quit: Leaving]
knupfer has joined #nixos
<symphorien> on nixos, you can't garbage collect boot and current configuration, no idea for nixops though
<gchristensen> that ... could bee possible, if rollbacks aren't enabled in nixops, you create a new generation that you don't switch to (or rolled back from switching to, but it wasn't booted to)
<gchristensen> and then deleted the generation without running nixops' version of nixos-rebuild
<Baughn> Rollbacks are enabled, but I didn't use them.
manjaro-user has joined #nixos
raynold has joined #nixos
<Baughn> But something like that may still have happened. I've been experimenting with putting ssh in initrd, and I was adding a host key using nixops' secret system.
bkchr has quit [Quit: Konversation terminated!]
glenn_ has quit [Ping timeout: 252 seconds]
<Baughn> At one point the path reference was wrong, so I got a bootloader entry that couldn't be successfully completed. That got troublesome, as simply commenting out the path didn't actually make further builds work -- it kept trying to complete the older entries, and failing.
<Baughn> I fixed *that* using nix-collect-garbage -d.
swayf has quit [Ping timeout: 265 seconds]
cement has quit [Ping timeout: 276 seconds]
<Baughn> That's impurity... but the host key explicitly is never put in the store, so I imagine it's copied as part of the activation script.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #34261: dep: 0.4.0 -> 0.4.1 (master...update-godep-fix) https://git.io/vNiQ0
NixOS_GitHub has left #nixos [#nixos]
* Baughn regularly attempts to find sharp edges he can cut himself with. ... That sounds bad.
gspia has joined #nixos
glenn_ has joined #nixos
cement has joined #nixos
alexteves has quit [Ping timeout: 264 seconds]
digitus has joined #nixos
jrolfs_ has joined #nixos
fiatjaf has joined #nixos
<hyphon81> Aren't there users Azure with NixOps? I couldn't access with username and password.
<fiatjaf> I'm a regular ubuntu user. should I switch to nix?
<Baughn> fiatjaf: Maybe.
<mog> fiatjaf, nixos is less polished then ubuntu, but the postive sides listed on the website are very true
<mog> i moved from debian a few years back and could not be happier
<mog> especially as a developer
<hyphon81> I could access with other credeitial. However, username and password is now well.
<mog> my machine never gets crufty anymore
<mog> so if i have to install 400 random deps i know my machine will still work tomorrow
<Yaniel> fiatjaf: are you using a lot of less common packages? and do you mind having to potentially package something yourself?
<Baughn> NixOS is indestructible, yes.
<infinisil> fiatjaf: Tbh, nixos is currently totally not as nice and easy to use as ubuntu, and for the average ubuntu user i would not recommend nixos unless he really wants to get into it
<infinisil> you'll have to learn a lot to not be frustrated with nixos
<Baughn> I used to keep switching between distros once per year or so, whenever I ruined the old installation. That never happens anymore.
<hyphon81> And accessing with username and password is not recommended method.
<mog> yup not to mention moving to a new pc was just copying my config over
<infinisil> Baughn: hah nice. NixOS happens to be my first distro (macOS before) so I got around all that business
<hyphon81> I think, nobody use Azure with NixOps...
<Yaniel> I switched from arch after getting bored of restoring it when my tinkering or some update made it unbootable
<simpson> hyphon81: Whoever wrote the code uses it. I don't remember their nick.
<goibhniu> fiatjaf: NixOS can also be a nice option if you maintain computers for friends/family who don't maintain or install stuff themselves
<aminechikhaoui> catern: was it you who wrote at some point a utility to trace messages in and out of the nix-daemon ?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/cee2f856766 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [Client Quit]
jb55 has joined #nixos
<fiatjaf> mog: but does it use a lot of disk?
<fiatjaf> my computer is not the most powerful of all times available
<fiatjaf> Yaniel: what do you mean? like packages that are available on the ubuntu repositories? I only use the most common and famous ones. I normally compile things from source when that's not too hard.
<mog> fiatjaf, you can garbage collect
<mog> it doesnt use much more space than my debian distro did
<mog> and sometimes less
<catern> aminechikhaoui: yes, I am still writing it
alexteves has joined #nixos
<catern> aminechikhaoui: well, that part at least is done anyway. though it only works with the latest version of the nix-daemon at the moment
<Yaniel> fiatjaf: more obscure software in general
<catern> now I'm working on intercepting them and building things differently
<mog> because i never cleanup my debian machines
<mog> they just cruftier and cruftie
<infinisil> fiatjaf: you can check whether the packages you use are available on nixos here: https://nixos.org/nixos/packages.html
johnsonav has quit [Remote host closed the connection]
chisui has joined #nixos
glenn_ has quit [Ping timeout: 252 seconds]
<infinisil> And if you need some unpopular one that isn't packaged, you can either learn how to package stuff yourself or make a github issue request for it
<chisui> Hey, I'm currently trying to install nixOs for the first time from the graphical live iso. unfortunately the terminal doesn't work correctly. nano, clear, and reset do not work. The reason seems to be that the $TERM variable is set to xterm... and in the /run/.../share/terminfo dir there is only some strange x~nix~case~hack~1 dir
<Baughn> gchristensen: https://github.com/NixOS/nixpkgs/issues/34262 <- Best I've got.
<goibhniu> fiatjaf: it's worth mentioning that the list of packages there doesn't included unfree stuff such as steam and skype ... but they are available too
glenn_ has joined #nixos
<chisui> I could not find any infos on that case hack dir. If i set TERM to "dumb" I get rid of the errors but I would like to have an xterm like terminal.
<infinisil> goibhniu: good point
<Baughn> chisui: Easiest fix would be to ctrl-alt-f1 and use the vty.
yegortimoshenko has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos
<hyphon81> Can I break current Azure related NixOps's specification in a bit...?
<chisui> Baughn: The problems are still present
<Baughn> chisui: Try export TERM=linux
<chisui> Baughn: same
<hyphon81> I think, we shoudn't use username and password for accessing Azure with NixOps.
glenn_ has quit [Ping timeout: 240 seconds]
<Baughn> chisui: Not sure, then. I've never had that fail.
<chisui> Baughn: any terminal where there exist one of these "~nix~case~hack~1" for their first letter doesn't work
<chisui> Baughn: those are a, e, l, m, n, p, q and x
<Baughn> Wait, are you using a non-US keyboard?
<chisui> german
<Baughn> Hmm.
<chisui> but the layout is currently set to us
johnsonav has joined #nixos
<chisui> so default
<Baughn> Hmmmm.
<Baughn> ...but I'm stumped.
<aminechikhaoui> catern: could you share a gist at this point ? :)
stepcut has quit [Remote host closed the connection]
coot has quit [Quit: coot]
stepcut has joined #nixos
<infinisil> Rust package experts: I'm trying to build a package with buildRustPackage, but on the cargo build step it complains "error: the lock file needs to be updated but --frozen was passed to prevent this". What's up with that?
<infinisil> Specifically https://github.com/svenstaro/genact
glenn_ has joined #nixos
<tilpner> infinisil - Try carnix, I've had more success with that
<FRidh> configure: error:
<FRidh> The following requested languages could not be built: c++,lto
<FRidh> Supported languages are: c
<FRidh> builder for '/lab/epg_st_sandbox/ezriefr/testing/pc_nix_store/nix/store/5h1j3ag1x41j71qhysarsgynhx5k6hwz-gcc-6.4.0.drv' failed with exit code 1
<FRidh> building nix unstable at a custom location
stepcut has quit [Ping timeout: 240 seconds]
<FRidh> it's full of surprises
asuryawanshi has quit [Ping timeout: 240 seconds]
<infinisil> tilpner: I'm not sure how i feel about adding a 1000 line file generated by carnix just for 1 package
hotfuzz_ is now known as hotfuzz
asuryawanshi has joined #nixos
oida has quit [Quit: WeeChat 1.6]
<infinisil> Also there's almost no carnix rust packages in nixpkgs
<tilpner> :/
jrolfs__ has quit [Ping timeout: 268 seconds]
<infinisil> also the carnix build of it errors
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nixos
<catern> aminechikhaoui: do you want to actually try to use it? it's not really in a usable state
<catern> anyway sure I guess
<aminechikhaoui> catern: yeah fine with anything, just experimentation
<catern> aminechikhaoui: you won't really be able to experiment unless you tinker with it a lot :) mostly just looking :)
mk-fg has quit [Ping timeout: 256 seconds]
<catern> also it's filled with a lot of my notes
jrolfs__ has joined #nixos
<catern> anyway it's in the pystore branch on github.com/catern/nix
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
glenn_ has quit [Ping timeout: 246 seconds]
<aminechikhaoui> catern: ah ok thanks for sharing anyway :)
orivej has quit [Ping timeout: 240 seconds]
<Myrl-saki> What's the /usr/include equivalent?
<Myrl-saki> I want to generate tags files for my stdlib.
mk-fg has quit [Ping timeout: 240 seconds]
glenn_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
ambro718 has quit [Ping timeout: 268 seconds]
asuryawanshi has quit [Ping timeout: 240 seconds]
glenn_ has quit [Ping timeout: 252 seconds]
glenn_ has joined #nixos
jrolfs__ has quit [Ping timeout: 264 seconds]
<clever> Myrl-saki: your derivation will install to $out/include/ and the stdenv will add the include dir of every input to the gcc search path via $NIX_CFLAGS_COMPILE
asuryawanshi has joined #nixos
jrolfs__ has joined #nixos
cnidario has joined #nixos
<Myrl-saki> clever: Thanks.
glenn_ has quit [Ping timeout: 240 seconds]
mk-fg has joined #nixos
glenn_ has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
Jackneillll has joined #nixos
jrolfs__ has joined #nixos
alexteves has quit [Remote host closed the connection]
alexteves has joined #nixos
tmaekawa has joined #nixos
FRidh has quit [Ping timeout: 265 seconds]
Jackneilll has quit [Ping timeout: 265 seconds]
goibhniu1 has joined #nixos
FRidh has joined #nixos
goibhniu has quit [Ping timeout: 240 seconds]
coot has joined #nixos
glenn_ has quit [Ping timeout: 252 seconds]
tmaekawa has quit [Client Quit]
glenn_ has joined #nixos
fuyuuri has quit [Ping timeout: 240 seconds]
coconnor has joined #nixos
xcmw has joined #nixos
xcmw has quit [Client Quit]
<coconnor> Hi all. I'm encountering an issue with OpenGL under Wine using Nvidia X11 drivers. Anyone available with experience?
swayf has joined #nixos
TweyII has quit [Ping timeout: 265 seconds]
dejanr has joined #nixos
ennui has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
<ennui> how can i format an attrset as a string like in builtins.trace?
manjaro-user has quit [Quit: Konversation terminated!]
ennui has left #nixos ["ERC (IRC client for Emacs 24.5.1)"]
<Yaniel> coconnor: "an issue" is quite vague
ennui has joined #nixos
jrolfs__ has joined #nixos
Judson has joined #nixos
coot has quit [Remote host closed the connection]
Judson is now known as Guest96906
coot has joined #nixos
ryanartecona has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
jrolfs has joined #nixos
<infinisil> ennui: `builtins.toJSON` works well
jrolfs_ has quit [Ping timeout: 240 seconds]
<coconnor> I presume that means you do have some experience
xcmw has joined #nixos
<goibhniu1> Hi coconnor, it's better to explain the issue in some detail, maybe someone is familiar with it.
<coconnor> OpenGl applications under wine are crashing immediately with "page fault on write access to 0x7c002fd4 in 32-bit code"
reinzelmann has joined #nixos
goibhniu1 is now known as goibhniu
<coconnor> Unfortunately, "some detail" is always variable. I'd prefer to establish what level of knowledge the audience has before starting on unnecessary details
<coconnor> for instance
<coconnor> wine and opengl are enabled (including 32bit opengl drivers)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7fc2b096dca (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
glenn_ has quit [Ping timeout: 248 seconds]
<goibhniu> coconnor: it might help to also share the output of `nix-info`
<coconnor> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-16.03.526.567b65d"
jrolfs__ has quit [Ping timeout: 265 seconds]
CapsAdmin has joined #nixos
jrolfs__ has joined #nixos
yegle has quit [Quit: WeeChat 2.0]
jensens has quit [Ping timeout: 252 seconds]
yegle has joined #nixos
<fiatjaf> infinisil, goibhniu, Yaniel: thank you. the list of packages was clarifying. I'll try nixos next time I have a chance.
kier has quit [Ping timeout: 240 seconds]
<goibhniu> cool fiatjaf, it might be interesting to play around with nix on ubuntu to get a feel for it too
patron has quit [Quit: Konversation terminated!]
Synthetica has quit [Quit: Connection closed for inactivity]
jb55 has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to master: https://git.io/vNPfH
<NixOS_GitHub> nixpkgs/master f7ff8d8 Robin Gloster: apr: 1.6.2 -> 1.6.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0f9cf03 Robin Gloster: aprutil: 1.6.0 -> 1.6.1
<NixOS_GitHub> nixpkgs/master 0fdd096 Robin Gloster: aria2: 1.33.0 -> 1.33.1
jb55 has joined #nixos
jb55 has quit [Client Quit]
jb55 has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> I am stil hunting for a way to configure the preferences of gnome apps in nixos
<fresheyeball> The normal UI way does not work
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nixos
<coconnor> fresheyeball: Does the normal UI have no effect? Or does the effect not persist?
<fresheyeball> coconnor: The moment I hit a check box it's instantly unchecked
<coconnor> is this the global gnome desktop prefs? Or in the preferences of a single application?
chreekat[m] has joined #nixos
<fresheyeball> coconnor: single app
<fresheyeball> for example I would like to change the default sort order for nautilus
<fresheyeball> I had the same problem with managing preferences with all gnome apps
<fresheyeball> gnome terminal I could not adjust colors
<fresheyeball> gnome process monitor, I can't switch tabs
<fresheyeball> it's like the individual gnome app is trying to write a a nix read only thing, and so it doesn't stick
<coconnor> understood. This is not application specific then
<fresheyeball> right
nix-gsc-io`bot has joined #nixos
<fresheyeball> it's all gnome apps on nixos, don't allow for the editing of individual gnome app preferences
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a4f433c03cc (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [Client Quit]
<coconnor> IIRC gnome apps use a common interface for application settings
<coconnor> "gsettings"
kier has joined #nixos
<coconnor> have you tried executing one of these applications under a console
<coconnor> and observing the output when changin ghte preferences?
<fresheyeball> I always do!
<fresheyeball> let me see right now
chreekat has joined #nixos
<fresheyeball> this is what I get
<fresheyeball> (nautilus:11402): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
<coconnor> ah ok
<coconnor> dconf is the backend to gsettings
<fresheyeball> ok!
<coconnor> looks like dconf is not registered with dbus... hmm
<coconnor> do you have
kier has quit [Client Quit]
Myrl-saki has quit [Ping timeout: 240 seconds]
<chreekat> Am I reading this right, that the release-17.03 channel has not had binaries for all of Haskell since November 4?
<coconnor> programs.dconf.enable = true;
<coconnor> in your config?
<coconnor> (this might be enabled by another config option. checking)
<fresheyeball> coconnor: let me try that!
<fresheyeball> hmm option programs.dconf.enable does not exist
mkoenig_ has quit [Ping timeout: 268 seconds]
<fresheyeball> I also don't see dconf in options anywhere
<coconnor> is what I'm referencing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 89f73ce Vincent Demeester: dep: 0.4.0 -> 0.4.1...
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vNPTY
NixOS_GitHub has left #nixos [#nixos]
mkoenig has joined #nixos
<srhb> It does not exist on stable, for the record.
jrolfs__ has quit [Ping timeout: 240 seconds]
kier has joined #nixos
<coconnor> ok. Doesn't look like it adds a .service file anyways
<fresheyeball> coconnor: I also don't see how to enable it in configuration.nix
<fresheyeball> programs.dconf.enable = true; doesn't work
<fresheyeball> programs.dconf = true; doesn't work
<fresheyeball> grr
<clever> fresheyeball: neither option exists on https://nixos.org/nixos/options.html#dconf
<fresheyeball> clever: I know
<fresheyeball> It's confusing
<clever> fresheyeball: which channel are you on?
jrolfs__ has joined #nixos
glenn_ has joined #nixos
<fresheyeball> clever: I am on 17.09
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dab46ac5e2f (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<clever> fresheyeball: what exactly "doesnt work" with programs.dconf.enable = true ?
nix-gsc-io`bot has quit [Client Quit]
zzamboni has joined #nixos
<clever> ah, i see the issue
<clever> 17.09 only has a profiles option
<clever> and if profiles contains anything, its enabled
<clever> master has an enable option
<fresheyeball> so what are profiles?
<clever> description = "Set of dconf profile files.";
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> It's been a while since I last logged in here.
<clever> fresheyeball: the profiles wind up in /etc/dconf/profile/
<coconnor> That explains why I have enable and fresheyeball does not
<coconnor> However, I don't see that adding the .service file
<coconnor> IIRC there needs to be a .service file added to
<fresheyeball> clever: so what would I put there?
<clever> neither version of the dconf module adds a systemd unit
<coconnor> a service directory under /var/run/current-system/sw/shared/dbus-1
<fresheyeball> programs.dconf = {}; ?
<boomshroom> A while ago, I was trying to get a GCC cross compiler. I managed to get it working, but at some point they removed wrapCCCross and I need to find what the new way of building a cross compiler is.
<clever> fresheyeball: that will do absolutely nothing
coot has quit [Quit: coot]
<fresheyeball> clever: programs.dconf = { profiles = ??? };
<clever> fresheyeball: profiles takes a set of profiles
<clever> which must point to paths
<clever> programs.dconf.profiles.name = ./name.txt;
<coconnor> fresheyeball: I'd ignore trying to enable dconf. I don't think that matters in this case
<fresheyeball> clever: what would that do?
<clever> which will create a /etc/dconf/profiles/name containing that value
<fresheyeball> coconnor: ok
<coconnor> fresheyeball: my thinking is: the error message indicates the dconf service is unknown to dbus. Which the "profiles" thing is unrelated to
asuryawanshi has quit [Ping timeout: 240 seconds]
<clever> coconnor: dbus should auto-configure dbus services for anything in systemPackages
<coconnor> clever: ah! that means that if the package is not included in systemPackages then it won't be in /var/run/current-system/sw/shared/dbus-1 ?
<fresheyeball> yeah, coconnor you right, it did not help
<coconnor> (makes sense, just want to confirm)
<clever> coconnor: sw is just a buildenv over everything in systemPackages
<clever> coconnor: so it will only ever contain what you put into systemPackages
<coconnor> ok
<coconnor> so in fresheyeball case, then, dconf should be added to systemPackages
<coconnor> specifically gnome3.dconf
<coconnor> Which, I just tried, did add a ca.desrt.dconf.service to my system
stepcut has joined #nixos
<coconnor> fresheyeball: try adding gnome3.dconf to your systemPackages
asuryawanshi has joined #nixos
<fresheyeball> on it!
asuryawanshi has quit [Remote host closed the connection]
cement has quit [Ping timeout: 260 seconds]
<coconnor> fresheyeball: there should be a /var/run/current-system/sw/share/dbus-1/services/ca.desrt.dconf.service
<fresheyeball> that did it!
<fresheyeball> wooo!
<fresheyeball> I never would have guessed that!
jrolfs__ has quit [Ping timeout: 240 seconds]
<clever> id recomend a PR, that adds dconf to systemPackages inside this if statement
asuryawanshi has joined #nixos
xcmw has quit [Ping timeout: 256 seconds]
jrolfs__ has joined #nixos
<clever> so enabling dconf will automatically add it to systemPackages for you
<coconnor> clever: agreed
<coconnor> is there a parent/master gnome config? Such that enabling gnome would also enable dconf as expected?
<coconnor> seems like dconf being available as dbus service is a prereq to gnome
<clever> i would expect it to be in this region
<clever> but the lists make it a bit fuzzy on if dconf is in there or not
swayf has joined #nixos
<coconnor> I see dconf in the "corePackages"
<clever> ah, then it should just work if you enable the gnome3 desktop manager
<coconnor> fresheyeball: are you using services.xserver.desktopManager.gnome3.enble ?
<clever> even if you pick a different one at login
<fresheyeball> coconnor: no
<coconnor> looks like it
<coconnor> ok! that makes sense then
<coconnor> hmmm
<fresheyeball> I am using xmonad
zarel has joined #nixos
<coconnor> definitely a bit indirect then
<Guest96906> CapsAdmin are you arround now?
Guest96906 is now known as judson
<coconnor> the user experience of "installing a gnome app"
<judson> CapsAdmin are you arround now?
<coconnor> which can be done under xmonad without gnome3 enabled
<coconnor> should add dconf?
<boomshroom> It appears that binutils has been replaced by bintools in many places.
<fresheyeball> how can I get the gsettings cli tool?
PeterRomfeld[m] has quit [*.net *.split]
cacatoes has quit [*.net *.split]
randomstrangerb has quit [*.net *.split]
mpickering has quit [*.net *.split]
derchris has quit [*.net *.split]
derchris has joined #nixos
PeterRomfeld[m] has joined #nixos
cacatoes has joined #nixos
mpickering has joined #nixos
<coconnor> fresheyeball: gnome3.gnome_settings looks like it
<clever> glib.dev 32,664 x /nix/store/vc1ipmdkvnkx5p99vadzvlan6c6cyhbh-glib-2.50.3-dev/bin/gsettings
randomstrangerb has joined #nixos
<boomshroom> OK, things have changed a lot. How can I, using nix, build a GCC cross compiler that targets bare metal for my own development? (ie. not building packages)
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ea01365 Herwig Hochleitner: webkitgtk: 2.18.5 -> 2.18.6...
<NixOS_GitHub> nixpkgs/master 7a26625 Herwig Hochleitner: chromium: 63.0.3239.132 -> 64.0.3282.119...
<NixOS_GitHub> [nixpkgs] bendlas pushed 2 new commits to master: https://git.io/vNPLz
<fresheyeball> coconnor: I installed via `nix-env -iA nixos.gnome3.gnome_settings_daemon`
<fresheyeball> but didn't getting the gsettings command
<clever> boomshroom: Sonarpulse has been involved in the changes lately
<clever> fresheyeball: gsettings is in glib.dev
<Sonarpulse> boomshroom: yeah it alll works now
<Sonarpulse> just build stdenv.cc.cc
jb55 has quit [Ping timeout: 260 seconds]
<fresheyeball> clever: I did `nix-env -iA nixos.glib.dev`
<fresheyeball> no dice
<boomshroom> Sonarpulse: and if I want that cc to be i686-elf-gcc with no libc?
lonokhov has joined #nixos
<Sonarpulse> boomshroom: you can build buildPackages.gccCrossStageStatic as before
<Sonarpulse> but you still cannot call it i686-elf-gcc
<clever> boomshroom: i686 is easy, just set the right system tag
swayf has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<boomshroom> Sonarpulse: that wasn't wasn't was I was using before. And what about riscv64-elf-gcc?
odites has joined #nixos
<Sonarpulse> boomshroom: no "elf" or "gcc" in the name
<Sonarpulse> rsicv64 needs to be added
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 c5e9928 Herwig Hochleitner: webkitgtk: 2.18.5 -> 2.18.6...
<NixOS_GitHub> [nixpkgs] bendlas pushed 3 new commits to release-17.09: https://git.io/vNPte
<NixOS_GitHub> nixpkgs/release-17.09 e79033b Herwig Hochleitner: chromium: 63.0.3239.132 -> 64.0.3282.119...
<NixOS_GitHub> nixpkgs/release-17.09 67e81c0 Herwig Hochleitner: chromium: update 63.0.3239.108 -> 63.0.3239.132...
NixOS_GitHub has left #nixos [#nixos]
jrolfs__ has quit [Ping timeout: 260 seconds]
<boomshroom> "elf" is the "os"
<Sonarpulse> yeah there's a whitelist of names
<Sonarpulse> for logic
<boomshroom> Arm is weird because their OS is called "none".
<Sonarpulse> and "elf" is not an OS so I don't really wanna add it
<Sonarpulse> "unknown" or "none" should be fine everywhere?
<boomshroom> Sonarpulse: it's not an OS, but I still need a compiler that targets it.
jrolfs__ has joined #nixos
<Sonarpulse> boomshroom: "elf" doesn't do anything though
<Sonarpulse> it's a name-component that will have no logic effect
<Sonarpulse> what's wrong with "unknown"?
<Sonarpulse> or "none"?
<boomshroom> Sonarpulse: elf is the default recomened by the OSDev Wiki outside of ARM.
reinzelmann has quit [Quit: Leaving]
<boomshroom> Phil Opp's tutorial uses "unknown-none".
<boomshroom> Really, the "OS" is less important than the cpu and lack of libc.
<coconnor> fresheyeball: nix-env -i glib ?
jrolfs__ has quit [Ping timeout: 240 seconds]
mizu_no__ has joined #nixos
jrolfs__ has joined #nixos
zzamboni has quit [Quit: Leaving.]
<clever> boomshroom: you can also just use the right gcc flags to tell it not to link to a libc
jb55 has joined #nixos
<boomshroom> (ignore the redox part, it didn't work)
odites has quit [Ping timeout: 240 seconds]
coot has joined #nixos
<boomshroom> looking at bintools-wrapper, I don't see where I would give the target architecture.
<fiatjaf> goibhniu: good idea (I barely know how it works anyway, but I will).
<boomshroom> Do I really need a stdenv that can't build packages?
mizu_no__ has quit [Quit: Computer has gone to sleep.]
<Baughn> How do I write a NixOS test for activation correctness when changing the system configuration?
<fresheyeball> coconnor: had that one already :(
<fresheyeball> still no gsettings
<clever> Baughn: good question, not many of the tests test changing between 2 states
<Baughn> Mm. Well, you saw the bug I'm poking at.
<symphorien> fresheyeball: you can nix-env -i /nix/store/sdfdsfssdfsd-glib-dev
<Baughn> WilliButz: Thoughts? It's your test I'm trying to expand.
<CapsAdmin> judson, hey
<boomshroom> Essentially, I'm trying to use Nix to automate the process here: https://wiki.osdev.org/GCC_Cross-Compiler
<fresheyeball> symphorien: I don't understand that, what will it do?
jrolfs__ has quit [Ping timeout: 252 seconds]
<clever> but i think it doesnt work anymore
<symphorien> first, you determine the exact nix-store path you want to have in your profile, then you `nix-env -i ` it, so that it doesn't disappear at the next garbage collection
MP2E has joined #nixos
<Sonarpulse> boomshroom: i was going to add more arch-chooseing stuff to the wrappers once I made llvm cross compilation work
coot has quit [Quit: coot]
<Sonarpulse> boomshroom: bintools is *almost* multitarget
<Sonarpulse> but GNU assembler isn't
coot has joined #nixos
<Sonarpulse> so i got an unused branch making us use just one GNU AS for everything
<Sonarpulse> until somebody fixes that upstream
jrolfs__ has joined #nixos
<boomshroom> :(
coot has quit [Remote host closed the connection]
kier has quit [Quit: This cannot continue.]
<Sonarpulse> boomshroom: yeah really sad binutils is SOOO close
<Sonarpulse> :/
kier has joined #nixos
<boomshroom> The really sad part? It used to work!
chreekat has quit [Ping timeout: 265 seconds]
<Sonarpulse> boomshroom: nix or gnu as?
chreekat has joined #nixos
<Sonarpulse> boomshroom: I could just allow arbitrary configs
<Sonarpulse> but then the configuration logic would be all fucked
<boomshroom> The file I posted. There was a point in time when it was able to build working bare metal x86, arm, and riscv compilers.
<Sonarpulse> so its better to be a hard-ass and not allow any "elf" or other thing
<Sonarpulse> boomshroom: yeah that point was like a year agog
<Sonarpulse> boomshroom: also you needed gcc 7?
<boomshroom> Sonarpulse: I won't argue with that. I'm pretty sure I was bypassing most of the logic in favour of setting the gcc and binutils target manually.
<Sonarpulse> I actually did do work to make cross with other gcc versions closer to reality
<boomshroom> I just liked using the latest version. I don't think it really made a difference.
coot has joined #nixos
<Sonarpulse> boomshroom: well for riscv I assume it does!
i-am-the-slime has joined #nixos
<boomshroom> Oh that, that was it. RISC-V wasn't supported before GCC7
<Sonarpulse> otherwise they'd have time travel! :)
<Sonarpulse> boomshroom: before there used to be gccCrossStage{Static,Final}
<Sonarpulse> but I got rid of Final
<Sonarpulse> so buildPackages.gcc* just "does the right thing"
<Sonarpulse> I also want to get rid of static
<Sonarpulse> by building the gcc runtime libs as normal libraries
<Sonarpulse> which would further remove bullshit
<Sonarpulse> basically mean everyone is on a bare-metal tool chain
<Sonarpulse> which is excellent
glenn_ has quit [Ping timeout: 252 seconds]
<i-am-the-slime> how do I install keepass properly?
jrolfs__ has quit [Ping timeout: 246 seconds]
zzamboni has joined #nixos
<boomshroom> I tried I tried re-importing all of nixpkgs like what clever posted, and after commenting out riscv and redox, now it's complaining about unknown libc.
sirkha has joined #nixos
<chisui> Ok, I'm slowly getting mad. Can somebody tell me how I have to partition my disk and what to mount where do get NixOS to boot?
<clever> chisui: do you want to boot with efi or legacy?
<Sonarpulse> boomshroom: so riscv you definitely want?
<jsgrant_> chisui: What have you done so-far?
<Sonarpulse> I can add that to the lib right now
<Sonarpulse> is it in llvm master?
<chisui> clever: efi
<Sonarpulse> then I can check the tripple parsing code from llvm
<Baughn> clever: Found my answer, by the way. https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nat.nix has an example.
<Sonarpulse> which i kind of use as my rosetta stone
zzamboni has quit [Client Quit]
<boomshroom> I would like riscv, but it's not urgent. I'm not sure what problems would arise from adding it. (There's always a cost to everything.)
<clever> chisui: you need a fat formated filesystem, with partition type EFI system, mounted to /mnt/boot/ and a rootfs of your choice mounted to /mnt/
<jsgrant_> What's your gpt table look like?
<jsgrant_> clever: ++
<Sonarpulse> boomshroom: well its a good test case
<chisui> clever: I did exactly that
<jsgrant_> Also, need to make sure your config.nix reflects efi.
<Sonarpulse> the newer arches generally have saner naming
<clever> chisui: and what failed?
<Sonarpulse> and I wanna add it anyways
xcmw has joined #nixos
jrolfs__ has joined #nixos
redfish64 has quit [Ping timeout: 240 seconds]
<chisui> maybe I am missing something. Can I see anywhere if my machine is capable of booting this way or if I have to go the MBR way?
<boomshroom> Sonarpulse: If I'm not mistaken, the main triples are "riscv" and "riscv64". I think I've seen "riscv32" as well aliased to "riscv". Probably a good idea to double check.
<clever> chisui: what does "mount" say?, paste it into gist.github.com
<chisui> it mounts, and install works
<jsgrant_> clever: About to say this; Lets see the config.nix & the df log
<chisui> grub gets embedded but I cant boot
<clever> chisui: grub only embeds if your using legacy booting, it sounds like you configured it wrong
xcmw has quit [Client Quit]
<jsgrant_> chisui: boot.loader.grub.device = "/dev/sda" ? boot.loader.grub.version = 2 ? boot.loader.efi.canTouchEfiVariables = true ?
<jsgrant_> ;;;
<Sonarpulse> boomshroom: not sure it will even accept lack of 32 or 64
<Sonarpulse> which I like
<Sonarpulse> nice and symmetric
<boomshroom> OK. So LLVM always explicitly takes riscv32.
jrolfs__ has quit [Ping timeout: 252 seconds]
<clever> chisui: if you are booting with efi, you must set boot.loader.grub.device = "nodev";
<chisui> ok, the manual only said to active boot.loader.grub.device = "/dev/sda"
<clever> thats only for legacy booting
<jsgrant_> Default, I assume is pre 2?
* jsgrant_ has been using systemd-boot for months now, with my on-and-off relationship.
redfish64 has joined #nixos
<clever> jsgrant_: the grub device has no default, and an assertion will fail if its unset
jdrowell has quit [Ping timeout: 240 seconds]
CapsAdmin has quit [Ping timeout: 240 seconds]
glenn_ has joined #nixos
<jsgrant_> clever: Ah, that's a good decision really.
<i-am-the-slime> nobody running keepass?
<clever> jsgrant_: yeah, it could overwrite the wrong MBR
<boomshroom> I just realized I had an apointment today. Sorry. Bye!
boomshroom has quit [Quit: Page closed]
<jsgrant_> i-am-the-slime: Nah, I foolishly trust Firefox Sync Service.
<clever> i-am-the-slime: i use lastpass
chisui_ has joined #nixos
CapsAdmin has joined #nixos
<clever> chisui: EFI cant install with only a bios boot partition
<clever> chisui: the bios boot partition is only to support legacy booting
<clever> chisui: line 25, you dont have EFI enabled
<clever> and the output of mount isnt in there
<jsgrant_> chisui: Also, is your efi partition formated to vfat ?
<clever> jsgrant_: he currently doesnt have an efi partition
<jsgrant_> Ah, just boot?
<clever> just bios boot, which cant contain a filesystem
<chisui> so i need an efi partition (EF00 ?) that is mounted on /mnt/boot
<chisui> ?
<clever> chisui: yes
<jsgrant_> ++
<chisui> enable efiSupport and set grub.device = "nodev"
<clever> yep
<chisui> do I still need the EF02 partition?
<clever> nope
<chisui> thanks so much guys, I will be back in a few minutes
jrolfs__ has joined #nixos
i-am-the-slime has quit [Quit: Konversation terminated!]
<jsgrant_> Still have to figure out why NixOS is insta-segfaulting on this ultrabook, about 80% of the time.
<jsgrant_> Only happens on NixOS; Fedora & Arch, np.
<clever> jsgrant_: systemd.coredump.enable = true;
alexteves_ has joined #nixos
<jsgrant_> clever: Oh, that's nice! Just writes to a file I can live-disk mount & view from?
* jsgrant_ takes a note.
<jsgrant_> ty
swayf has joined #nixos
<clever> 111 "/var/lib/systemd/coredump" = { device = "amd/coredumps"; fsType = "zfs"; };
<clever> jsgrant_: in my case, i have a dedicated zfs dataset for it
<clever> jsgrant_: you can also run `coredumpctl gdb 123` to open it in gdb directly
<CapsAdmin> does anyone know how i can install the nix package manager in a "disposable directory" ?
civodul has joined #nixos
<clever> but the multiple rootfs's will confuse coredumpctl
<infinisil> CapsAdmin: chroot maybe
<CapsAdmin> without using chroot or proot (proot doesn't work on osx)
<jsgrant_> clever: That's pretty great, nice actually.
<CapsAdmin> as it requires root, right?
stringy has joined #nixos
alexteves has quit [Ping timeout: 268 seconds]
jdrowell has joined #nixos
<infinisil> CapsAdmin: Hmm I'm not sure there's a way on osx, other than compiling nix with an alternate nix directory resulting in not being able to use the cache at all
<infinisil> (the nixos cache i mean)
* jsgrant_ sees himself jumping back into NixOS with wild abandon ... once again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] binarin opened pull request #34265: Modern RabbitMQ (master...modern-rabbitmq) https://git.io/vNPGD
NixOS_GitHub has left #nixos [#nixos]
swayf has quit [Ping timeout: 265 seconds]
Guest64951 has joined #nixos
<CapsAdmin> infinisil, what I want is just to set up a temporary nix install to download and compile some packages
<CapsAdmin> and then remove it
<infinisil> CapsAdmin: without using root at all?
Fare has quit [Ping timeout: 264 seconds]
Guest64951 has left #nixos [#nixos]
<CapsAdmin> yeah
jrolfs__ has quit [Ping timeout: 265 seconds]
<infinisil> then that's probably not possible, i don't know of a way
<CapsAdmin> if this is very difficult then alright, but then i'd like to find a way of not polluting an existing nix install then
<infinisil> what do you mean by pollute?
<CapsAdmin> hmm
<CapsAdmin> lets say i want gcc but the user already has gcc installed on nix
<CapsAdmin> maybe it's not really a big deal
<clever> CapsAdmin: nix hashes anything that can impact the gcc version, and you will get 2 gcc's in /nix/store/
chisui_ has quit [Ping timeout: 260 seconds]
<infinisil> (if they're different)
<CapsAdmin> alright
<infinisil> CapsAdmin: I'm not sure what you mean, you want it to fetch another same gcc?
<CapsAdmin> it's a bit difficult to explain and maybe i'm thinking too much about the details
<infinisil> any explanation is better than no explanation
<CapsAdmin> i have some software that relies on some third party libraries such as freetype, freeimage, sdl2, etc written in LuaJIT
jrolfs__ has joined #nixos
<CapsAdmin> the way I can talk to these libraries with LuaJIT is to use a foregin function interface, so i have written a tool to generate bindings with gcc -p
<CapsAdmin> i have my own "build system" but i'd like to replace it with nix
xorkle_ has joined #nixos
<CapsAdmin> i've got it somewhat working now, but i'm not really sure what i'm doing with the code and it seems it doesn't always work
<CapsAdmin> and on osx i get some permission issue when i attempt to copy the dynlib
stringy has quit [Ping timeout: 268 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
jrolfs__ has joined #nixos
<infinisil> okay, but I still have no idea what you're trying to achieve with "not wanting to pollute the nix store"
<infinisil> CapsAdmin:
<infinisil> or how that's related to what you explained
hamishmack has quit [Quit: hamishmack]
knupfer has quit [Quit: knupfer]
<CapsAdmin> infinisil, i don't want to force people to install nix and if they are using nix i don't want to install potentially unwanted packages
<CapsAdmin> but i think maybe it's unimportant or at least something to think about after i get things working more properly
redfish64 has quit [Ping timeout: 240 seconds]
jsgrant_ has quit [Remote host closed the connection]
<infinisil> Ahh, now it makes sense
<symphorien> CapsAdmin: if you do `tar cvf blah.tar $(nix-store -qR /nix/store/path-to-htop) and unpack it on a remote system without nix then you get a fully working htop with all its dependencies
<symphorien> the only requirement is that you must unpack it at the previous path ie /nix/ so you need root
<chisui> I still seem to be missing something in my partion setup. I updated the gist https://gist.github.com/chisui/cf5f72c8f32f267c1e642a7260a94b40
jrolfs__ has quit [Ping timeout: 252 seconds]
asuryawanshi has quit [Ping timeout: 248 seconds]
<symphorien> having the nix store elswhere is possible though
chreekat has quit [Ping timeout: 252 seconds]
<symphorien> and for people having nix, having your program with its dependencies shouldn't interfere with whatever the user does with nix
<symphorien> by design
<infinisil> yup ^^ that shouldn't be a problem
<symphorien> does it answer your problem ?
zarel has quit [Ping timeout: 248 seconds]
<clever> symphorien: there is also a nix derivation that does the tar for you
chreekat has joined #nixos
<symphorien> oh
<symphorien> I didn't know
<CapsAdmin> symphorien, maybe the problem is that i don't trust nix for some reason
<clever> symphorien: in this case, it creates a /kexec_nixos symlink and a /nix directory with the full closure
<clever> if unpacked to /
<CapsAdmin> like installing packages with apt might break things but nix is designed not to
<symphorien> nice
<CapsAdmin> so i shouldn't worry
<clever> CapsAdmin: if you give a non-root user write access to an empty /nix directory, then you can install nix without root
<clever> and yeah, nix is designed to not break things like apt does
mkoenig_ has joined #nixos
<clever> symphorien: and if your wondering what the expression i linked does, you just unpack the tar to /, and run /kexec_nixos, and you have nixos running from a ramdisk
brodavi has joined #nixos
jrolfs__ has joined #nixos
<clever> symphorien: and it has sshd, so ssh back in, and you are free to reinstall the entire OS
grantwu has joined #nixos
<symphorien> nice²
<grantwu> How do I use helpTags in vim with nixpkgs?
<chisui> I also made sure that secure boot is disabled but still can't boot. Does anyone see what I missed?
<grantwu> It wants something to be writable that isn't
<clever> chisui: what does "mount" output?
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
<chisui> clever: i updated the gist
<CapsAdmin> https://gitlab.com/CapsAdmin/goluwa/blob/master/framework/lua/build/ffibuild.lua#L425-437 this is really a dummy package that compiles "data.src" which is only including some headers to generate the file by gcc -P
<CapsAdmin> what i want is to get the preprocessed output of that gcc command to the current directory
<clever> chisui: you censored out the important bits
<CapsAdmin> as well as the library specified by "data.name", for instance freetype or freeimage
<chisui> clever: sorry, fixed
kreetx has quit [Ping timeout: 252 seconds]
<clever> chisui: that environment didnt boot via efi, so it cant configure efi booting
<clever> chisui: you need to make sure you boot the installer in efi mode
<CapsAdmin> it works but i'm wondering about for instance the results folder that appears
<CapsAdmin> or that i need to specify out or it wont work
coot has quit [Remote host closed the connection]
<CapsAdmin> mkdir $out
<WilliButz> Baughn: I'm gonna take a look :)
<infinisil> CapsAdmin: result is a symlink to the built derivation
<Baughn> WilliButz: I've been poking at the tests, but it seems very difficult to write a test of the bootloader.
<infinisil> CapsAdmin: which is the $out during the build phase
<Baughn> WilliButz: If you figure it out, I'll be grateful. :P
<Baughn> installer.nix is the only example I could find, and that's complicated. Hopefully, more so than is necessary.
<CapsAdmin> infinisil, can i avoid this from being generated?
<infinisil> CapsAdmin: yes, nix-build --no-out-link
nuncanada has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] catern opened pull request #34267: google-chrome: remove "with" usage to simplify the expr (master...chromesimple) https://git.io/vNPWI
NixOS_GitHub has left #nixos [#nixos]
<CapsAdmin> when i run nix-build will my package installed? and if so if i remove it will all its dependencies be reference freed?
<Baughn> WilliButz: There's also https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/nat.nix, but while that does allow me to run an activation script, it doesn't succeed.
spear2 has joined #nixos
<CapsAdmin> infinisil, thanks
swayf has joined #nixos
<catern> anyone want to approve https://github.com/NixOS/nixpkgs/pull/33706 ?
<chisui> clever: I'm really sorry but how do I boot the installer using efi?
<catern> trivial change...
nuncanada has joined #nixos
<infinisil> CapsAdmin: nix-build will just build it, nix-env can install stuff
<clever> chisui: you have to select it in the firmare, when booting the machine
<infinisil> CapsAdmin: if you can build something with `nix-build`, you can install it with `nix-env -if .`
<clever> chisui: and also, how did you make the install media?, is it a cd? usb?
<CapsAdmin> infinisil, ah okay
<CapsAdmin> but what happens to dependencies?
<clever> CapsAdmin: nix builds them
<chisui> clever: everything in the BIOS is set to UEFI, it's an USB drive
<infinisil> CapsAdmin: And uninstalling a package just removes it from your profile, but it's still in the nix store until a garbage collection (nix-collect-garbage)
<clever> chisui: how did you get the ISO onto the usb drive?
<chisui> dd
<CapsAdmin> so my temporary default.nix depends on freetype
<CapsAdmin> lets say no other package in the system depends on freetype
<CapsAdmin> will it just be removed when i run nix-collect-garbage after i build then?
jrolfs__ has quit [Ping timeout: 264 seconds]
<clever> chisui: try the other options in your bios when you pick booting from the cd
<chisui> clever: dd
<infinisil> CapsAdmin: if you nix-build --no-out-link, and then nix-collect-garbage, it will be removed, but when you don't add --no-out-link it won't get removed
cinimod has quit [Quit: Connection closed for inactivity]
<infinisil> CapsAdmin: the result symlink tells nix to keep its references alive
<CapsAdmin> ah
<clever> until result is deleted or pointed at something else
<CapsAdmin> so if i delete the reference link it can be removed?
<clever> yeah
<CapsAdmin> ok that makes sense, thanks
<TimePath> How are packages which upstream uses nix to build best packaged in nixpkgs? Can nix-build call nix-build? Dynamic import?
<infinisil> CapsAdmin: installing something with nix-env does something similar, it adds stuff to your profile, which is also not garbage-collected
redfish64 has joined #nixos
Fare has joined #nixos
<brodavi> hello folks :) super new to nixos... is there a beginner's guide to setting up a lamp server? I just added `service.httpd.enable = true;` with hostName, user, adminAddr, documentRoot, enablePHP but apache doesn't seem to be running. mysql/mariadb and php7.1 seem to work though
dbe_ has joined #nixos
<infinisil> TimePath: > Can nix-build call nix-build? Nope, see https://github.com/NixOS/nix/pull/213 > Dynamic import? Also called IFD (import-from-derivation), would be possible, but not allowed in nixpkgs because it's slow and makes derivations depend on inputs outside nixpkgs which may harm reproducability (i think)
jrolfs__ has joined #nixos
<infinisil> TimePath: Therefore you'll want to add a separate nix expression in nixpkgs, which could potentially be different than the one upstream
<infinisil> I'm not so sure about my IFD argument though tbh, IFD would be really nice for nixpkgs for a couple things
<TimePath> The upstream one is kind of complex and changes a lot :/
<TimePath> (note: I am upstream :P)
<Baughn> WilliButz: I sorta got the switch-to-configuration approach to work, but it runs the fallback path where the secret ends up in nix-store.
<Baughn> WilliButz: Which works. It's the clever initrd appending that doesn't.
ambro718 has joined #nixos
<infinisil> TimePath: Well then it's even more important to have a separate one for nixpkgs
<clever> chisui: and "dmesg | grep EFI" finds something?
<TimePath> infinisil: IFD would be so nice and just work though
<chisui> clever: yes
<clever> chisui: what happens when you run efibootmgr ?
<TimePath> Could pass in the current nixpkgs path and have it build the main output
<clever> [root@system76:~]# nix-shell -p efibootmgr
<clever> BootCurrent: 0003
<TimePath> When invoked outside of nixpkgs, using my pinned version
<clever> [nix-shell:~]$ efibootmgr
<clever> chisui: sort of like that?
<infinisil> TimePath: I think it might be disallowed because nix evaluation could fail
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FrancescElies opened pull request #34268: [aspell] adds turkish dictionary (master...cesc/aspell/turkish) https://git.io/vNPl7
NixOS_GitHub has left #nixos [#nixos]
<infinisil> while current nixpkgs guarantees it will evaluate
<infinisil> (since external sources for nix files used for evaluation could become unavailable)
<chisui> clever: added efibootmgr output to the gist https://gist.github.com/chisui/cf5f72c8f32f267c1e642a7260a94b40
hamishmack has joined #nixos
<clever> chisui: so it is configured to boot something, try again with efibootmgr -v
cnidario has quit [Remote host closed the connection]
<TimePath> infinisil: yeah, it's bit undesirable to fetch this report when evaluating packages
<TimePath> repo*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #34269: lib: Allow parsing platform configs with arch of `{riscv,wasm}{32,64}` (master...lib-riscv-wasm) https://git.io/vNP8T
NixOS_GitHub has left #nixos [#nixos]
<Sonarpulse> was gonna ping booomshroom
<Sonarpulse> but they left
<TimePath> Maybe if the IFD was nested in the build phase?
<Sonarpulse> IMO people are still hacking around shit
<chisui> clever: updated
<Sonarpulse> but nixpkgs is nice wrt cross now
<Sonarpulse> and the instinct should never be to fight it
<clever> chisui: its only configured to boot something on USB, which doesnt sound right
ryanartecona has quit [Quit: ryanartecona]
<clever> chisui: what is sda?
<chisui> clever: sda is my harddrive
<cransom> aside from disabling sandbox entirely for a hydra system, are there any options to introduce impurity in a derivation? i want to write some some functional tests that make network calls without having to step too far outside of the system and doing post processing on a `buildFinished` hook.
<clever> what kind of hard drive?
<chisui> ssd
<infinisil> TimePath: nope, then it's still IFD and a no-go for nixpkgs
<magnetophon> I noticed some programs have a valid build date now, whereas before they'd be from 1970. Doesn't that mess with reproduceability? (for example uname -a)
<infinisil> I'm actually not sure where the "no IFD for nixpkgs" comes from
<TimePath> infinisil: but it can't build anyway if the source repository fails to fetch
<clever> chisui: what does nixos-install print out, after everything has been mounted to the right spot?
<infinisil> TimePath: you're thinking of recursive nix
obadz has joined #nixos
<clever> TimePath: you can also just copy the relevant nix expressions into the nixpkgs tree and open a PR
<clever> then there is no IFD
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chisui> clever: added output of nixos-install to gist
<clever> chisui: what files are in /mnt/boot/ ?
dbe_ has quit [Ping timeout: 240 seconds]
<chisui> clever: added find /mnt/boot output to gist
<clever> chisui: yeah, everything is where it should be
<clever> # boot.loader.grub.efiInstallAsRemovable = true;
<clever> chisui: try turning this option on and nixos-install again, then see if it can boot
<clever> you may also want to try removing the usb stick after the shutdown
<chisui> clever: I always remove the stick before trying to reboot
Fare has quit [Ping timeout: 248 seconds]
<TimePath> Even if I got IFD to not be evaluated unless building, I can understand not wanting to enable it because other packages might not
CapsAdmin has quit [Ping timeout: 252 seconds]
Itkovian has joined #nixos
<clever> TimePath: `nix-env -q` evaluates every single derivation, to find its .name
<clever> and if you allow IFD, that means downloading the source of a dozen packages as well
hiratara has quit [Ping timeout: 252 seconds]
<mmlb> o/ nahamu and gchristensen
<nahamu> o/
* mmlb needs to make irc available outside of lan
<ennui> how can i provide ssl certificates to curl in a nix builder? (yes, it's a hack, but it would be super practical right now)
<chisui> clever: YEEEEEEEEEEEEEEEEESSSSSS Finally
ennui has left #nixos ["ERC (IRC client for Emacs 24.5.1)"]
<chisui> clever: Thank you sooooo much
<clever> chisui: efiInstallAsRemovable tells grub to treat the internal drive as if it was a removable usb one
<TimePath> clever: if it actually produces .drv files, then I won't be able to do it at all
ennui` has joined #nixos
<clever> so it will boot the same way as the usb stick
hiratara has joined #nixos
<LnL> ennui`: SSL_CERT_FILE
ennui has joined #nixos
<chisui> clever: is there any reason for this not to be enabled?
ennui has left #nixos ["ERC (IRC client for Emacs 24.5.1)"]
ennui` has quit [Client Quit]
Fare has joined #nixos
<clever> chisui: its mainly meant as a work-around for when nothing else works right
ennui has joined #nixos
<brodavi> never mind, just a typo... everything works amazing I love nixos
<coconnor> ennui: also see NIX_CURL_FLAGS environment variable
<ennui> LnL, coconnor, yes, thanks. i'm actually looking for a way to create a cert file via nixpkgs. is this possible in simple way?
knupfer has joined #nixos
<ennui> -a-
fyuuri has joined #nixos
<LnL> I know nixos has a module for custom certs, not sure if there's an easy way to do it in a drv
<ennui> yes, i'll check the nixos sources
<ennui> yep, thanks!
chreekat has quit [Ping timeout: 256 seconds]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
chreekat has joined #nixos
lonokhov has quit [Quit: Lost terminal]
Fare has quit [Ping timeout: 240 seconds]
CapsAdmin has joined #nixos
<judson> I'm having trouble updating. nixos-rebuild switch is failing after spending several minutes trying to compile rustc.
<judson> I explicitly took rust out of my configuration.nix as a result, but it's still trying to build it.
<clever> judson: gist the entire tail end of the output, from failure to getting your shell back
<symphorien> it is a dependecy of firefox if i'm not mistaken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fgaz opened pull request #34270: twemoji-color-font: init at 1.3 (master...twemoji) https://git.io/vNP06
NixOS_GitHub has left #nixos [#nixos]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<judson> Once this run faills, I will.
<judson> firefox isn't installed either.
szicari has joined #nixos
alexteves_ has quit [Remote host closed the connection]
jrolfs has quit [Ping timeout: 240 seconds]
<gchristensen> judson: I didn't get it sorted btw
<gchristensen> judson: is it ripgrep maybe?
<judson> It might be? Meaning: I use rg, and rustc might be a dep of that.
<judson> Although I'd assume I could get a binary cache of rg...
<gchristensen> rustc is failing to compile right now, causing it to try to build locally for you
<gchristensen> b/c it is failing to compile on hydra, it can't provide the cached version for you on rustc, and can't provide a cached version of rg
ma27 has joined #nixos
<judson> That makes sense. So it's a known issue?
<judson> Phooey
<gchristensen> yeah
<gchristensen> sorry :(
<judson> Sometimes, that's just a relief :)
<LnL> 17.09 is almost going to update
alexteves has joined #nixos
iqubic has joined #nixos
<iqubic> Derivations confuse me.
<iqubic> I should really read those pills though.
<gchristensen> LnL: <3 thank you for getting rust fixed. it can be such a big job
szicari has quit [Quit: szicari]
<judson> I was just going to ask. Thank you very much.
glenn_ has quit [Ping timeout: 240 seconds]
alexteves has quit [Remote host closed the connection]
<LnL> wish I could get the llvm build out tho, but didn't get that working yet
alexteves has joined #nixos
drakonis_ is now known as Drakonis
<gchristensen> LnL: let me know if you need access to a powerful builder
<LnL> and an actual parallel build, not whatever it is now
<infinisil> Um, how do you cross-compile a package on nixpkgs?
<LnL> 3/4 of the build runs on a single core so I'm not sure how much that would help
<gchristensen> fair :(
<infinisil> something like `(import <nixpkgs> { somePlatform/SystemAttribute = ...; }).hello` ?
Mateon3 has joined #nixos
<gchristensen> infinisil: https://nixos.org/nixpkgs/manual/#chap-cross this might help
Mateon2 has quit [Ping timeout: 252 seconds]
knupfer has quit [Ping timeout: 252 seconds]
<infinisil> gchristensen: yeah i read that (okay just skimmed), but have still no clue, it doesn't actually have a single example of how to cross-compile a package
hiratara has quit [Quit: ZNC - http://znc.in]
<gchristensen> funny :)
Mateon3 is now known as Mateon1
<gchristensen> infinisil: then I'd fall back to the ol' standby, pingingg Sonarpulse
<Sonarpulse> hi
<infinisil> Sonarpulse: how do you cross-compile a package? E.g. the hello package for armv7l-linux
<infinisil> or does that not work yet
<Sonarpulse> infinisil: ah yes I didn't finish https://nixos.org/nixpkgs/manual/#chap-cross
<LnL> infinisil: nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs/lib>).systems.examples.aarch64-multiplatform' -A hello
<CapsAdmin> hi judson, i talked to some other guys here
<LnL> something like that should work
<CapsAdmin> i think for now having a temporary install of nix is too complicated and not really that big of a deal
<CapsAdmin> i also don't think direnv is needed for this which also makes things less complicated
phdoerfler has quit [Quit: Leaving.]
<infinisil> LnL: Oh nice, trying that
<infinisil> Sonarpulse: I saw that, but didn't know what to do with it (substitute an actual system and -A <pkg>)
<Sonarpulse> infinisil: let me fish out of history
<infinisil> nice, seemed to have worked
<Sonarpulse> oh i missed lnl's msg
<Sonarpulse> yeah that's it
<LnL> I don't remember where to get the regular platforms from like x86_64-linux or x86_64-darwin
<Sonarpulse> they are not in the example section
<Sonarpulse> *file
<Sonarpulse> unfortunately
<infinisil> Sonarpulse: LnL: specifically I was asking because of this: http://fgaz.me/posts/2018-01-25-nix-on-jolla1/
<Sonarpulse> but you can elaborate them
<Sonarpulse> nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz'
<Sonarpulse> is actually in the manual
<Sonarpulse> but its formatted poorly
<infinisil> LnL: pc32, pc64, defined in nixpkgs/lib/platforms.nix at the bottom
<Sonarpulse> that's some legacy crap
<Sonarpulse> platform is a field in the crossCompilation
<pbogdan> Sonarpulse: on that topic shouldn't https://github.com/NixOS/nixpkgs/blob/master/lib/systems/examples.nix#L36 be armv7(h)l-unknown (rather than just arm-unknown) ?
<Sonarpulse> pbogdan: yes there is some funky 32-bit stuff going on
iqubic has left #nixos [#nixos]
<Sonarpulse> that's why gcc and binutils have this arm native compilation exceptino
<infinisil> Sonarpulse: LnL: specifically I was asking because of this: http://fgaz.me/posts/2018-01-25-nix-on-jolla1/
<LnL> I seem to remember you doing something that parses x86_64-unknown-linux-gnu
<infinisil> Where somebody manually (!) compiles nix on armv7
<LnL> heh, I have a nix store on my nas :)
steshaw has joined #nixos
<Sonarpulse> LnL: I really need to write a nix pill or manual section walking throw all the eval from `import <nixpkgs> ...`
<Sonarpulse> LnL: impure.nix does the impure thing
<LnL> that would be great!
rauno has joined #nixos
<Sonarpulse> default.nix calls elborateWhateverWhatever
<Sonarpulse> in lib.systems
<gchristensen> please do =)
<Sonarpulse> lib.systems.platforms is a bunch of random crap and should go a way
<Sonarpulse> system and platform arguments on nixpkgs are also redundant and will confuse people
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] benley opened pull request #34272: prometheus-alertmanager: 0.9.1 -> 0.13.0 (master...alertmanager-0.13.0) https://git.io/vNPgR
<LnL> oh maybe it was (import <nixpkgs> { system = "x86_64-linux"; }).platform
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vNPgE
<NixOS_GitHub> nixpkgs/master 4fec62d Herwig Hochleitner: wineUnstable: 2.21 -> 3.0...
NixOS_GitHub has left #nixos [#nixos]
hiratara has joined #nixos
<infinisil> hmm, it seems that nix doesn't cross-compile for armv7 on x86
<Sonarpulse> infinisil: not true
<infinisil> at least not with nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs/lib>).systems.examples.armv7l-hf-multiplatform' -A nix
<Sonarpulse> what revision are you on?
<infinisil> week old master
<CapsAdmin> when i specify gcc in buildInputs, is that's what being used in buildPhase?
<CapsAdmin> like on macos i think gcc is just a link to clang or something
Drakonis has quit [Remote host closed the connection]
<infinisil> Sonarpulse: ah no, latest master
<infinisil> (the most recent commit was just a week old)
<Sonarpulse> infinisil: huh
Drakonis has joined #nixos
<CapsAdmin> ah okay, when i do gcc --version in buildphase it seems like it's correct
<Sonarpulse> check out pkgs/top-level/release-cross.nix
<infinisil> Sonarpulse: oh wait no, i was wrong
<infinisil> used unstable channel
<Sonarpulse> the cross job may not correspond exactly to the channel
<Sonarpulse> ah yeah that's probably old
<infinisil> now trying with master
jb55 has quit [Ping timeout: 240 seconds]
<Sonarpulse> *to the exampels
<infinisil> Ah yeah it's compiling now
<infinisil> nice!
<Sonarpulse> infinisil: not cached though?
<infinisil> Sonarpulse: nope
<infinisil> using the above mentioned command
<infinisil> some stuff was cached, not nix though
simukis has quit [Ping timeout: 252 seconds]
<infinisil> Oh, the build is failing though
<infinisil> /nix/store/ldwy8j2gbd01v6b7xw5663dirpzkmzyj-builder.sh: line 25: /nix/store/05v0bipbd5j9633fwak5x9n88cb5n11d-perl-5.24.3-arm-unknown-linux-gnueabihf/bin/perl:cannot execute binary file: Exec format error
Fare has joined #nixos
<LnL> Sonarpulse: this works (import <nixpkgs> { system = "x86_64-linux"; }).targetPlatform
<CapsAdmin> it's not really a nix problem i guess but i'm getting a permission error when using -o on gcc on macos in buildPhase
<CapsAdmin> it just says it can't create the output because "permission denied"
<Sonarpulse> LnL: cool, yeah the elaboration stuff does good work :D
<infinisil> CapsAdmin: what output are you specifying?
chisui has quit [Ping timeout: 260 seconds]
glenn_ has joined #nixos
<CapsAdmin> infinisil, the path?
randomstrangerb has quit [Ping timeout: 260 seconds]
<infinisil> CapsAdmin: yeah
<infinisil> Sonarpulse: Should I open an issue regarding the build failure for cross nix for armv7?
<Sonarpulse> infinisil: it failed?
<infinisil> Sonarpulse: yeah
<infinisil> see error above
<Sonarpulse> infinisil: oh nix itself?
<infinisil> yup
<CapsAdmin> cc1: fatal error: opening output file /Users/caps/goluwa/framework/lua/build/freetype_nixtest/temp.p: Permission denied
<Sonarpulse> oh its trying to use the cross-compiled perl
randomstrangerb has joined #nixos
<Sonarpulse> that's silly
<infinisil> CapsAdmin: yeah you can't write there in a nix build
<Sonarpulse> infinisil: if this is a nix issue that's goodo
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0f5f904 Michael Weiss: android-studio-preview: 3.1.0.7 -> 3.1.0.8
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNPaR
<Sonarpulse> yeah please do
<CapsAdmin> infinisil, how can i work around this?
<Sonarpulse> I should also add nix to release-cross.nix
fresheyeball has quit [Quit: WeeChat 1.9.1]
<CapsAdmin> or what's the proper way
<Sonarpulse> or nixpkgs issue
<infinisil> CapsAdmin: only write to $out, no touchy user paths
<Sonarpulse> whatever
<Sonarpulse> tag me and other people :D
<CapsAdmin> ah
ma27 has quit [Ping timeout: 256 seconds]
<Sonarpulse> LnL infinisil: I want nix-build '<nixpkgs>' --argstr crossSystem.config 'aarch64-unknown-linux-gnu' -A stdenv
<Sonarpulse> but nix doesn't support attrs paths with --arg / --argstr atm
<Sonarpulse> that's annoying
<LnL> huh it doesn't?
<Sonarpulse> didn't look like it :(
<clever> Sonarpulse: --arg crossSysstem '{ config = "aarch64-unknown-linux-gnu"; }'
<LnL> feel like I've done that before
<Sonarpulse> clever: true, but not so slick :D
<clever> Sonarpulse: also, --arg does things you didnt think it did
<clever> for every element in the -A foo.bar.baz, it will check if its a function, and auto-call it with every --arg
<clever> so foo, bar, and baz can all be functions
<Sonarpulse> clever: woah there
<clever> and each could accept different arguments, with zero overlap
<clever> nix silently ignores unused --arg's
<LnL> whoa
brodavi has quit [Quit: Page closed]
<clever> let me find that gist...
<Sonarpulse> `nix-build '<nixpkgs>' --arg crossSystem '{ config = "aarch64-unknown-linux-gnu"; }' -A stdenv` doesn't work because of my tech debt
<Sonarpulse> Imma make an issue
<LnL> didn't know the auto calling after -A
<Sonarpulse> it's a great test case
jrolfs has joined #nixos
chreekat has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
<infinisil> Sonarpulse: wait you are who on github?
chreekat has joined #nixos
dkao has joined #nixos
<Sonarpulse> infinisil: Ericson314
<Sonarpulse> *Ericson2314 I am
<infinisil> Ahh I thought so
<LnL> clever: neat
<clever> LnL: that should probably go into one of the nix pills or something
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
bfrog has joined #nixos
<CapsAdmin> infinisil, thanks it works
<CapsAdmin> now i don't need the --no-link-output :)
boomshroom has joined #nixos
<boomshroom> I'm back. Sorry I had to bail earlier.
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<boomshroom> brb. Printing homework assignment
boomshroom is now known as boomshroom-away
<sphalerite> I've just packaged an application that uses Qt, and am getting `This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".` when trying to run it. What am I missing?
stepcut has quit [Ping timeout: 256 seconds]
<clever> sphalerite: you have 2 different versions of QT in your nix profile
<clever> the very problem nix was meant to solve has returned :P
<sphalerite> I don't think I have any qt in my profile…
<clever> sphalerite: what does ls -l ~/.nix-profile/lib/ say?
aristid has quit [Ping timeout: 265 seconds]
<sphalerite> clever: haven't seen anything from you in a while, have you been away?
<clever> sphalerite: yeah, i was over in lisbon
ericsagnes has quit [Ping timeout: 260 seconds]
* sphalerite sent a long message: sphalerite_2018-01-25_23:26:03.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/YPcoPPEiApbAvwAXTaNPruMk>
<sphalerite> ^ ls -l ~/.nix-profile/lib
<sphalerite> somehow there is indeed qt stuff in there :o
silver has quit [Read error: Connection reset by peer]
<sphalerite> oh, nice! Holidays?
<clever> sphalerite: qt is in the propagated inputs of all packages using qt
<clever> sphalerite: and if 2 different versions wind up in the same profile, it fails
<clever> sphalerite: iohk meetup, whole company
silver has joined #nixos
aristid has joined #nixos
<sphalerite> oooh yeah, saw something about that on twitter
<infinisil> Sonarpulse: +1 to that
<clever> sphalerite: i am in this photo: https://twitter.com/InputOutputHK/status/955409451200253952
<clever> sphalerite: the only way to fix the QT problem you have, is to upgrade all QT using apps to be built from the same nixpkgs
<sphalerite> uuuugh but I only want to test this one package I'm building on top of master :(
boomshroom-away has quit [Ping timeout: 260 seconds]
<clever> sphalerite: thats why the QT stuff needs an overhaul
<clever> it isnt pure and makes such things imposible
<clever> switching to another user may help
<sphalerite> so the best thing to do for me now is... removing all the qt-using packages from my profile, testing, and then rolling back?
<clever> i suspect that having those QT packages in systemPackages wont cause an issue
<clever> but you can also just rollback when your done
<sphalerite> hm, I removed zeal from my profile (which seemed to be the only thing causing qt to appear there, no more qt in ~/.nix-profile/lib) but it's still happening
<clever> sphalerite: the package may also rely on its own propagated inputs being in the profile
<clever> again, its not pure
<sphalerite> so I need to root it out of systemPackages too? :(
jrolfs has quit [Ping timeout: 256 seconds]
<sphalerite> yesss! Installing it into my profile makes it work
<CapsAdmin> oh this is something i didn't think about. i want to use nix to fetch or build binaries, but those binaries will depend on other binaries within nix
<CapsAdmin> how can i solve this?
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #34275: otter-browser: init at 0.9.94 (master...otter) https://git.io/vNPol
NixOS_GitHub has left #nixos [#nixos]
jrolfs has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
Lisanna has joined #nixos
<CapsAdmin> it's kind of a difficult problem i guess (where do you draw the line) but i was hoping to get libfreetype.so working outside of nix
dejanr has quit [Ping timeout: 265 seconds]
Fare has quit [Ping timeout: 256 seconds]
<Lisanna> can a derivation's outPath be retrieved and used during eval time without causing infinite recursion?
ericsagnes has joined #nixos
<Lisanna> or am I stuck with build-time's $out?
<TimePath> Lisanna: does toPath work?
<TimePath> I think there's something like unsafeDiscardStringContext too
<judson> LnL, gchristensen: is there advice about what to do with the rustc stuff? Should I wait until there's a new push to the channels?
<Lisanna> TimePath err, what would I call toPath on?
<Lisanna> I can't think of anything that wouldn't require the derivation to be fully evaluated first
<judson> Hey, CapsAdmin! You said you're trying to set up "disposible directories" - I've been assuming that you have the same use case I do: development environments for different projects.
<judson> Is that anything like what you're doing?
<CapsAdmin> judson, not really i think
<LnL> judson: you can try this (self: super: { rustc = super.rust119bin.rustc; })
<Lisanna> it wouldn't be so bad, but for some reason configureFlags = "--with-foo=$(pwd)/foo"; is escaping those characters against my will >:(
<CapsAdmin> i just wanted to install nix locally in a directory and not on the system
<CapsAdmin> temporarily so i can safely delete it later
<LnL> judson: I expect it to update in the next few hours https://hydra.nixos.org/eval/1428898#tabs-unfinished
Fare has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]