2017-02-13

<benley> usually there would at least be a bug open or something

2017-02-12

<nekroze> LnL: that method works. I can set privateIPv4 using mkDefault to something broken like "255.255.255.255" and then once the vm is deployed it overrides it and the next time the proxy is deployed it uses the vm's real ip
<LnL> there's no way to replace existing options at the moment, hopefully I can get something working before 17.03
<LnL> you can even do something like that to get new services in 16.09 :)
<LnL> that's something nixops specific I think
<nekroze> How can I made an if statement to check if an option is defined? With nixops I am trying to use networking.privateIPv4 from another machine that has not yet been deployed so I need it to return something sane in that case as it is erroring saying it is undefined. I have tried isNull and hasAttr but it passes and tries to use privateIPv4 regardless.
<Judson> (Also, I'm poking at bundlerEnv's innards right now, and wondering if I can do something with the gemset.nix to make it work...)
<domenkozar> blame it on the cold or something
<MichaelRaskin> If a mysteroius failure in something that you have checked not to be a rev.dep. if your change — ignore, life on master happens
<MichaelRaskin> If a failure is in a reverse dependency and looks like something that can be related to your update: likely real
<MichaelRaskin> It may be better to just comment that TravisCI is complaining about something unrelated
<dtzWill> ndowens08: something like: $ nix-shell -p nox --run 'nox-review wip --against upstream/master'
<dtz> first it's my understanding using nixUnstable in profile shouldn't change the schema, so I guess I did something unusual to cause this?
<simpson> fpletz: Meh. I don't think that our CA infrastructure is high-Quality enough to be something that we should unilaterally trust.
<MichaelRaskin> And then takeovers of NixOS on top of something require you to access some of them
<clever> LnL: i was expecting something more pretty...
<LnL> yeah but that only returns the system and config I don't think you can access it unless it's exposed in config.system.build or something like that
<zimbatm_> taeradan: try passing `--profile-name something` to nixos-rebuild
<drakonis> i had to download something off the internet
<erlandsona> It's somewhere between /run/current-system/sw/share/icons/ (but that's read only) and writing my own derivation apparently that can write to $out/share/icons or something but I don't know how to write derivations yet so... been aimlessy wandering through whatever tutorials I can
<erlandsona> pikajude: I thought I saw someone with it setup on a forum somewhere or something. Maybe it's just late?
<drakonis> i know something i can play on reactos
<gchristensen> drakonis: the linux process scheduler is too slow for real time tasks, like safety-critical sensors or something something audio
<journal> in particular something that doesnt have breakage issues like synaptic ive read the improvements in the directory tree and like the looks of it. Im tired of breaking apt systems

2017-02-11

<jophish> simpson: depends how you want to access it from. Whenever I want a file from a particular package I use nix-build, so you could do something like $(nix-build --no-out-link '<nixpkgs>' -A package.with.words)/share/dict/words
<Mateon1> Do I need to switch something in the configuration to use things from the github repo?
<Mateon1> Hello, I recently heard of NixOS and am currently trying it in a VM. I'm probably misunrestanding something about nixpkgs, as in the github repo, at /nixos/modules/services/monitoring/netdata.nix, there is a package definition that seems to be enabled by `services.netdata.enable`. When I try to put that into my config, I get a message "the option `services.netdata` defined in [...] does not exist."
<drakonis> its only hacky it if it s a convulted mess to solve something
<Arguggi> (just started using nixos) If I add something like networking.firewall.allowedTCPPorts = [ 28493 ]; to my conf will other ports like 22 still be open since sshd is enabled in the conf?
<FRidh> gchristensen: yes, sounds like a good idea. Perhaps something like a bot that runs PR's when asked?
<khajvah> nope, something fails, I give up
<riptawr> basically should work by creating a new user, without the allowFree in profile and trying any nix-env -i something -f archive where something is unfree
<riptawr> how can i build something from the nixpkgs repo, that is not searchable by nix-env? could someone point me into the right direction?
<riptawr> if you check the arch newbie installation guide - it almost reads your mind as to what you may want to do when you are setting up something else
<pierron> riptawr: is there already something else than the wiki?
<mudri> riptawr: To your earlier question, I'd say absolutely make the manual like the Arch Wiki. We need something like that, and now there's nothing else to provide it.
<riptawr> well since we have nixos-option it would make more sense to put such configurations into the man or something
<Ralith> something to be said for buying a new machine after certified refurbs are available and the driver bugs have been sorted though

2017-02-10

<MichaelRaskin> Bind it to something in your WM
<MichaelRaskin> Well, OK, X.org log should say something anyway
<DarcsAurelius> I'm trying to install intero-0.1.20, which the emacs intero package uses by default. Only 0.1.18 and 19 are in the nixos 16.09 channels, so I looked at hydra, but none of the builds seem available anymore. Would the recommended option be to override the intero package with a custom src/version, or is there something easier I can do?
<maurer> Is there something to read about prime?
<MichaelRaskin> It may be that nvidia drivers just don't support reasonable versions of something
<maurer> what are you on? Something custom?
<gchristensen> LnL: is there something else I need to change there, to make it work?
<simpson> gchristensen: Presumably something easier than the developer confirming git hashes over IRC?
<mbrock> I'd say if you're a fan of OpenBSD-style simplicity (and I guess security track record), or something like that
<MichaelRaskin> Which may be something to change
<jophish> running the checkPhase of packages is something which could usefully be done by untrusted users
<jophish> There is something that nixpkgs@home could do which requires less trust than building the packages
<manveru> if you rename it to sha1sum of the out.png or something
<pie__> i want something that isnt a PITA for a few hundred images :/
<pie__> if i was versed with QT i could probably write something in a day :/
<pie__> well im hoping for something where i can just drag rectangles around all the things and have them exported to separate images
<ekleog> like, [something].genDhParams = true, and boom, you have your local dhparams
<MichaelRaskin> gchristensen: _now_ I start being suspicious of randomly guessing something…
<eacameron> ekleog: Ah ak. I guess I thought there was more magic behind it. So for anyone using something like nixops to deploy lots of servers, it seems way too manually to generate a dhparams.pem file by hand for every server. Is there a better way?
<eacameron> Do I need to install something?
<rly> ToxicFrog: I am thinking of something like meld.
<Unode> guys, is running nix on a non-standard location with non-root access supported? I.e. should I file bug reports if something doesn't work in such setup?
<jophish> I want kdeUnstable :) There's something in 5.9 I'd like to try
<sophiag> anyway, maybe you're onto something in that i didn't try unmounting it before remounting
<sophiag> i basically need to ask on a mailing list or something to find other nixos users with similar asus laptops
<mojjo> then inside ghci I load the code, and something is drawn to the window as expected.
<hendrik[m]> sophiag: i thought maybe something like this http://pastebin.com/4mEsnjKn
<sophiag> hendrik[m]: i think i see what you mean...it should be something like label.device and label.mountPoint?
<pie__> i had a weird issue where i needed to lower my mtu or something, but im pretty sure that was broken independent of user i used
<sheenobu_> i was hoping for something a bit more precise but i'm guessing it can't be helped

2017-02-09

<HappyEnte> ndowens08, or you can also write something like "let pkgs = import <nixos> {}" whereby <nixos> would be the name of the respective nix channel you have on your system (nix-channel --list) should be nixos by default
<GiGa> gchristensen, will those Idea changes eventually make it to 16.09 or do I need to do something special?
<k0001> dtzWill makefu thanks. I was expecting for something like `nix-shell --channel nixpkgs-unstable -p foo`, but it looks like this feature is not there yet.
<tnks> okay, I have an idea for something to try out... but I need some breakfast tacos before tackling recursion in nixpkgs.
<peti> domenkozar: Maybe ... I haven't thought much about this issue. Having nested overrideCabal calls tha revert each other is not something I have ever needed, hence this issue has received little attention from me.
<tnks> something caught me offguard: what would you expect this to be? doHaddock(dontHaddock(someHaskellPackage))
<ndowens08> so how can i see if something builds if git clone of the nixpkgs are marked broken?

2017-02-08

<bennofs1> ah, it seems to be something nixpkgs specific
<Dezgeg> I remember some failure when something was grepping for *pq*
<symphorien> is there a way to override something in a nixos module ? (I am thinking of the script which generates the grub configuration)
<xwvvvvwx> eacameron: yeah not sure what's up, something fishy, still not working, but I've seen a few new error messages... :D
<clever> gchristensen: somethings wonky with S3/cloudflare
<chpatrick> something's wrong with eigen/3.3 I think
<Dezgeg> system.extraDependencies = with pkgs; [ stdenv stdenvNoCC ] or something
<Dezgeg> ffuuuu... half of nix gets compiled with _FILE_OFFSET_BITS=64 (or something like that) and the other half with _FILE_OFFSET_BITS not set
<erasmas> maurer: yes, that's fine. conceptually it's a different package anyway. that behavior doesn't concern me -- I'm wondering if something else in nix will be thrown off by having files in the nix store with their own timestamps
<maurer> erasmas: which means that every time you build something that depends on it, you'll get an additional copy
<gilligan_> garbas, dunno if that is something that I need to solve with setting some rpath or something else entirely
<schoppenhauer> gchristensen, Dezgeg: so it must probably be something with pci hotplug
<Profpatsch> Something like data Foo { a :: Int, b :: Bool }
<Baughn> ..or maybe not Haskell. Just.. *something* full-featured.
<ToxicFrog> (in general I think nixos could handle versioned packages a lot better than it does, but it's not something I have the will to fix)
<ToxicFrog> I've run into a few places where nixos-rebuild stops working because one of the haskell packages updated in a way that broke compatibility with something I want to install that depends on it
<benzrf> and i think ive probably already asked this, but are there any plans or existing things that do hackage (or something else, i guess) and specifically have separate derivations for different versions of packages, and have correct-version dependencies
<Somelauw> but better to have it global, in case I want to launch something from emacs
<Somelauw> like dmenu or something
<sphalerite> Something similar to that worked for me previously, but I don't know what it was
<sphalerite> I'm trying to get a nix-shell with jupyter, but getting a collision error with nix-shell -p 'python3.withPackages (ps: with ps; [jupyter beautifulsoup4])'. Am I doing something wrong, or is this a bug?
<schoppenhauer> and what bugs me: if it showed some error message that something is blacklisted or disabled or unknown, this would be one thing. but it shows *nothing*
<schoppenhauer> so apparently it does something, but this something does not show in dmesg
<SuprDewd> e.g., I just made a derivation for Google Play Music Desktop Player, is that something I should consider contributing?
<musicmatze> Jup, something like that. As said: I do not have an idea what to talk about,... so I cannot play moderator ... but I'd love to hear what others might have to say :-)
<musicmatze> with some more nixers from here? I do not have a topic or something... just wanted to chat a bit :-)
<samvher> maybe I'm just doing something wrong or misunderstanding nix
<benley> unless you end up having to rebuild something like rustc, at which point you will be angrily shaking your fist at some unseen entity

2017-02-07

<simpson> teodorlu: Note that you can pass specific Nix store paths to nix-env, too; I was suggesting something a bit more recursive.
<Unode> and since I'm using a custom nix and non-root I don't know if this is something apropriate for the bugtracker.
<gchristensen> is there a way to ssh in to a nixos test while it is running? or something?
<sziszi> musicmatze, i studied the manual/wiki/etc for days with the strange feeling i'm missing something, and I felt really dumb. I tried it in a VM and it's working
<Biappi> am i doing something wrong or it's network shenanigans?
<corngood> efi is really simple though, you just need that fat32 partition of, like 512MB or something
<copumpkin> it won't unless something goes out of its way to
<copumpkin> it's _something_ in the fixupPhase flipping the endianness
<copumpkin> domenkozar, garbas: ridiculously weird behavior I'm seeing, might ring a bell with one of you: I have a buildPythonPackage that pulls in a python package whose _source distribution_ contains a java .class file (yeah yeah). Somehow during buildPythonPackage, _something_ flips the endianness on the 32-bit magic number in my .class file, thus making it an invalid classfile. I have no clue what in the python build infrastructure would ever
<teozkr> yeah.. it's just not something I've seen before
<bennofs> something is wrong with this abstraction if I need --ghc-option=-optl=-Wl,--no-copy-dt-needed to get a successful build... so many layers :D
<gilligan_> teozkr, I do not know the first thing about Scala/sbt hehe.. trying something now ;=}
<dancek> jophish: because I'm on a slow machine and don't want to wait for X to start, or because I just broke X, something like that
<sziszi> it had a so-called dynamic contrast or something
<ocharles> sziszi: what do you mean? XFCE comes with something that at least knows what the brightness keys do, and pops up some UI to show the current brightness level
<ocharles> Point is XFCE has it working out of the box. Just using xmonad I need to have *something* control the brightness. illum is nicer because it works in tty's too
<corngood> There's something about it in all-packages
<corngood> There's something you need to do to get game data for doom

2017-02-06

<shlevy> I don't suppose it can be done just once per X session or something...
<shlevy> gchristensen: Can you let me know if/when there's something that might be especially valuable to have me on
<gchristensen> ugh, yeah, LnL, something mysterious is going on.
<LnL> gchristensen: if it's kvm there's something you can find in /proc IIRC
<LnL> do you see something more in journald?
<MoreTea> gchristensen, huh, something that depends on hardware capabilities?
<MoreTea> The manual is awesome, but it's a reference manual mostly, not something you'd easily use to get started with it all.
<sziszi> so it's something like ABS/AUR in archlinux
<gchristensen> sziszi: nixos is a hybrid source/binary distribution, where by it'll use our build cache to see if you can substitute the compilation with something we already built
<k0001> Actually, I was forgetting something: Yes, I rebuild all GHC stuff from scratch in order to enable profiling everywhere.
<shlevy> k0001: Obviously sometimes you need to just get something done, but I'd prefer to pin it down when I can
<ocharles> Because you already override GHC or something?
<pie_> so im talking to someone and he had a big pain point when trying to do something on nixos, he had to make some changes to a file pretty high up the dependency graph, a shell script, and he would have to rebuild the entire system every time he needed to try a change, are there any good solutions to this?
<k0001> tippenein: you probably want something like this: http://dpaste.com/0AXYZYB --- hopefully the syntax is correct! Haven't tried.
<MoreTea> garbas, someone that was at FOSDEM probably should write something down about the BoF session we had there
<k0001> tippenein: you need to do something like this. http://dpaste.com/19Y3PRM
<k0001> tippenein: are you familiar with how to use something like `pkgs.haskell.packages.ghcjsHEAD.override`?
<pie_> gchristensen, could you link docs or something or can i just google that?
<setgid> Is there something like /etc/portage/patches from Gentoo?
<MP2E> so to bring it back to wine, you could write something like :
<setgid> let's say I install something like postfix or ejabberd, with a complicated configuration file syntax, and I want to set some obscure config option which is not supported by a nix module?

2017-02-05

<manveru> i use it in production... so if something's broken i usually notice
<nekroze> How could I make an option set for a custom module that is an array of key value pairs? something like `services.thin.extraVariables = { "COLOR" = "blue"; };` but I don't want to predefine COLOR as an option, just the extraVariables option.
<nekroze> How could I make an option set for a custom module that is an array of key value pairs? something like `services.thin.extraVariables = { "COLOR" = blue; };` but I don't want to predefine COLOR as an option, just the extraVariables option.
<mbrgm> haha! I knew you'd have something ready! great! :)
<MichaelRaskin> I think mine was something like Mandrake (before it was Mandriva) -> ASPLinux (a properly localized spinoff of RedHat before Fedora) -> A/BLFS -> Simply MEPIS that quickly turned into Debian sid -> NixOS
<MichaelRaskin> I have done LFS three times and by the third time I had something interesting
<Ralith> on Nix, if something breaks I can just put the problem off indefinitely by rolling back
<hodapp> right now, I'm trying to take this clusterfuck known as EmguCV and put a bow on it so it's a NixOS package... or something
<taktoa> yeah it's so easy to depend on something in Nix that it really imrpoves code reuse
<hodapp> one interesting effect is that there seems to be a lot less of me hacking things together so they just work, and more me trying to turn those same efforts into something people can reuse
<simpson> taktoa: I looked into their stuff briefly but was very confused. You'd think that something as foundational as this would be simple, right?
<simpson> peti: Sorry, I didn't mean to ignore you; what *is* the definition? I feel like it's always something about mutability or purity, but just like with "OOP", I feel like it's largely used to refer to things that it doesn't mean.
<simpson> Ralith: We have something similar; Monte m`def rv :Vow[Int] := f<-()` will assert at runtime that the return value is eventually an Int.
<taktoa> I mean, if haskell didn't exist I'd be using ML or something. I have no love for Haskell itself other than the fact that it implements a bunch of features I like.
<taktoa> I'm actually working on something in this milieu for a graduate project for one of my classes
<Ralith> taktoa: you mean unsafe coercions or something?
<simpson> taktoa: Monte has something that this avenue of static research usually omits: Monte, like E, can generate runtime proofs of correctness. You can assemble object designs and audit their correctness live, on the fly.
<taktoa> the only E I had previously heard of was a formal verification tool; looking it up now it seems to be a secure object-capability language. Capability-oriented security seems like a good idea to me, while objects (like those of Java) are not, but "object" is such an overloaded term that it's entirely possible that they mean something completely different
<taktoa> (by "getting nixos to work" I'm including all the work to port nixos modules to something less systemd-specific)
<hodapp> what can tell me why something is hanging around in /nix/store when I can't see any packages in 'nix-env -q' that should require it, and I've run nix-collect-garbage?
<Acou_Bass> Jackneill: im not a nix dev or anything, but id imagine the answer is something like 'if you feel like making one go ahead, but we arent interested' :P (though i think itd be cool to see a packagekit backend for it)

2017-02-04

<mzarella> am i missing something?
<Unode> drakonis: if you just want to get started, any text editor will do. If you want to spend some days procrastinating by finding the best editor that will suit your needs, here's something to get you started: http://www.tecmint.com/best-linux-ide-editors-source-code-editors/
<Unode> then that's something that needs to be fixed
<Unode> The previous error was something trying to execute __main__.py this one seems like an import.
<Unode> xwvvvvwx: so whatever wrapping you are to do you probably need to do it in python. Even if it's something as silly as calling subprocess.Popen() to open your shell script.
<Unode> the moment you need root access for something you hit a wall.
<Unode> xwvvvvwx: I don't know where the code bit that was pasted comes from. Is that atom configuration? I think the wrong part is that it's considering it a python executable an not simply something that can be called and should resove its interpreter via shebang
<Unode> MichaelRaskin: out of curiosity is it possible to have vmTools.runInLinuxVM as the default for all builds? i.e. something I can add to nix.conf ?
<nh2_> or is that something else?
<copumpkin> nh2_: I think puffnfresh recently asked something similar
<hodapp> why does http://fsharp.org/use/linux/#option-8-using-nix-on-any-linux-distribution-or-mac-os-x need that nix-instantiate command, versus something like "nix-env -f "<nixpkgs>" -qaP -A haskellPackages" to list Haskell packages?
<srhb> Hm, if I hardcode it in the chrootenv package list, it does work. So something is wrong with how I am passing that argument.
<lassulus> srhb: I guess you have boot.kernelmodules = [ something ]; somewhere and something is not a string?
<Ralith> (also, it's nice to not need root to add an emacs package or something)
<Ralith> are you on nixos unstable or something?
<Ralith> `nix-env -f emacs.nix -i` or something like that
<djames> The (outdate?) Nix wiki has something useful https://nixos.org/wiki/Using_Oracle_JDK_instead_of_Open_JDK
<sophiag> so clearly something to do with it is "./result/bin/emacs -q" does open a different emacs than the one i've been using, likely has the packages, but (find-file user-init-file) throws an error so i can't even locate its .emacs!
<gchristensen> yorick: is there something wrong with that?
<gchristensen> clever: around? I think I have something neat to show you.

2017-02-03

<aminechikhaoui> Hi, is there a way to append to a list based nix option defined somewhere else while overriding it..something like a recursive definition foo = lib.mkOverride 10 (foo ++ [ bar ]); ?
<simpson> eacameron: It doesn't add the current directory to the store unless you try to instantiate something based on the current directory.
<yorick> should I contribute them in or something?
<jabb> currently i'm trying to build something with a new gcc version and it's trying to use an old linker
<abbradar> <abbradar> something like that
<abbradar> something like that
<LnL> perhaps to prevent gc issues or something
<benzrf> is it picking the wrong version of cabal somehow or something?

2017-02-02

<Heffalump> can't you get a backtrace of the derivations somehow? I remember seeing something that does that, but I don't remember what.
<yorick> I've seen it update something once
<copumpkin> pikajude: I also proposed something like https://github.com/NixOS/nix/issues/1010
<copumpkin> pikajude: niksnut might have ideas for that. We discussed something like that in one of the tickets but I can't remember
<yorick> it's more like icecream with insects or something
<Turion> and revdep-rebuild seems to me like a fix to something that shouldn't have been broken in the first place
<corngood> Yeah xterm should be fine on most systems. I would have suggested trying it if you were using something else
<MoreTea> I'm looking for a `GEM_HOME` like setting to quickly hack something together
<AMDmi3> Dezgeg: yes, something alike, but with more features and wider coverage; fedora guys told be of it not long ago
<Dezgeg> is the goal of repology similar to https://release-monitoring.org/ or something else?
<copumpkin> niksnut: you have a moment to take a look at a sketch of something I want to write?
<sophiag> at least i know how to install it quickly now if it is in fact something in my config screwing it up
<clever> i think you probably missed something that is still keeping the disk open and doing things we arent expecting
<clever> something within the services.xserver block is probably the problem
<sophiag> clever: do you have any idea why my install could be failing due to something in modules.nix? searching github it seems it could have to do with boot.loader.grub...except i'm not seeing anything set to a bool as the error message is telling me
<luigy> how does one get wpa_supplicant after a nixos-install without any internet connection? is there something I can do from the usb
<sophiag> first was a conflict with enabling wireless in my config and networkmanager.nix. then i commented that out and it's hung up on something in modules.nix that was generated automatically :/
<k0001> gchristensen: Oh, no, wait... I did add something the last time: a `binary_cache_secret_key_file` entry to the hydra config. It seems the one in the store-uri was not sufficient.
<Somelauw> nope, something about locale not set-up right
<k0001> gchristensen: can I share my hydra config with you? maybe you notice something obvious that I'm missing.
<k0001> frumpagumpus: can you post your concrete example? likely there's a wrong reference or something like it.

2017-02-01

<k0001> I'm seeing this error "substituter $foo does not have a valid signature for path $bar" (from https://github.com/NixOS/nix/blob/7a65b2470eb53a320749d76746fbf65790183d9d/src/libstore/build.cc#L3338) when trying to run nix-build or something else that attemps to interact with the HTTP binary cache $foo. What does this mean?
<tvon> Apologies for the vagueness, but have there been notable console/vterm changes recently? I get a blank screen on boot now (in unstable), I can ssh in fine and I can figure something out, but wasn't sure if there was a common issue or not.
<cransom> OJFord: well, if it worked prior to changes, its likely you did something wrong.
<OJFord> If rebuilding after adding a package (from nixpkgs) says "cannot coerce a set to a string", can I have done something wrong, or is that a bug in the package's expression?
<maurer> Just namespacing, or is sthere something else?
<jophish> But IFD isn't something which I think nixpkgs should be doing very much
<joachifm> Sonarpulse: nix-build -I nixpkgs=... '<nixpkgs/nixos>' -A system or something?
<MoreTea> it can be swapped with something else entirely
<OJFord> Like there was something else I wanted that there was no package for at all, so I figured I'd build from source, which was immediately a rabbit hole starting with how do I get rust nightly
<OJFord> Hi folks, can anyone explain why vim is at version 7.4 on my system, freshly installed, when I can see on Github that v8 something is in the package? I've run nixos-rebuild switch --upgrade, on channel 16.09 stable.
<yorick> I think -unstable might have something weird, dns resolves failing everywhere
<drakonis> is this something i should be aware of
<simpson> gchristensen, AMDmi3: Something's screwy with that derivation: error: undefined variable ‘in-terminal’ at (string):1:6
<AMDmi3> is there something like that available online?
<MoreTea> made a note, will ping you when I've got something worth showing
<samae> I must have misconfigured something then
<maurer> peti: is there something you were hoping from above and beyond e.g. docker or lxc?
<pikajude> but something has
<muyfine> for haskell, I've been able to put something in like this to get packages and overrides in:
<gchristensen> "GPT stands for GUID Partition Table. It’s a new standard that’s gradually replacing MBR. It’s associated with UEFI — UEFI replaces the clunky old BIOS with something more modern"

2017-01-31

<MoreTea> What I typically do is to use something like this: https://gist.github.com/moretea/d31b5f0b624f8fe77be8e23564ee912b
<yorick> maybe they need i686 builds or something
<contrapumpkin> I guess it can be done as a giant iterator over ListBucket, checking if something is reachable from a precomputed set of releases
<jophish> everything in my 'haskellPackages' has been build with enableLibraryProfiling, but when I try to use this package set to compile something with 'enableExecutableProfiling' things fall apart
<sphalerite> looks like something that's built on decent engineering principles, but why does it want to do both...
<ixxie> unlmtd[m]: the natural thing - something simpson apparently considered doing but had no time for - would be to have the init system configurable in Nix, so you could configure init processes in your configuration
<unlmtd[m]> ya or swap the kernel for something else
<avn> well, tbh about plans to add something ;)
<nhooyr> then buildPhase, it fails in the buildPhase. I'm pretty sure there is something wrong with configurePhase. it tells me `no configure script, doing nothing`. I'm not sure why. I know there should be a configure phase though because of https://github.com/NixOS/nixpkgs/blob/61c48d9c45254e36e4ecb58ce7c263dda13bd9a0/pkgs/applications/editors/neovim/def
<srhb> You could probably do something after unpackPhase to get at it manually, but yea
<MP2E> or unstable or stable or something else
<thomassgn> hi, I'm having trouble running context after just upgrading my system. Keep getting something about resolvers scanning /nix/store and then it just works for a long time. No Idea if it actually does anything.
<Ankhers> yorick_: And what is the suggested way of adding something to my PATH? .bashrc doesn't seem to be executed.

2017-01-30

<twopoint718> I'm having trouble debugging what's going wrong when I get a "gem failed to build native extension." I've used `nix-build -K` and then inspected the saved tempdir. The problem is that the only thing in the directory is `env-vars`. I was sort of expecting to see a half-built gem or something.
<Profpatsch> Is there a holiday or something?
<taktoa> I mean it seems like the nixos module system already has something like that hacked in, so the value proposition is questionable
<gchristensen> yeah that'd be good, but to be honest getting _something_ out there is better than the almost-nothing we have, so I think we should just plow forward with what we've got :D
<LnL> I think we should at least add a references section or something
<tnks> I can't find any roots pointing something in there.
<k0001> gchristensen: Thanks. I'm doing something similar, i was just checking. But.. isn't there any chance that having two different Nix versions around (the one coming from NixOS-16.09 and the one being used by Hydra) will screw up some state in `/nix`?
<gchristensen> please, take the idea and make something good :P
<ToxicFrog> I must be doing something wrong here.
<mongodb-native> __Sander__: I have been using npm by installing nodejs and setting globalconfig to something outside the nix store
<ToxicFrog> At a guess it's picking up a plugin or something that's linked against 5.6.1
<Ralith> I need to debug something not outputting what it's supposed to

2017-01-29

<garbas> asymmetric: something along this lines https://gist.github.com/garbas/3c7cdb87ceef139e66519a1cd95947b0
<tilpner> asymmetric - Apart from the tray, everything is single-colored for me. Maybe it's something about my polybar config, it's a little older
<digitalmentat> or something like that
<Mic92> does somebody now how I can a command when my nix-shell development environment was updated? I want to do something like a `make clean` when that happens.
<tilpner> Can nix be configured to set the current timestamp on a result, instead of something in 1970?
<gchristensen> I think I dismissed it, but I was wondering if something like Discourse would be a better substitute for the wiki than moving stuff to the manual
<asymmetric> something with defexprs?
<musicmatze> rly yes, I surely have a limited view on the whole thing! Never claimed something else.
<Biappi> compared to something that sucks and seldom works, i'm not sure if it's better or worse =)
<rly> Something which can be completely automated.
<lhart> gchristensen: hum I don't think. And by freshed, I meant something like a month... haha. Tried things but my operations where kinf of limited as I'm far from a power user. Mainly basic operations, nix-env -i and nixos-rebuild.
<M-Rym> So it seems like if i supply an xconfig (autogenerated from the nvidia settings application) and set `xserver.config = '' ... pasted ... '';` then the nvidia module/driver fails to load? Should I be appending to the config or something instead? (xserver.videoDrivers is still set to nvidia)
<corngood> simpson: I just want to save someone wondering why GL 4 doesn't work. I'll try to do something for the manual at least when I get a chance.
<ryantrinkle> does anyone have something like dynamic53 (i.e. ddclient, but for AWS Route 53) packaged up for nixos?
<corngood> Seems like it should be linked to something like `allowUnfree`. Maybe `idgafAboutPatents`?

2017-01-28

<LnL> hopefully I can get something working to improve the diff
<djames> I was just asking if something like 'brew info' existed. if not, that's ok. corngood talked about the metadata so it makes it sound like probably not
<djames> I've used apt, homebrew, etc... looking for something analogous to `brew info <package>`
<swistak35> In NAT there's no drop-all rule in the end, so by default everything is accepted to the NATed ports, and no `extraCommands` or something like that to control it
<LnL> and pkgs.yourpackage.name could contain something different
<clever> bennofs: ive done something similar, https://gist.github.com/cleverca22/d70a6826db80d0ee2ae9074d83690e98
<clever> viric: something ive been thinking about recently, is to make a program that is designed to eat an entire core
<avn> so all lockups happens on write something like logs or sync -- systemd-journald, syslog-ng, irssi, browsers (chromium) complain on locking cache
<clever> hydra must have pushed more things over, GC found something to eat
<clever> avn: something like updatedb takes under a minute if i have tons of ram free, but can take 10-15minutes if i have 6gig of ram actualy in-use
<clever> unlmtd[m]: i have done something similar with not-os
<gchristensen> fpletz: I thought I "borrowed" this list from nixos-org-configurations or something but now I can't find it there
<clever> unlmtd[m]: it needs something like this to tell it what zfs to mount where, and that it needs zfs tools in the initrd: https://gist.github.com/cleverca22/70a08dfbaf95bf34ffd515779be638eb
<LnL> we could create a disabled jobset first, and perhaps enable it when it's approved or something
<mrkgnao> do I have to do something like run patchelf?
<corngood> tarinaky: that `isoImage` section in the manual is actually a good example of something that could use a little cleanup. The previous chapter mentions `cd /path/to/nixpkgs/nixos`, but that one doesn't. It also says " To build them you have to set NIXOS_CONFIG before running nix-build", but then proceeds to use `-I nixos-config=`. It probably shouldn't mention the env var there at all, since it's redundant, not explained,
<corngood> Sorry if I missed it earlier, but are you just trying to make a plain ISO? I assume you're trying to do something custom if you're not just downloading it
<tarinaky> I may have massively misunderstood something.
<corngood> Next time I find something I'll make a point of fixing it. I don't understand the process enough to think about improving it.
<gchristensen> if there was something that prevented that nicely, it could be worth talking about
<tarinaky> That's probably something that could be improved in the documentation then...
<Rotaerk> well, not dependency, but something that influences them

2017-01-27

<hodapp> I guess since Nix is dynamically typed, the optional argument could just be 'false' by default or something
<LnL> think I found something, just want an ext4 partition :p
<ryantrinkle> i.e. to make something that's compatible with both the old and the new hashes
<LnL> does anybody have an example of a hetzner deployment, I think I did something wrong with my partitions
<hodapp> aaack. I put "$out/fix_libs.R" in a string, but now if I use that outside of the given nix file, it evaluates to something else... I hadn't realized evaluation worked that way