2018-05-02

<adisbladis[m]> kuri0: Something along these lines:
<hodapp> something needs libgfortran.so.3, and I see it in (e.g.) /nix/store/3m8wl9f0jq3w6xb94br7dnnhi3jdl2h4-gfortran-5.4.0-lib/lib/libgfortran.so.3 but how do I go about getting at this path from something like shell.nix??
<palo> ah there is something called overrideCabal

2018-05-01

<Durbley> When I read a description of what Nix does it sounds obvious and non-revolutionary. But, I don't have much experience with regular package managers beyond just installing something I need. What does Nix do that other package managers don't?
<samueldr> not sure if something else exits or re-asks
<flokli> LnL: can't tell for sure. but that path exists in my local nix store, so it must have been built by something…
<nschoe> flokli, so, *everything* that i need is in there? Because the folks at #gstreamer told me the configuer phase output is written to configure.ac / config.log, it has something to do with meson, etc.
<flokli> nschoe: simply find the name of the derivation you're building, should look something like this: /nix/store/ia3asmc2hslw791rmyi2n99h80wgpf5b-gst-plugins-bad-0.10.23
<flokli> nschoe: I'd expect opus to have been disabled, as libopus wasn't found during configure phase. You should have seen something about that while building it
<nschoe> does anyone use gstreamer? Do you know if there's a separate package for gstreamer-opus or something?
<lejonet> Lisanna: something similar to this might work: https://github.com/NixOS/nix/commit/a957893b261a4438101c205e38fe8ce62b83a121 (note the 2 #! lines)
<Lisanna> am I wrong in thinking that I can't just invoke "gcc" directly? I'm pretty sure I remember reading in here that that doesn't work - you need to do a nix-shell or something to get a script to source to get that to work.
<colemickens> should I still be trying to use pypi2nix if my goal is to package something specifically in nixpkgs for NixOS?
<fadenb> Anyone else experienced something like that?
<Henson> hi everyone, I'm new to Nix and am using the package manager to build a Python application. I had difficulty getting the python27Packages.Nuitka package to work, but figure out how to get it to work by altering the nuitka wrapper script. Is this something I should notify somebody about?
<sphalerite> you'll need something like haskellPackages = super.haskellPackages // { … }
<MichaelRaskin> So I want to see if Matrix with quasi-mandatory backlog management support is something to welcome as a first-class thing on my system
<psychic1> It seems like every comand does it differently, nix-build, nix-env, nix-shell etc. am I missing something?
<nick_l> joehh: something that always works is copying the module and renaming it to myvsftpd.
<joehh> nick_l: can you use something like http://lpaste.net/365434
<guillaume> updated something like ten hours ago
<tilpner> And it did a full reboot, not something like in https://github.com/NixOS/nixpkgs/issues/39791 ?
<guillaume> Hi. My computer rebooted during a `nixos-rebuild switch`. Is this a new feature which reboot if there is a fundamental change (such as kernel version) or did I missed something obvious? (nixos-unstable)
<boomshroom> I think something's wrong with guix's package browser.
<drakonis> i know something that can be turned into modules
<boomshroom> drakonis: To prove that I can use multiple languages to manage NixOS. Once Guix is working, then we can get something like a Haskell DSL that can also work.
<drakonis> it is when something is turing complete but doing anything with it that requires being turing complete takes a lot of effort
<drakonis> something you can write code with that isn't packaging
<samueldr> (that's a neat trick I learned from here to find out where something is defined)
<boomshroom> ryantm: Interesting website. Not surprised in the slightest to see the AUR with the most packages. If something is available for WINDOWS, it's probably on the AUR!
<colemickens> Hm, okay. I was hoping for an example of something distinctly possible is Disnix. I'll keep poking around :)
<Ralith> clever: yeah, that's what I started with, was hoping for something a bit tidier :/ oh well
<Ralith> something just keeps corrupting my fontconfig cache and breaking terminus

2018-04-30

<boomshroom> It'd probably be extremely hard to break any linux system if you prevent all access to the terminal, but at that point you're dealing with something more like ChromeOS.
<boomshroom> Anytime you try to make something more idiot-proof, the universe makes a new idiot.
<Ralith> something is actively and repeatedly mangling my fc cache
<symphorien> Ah ok I misunderstood. It is something I have never tried
<Judson> symphorien, I wasn't trying to point something out - sorry if the context made that confusing. I've tried adding --add-roots and --indirect to my nix-shell calls, but I don't see anything created...
<cransom> gchristensen: well. i was lost for words when i saw how lib.toInt really worked recently. i'm ok with having to tell it that 'yes i really do want to convert this int to a string' rather than having it do something behind the scenes
<infinisil> drakonis: "something is done"? What exactly and what's the full error?
<drakonis> every time something is done, it throws up the "this is nixpkgs not nixos" error
<jtojnar> clever: would that be something that could make sense to be merged to nixpkgs?
<cristian2> So something in there is messing my path up. Thanks for your help.
<LnL> then it's the second, something is changing PATH afterwards and ignores the original content
<LnL> or there's something in your dotfiles that overwrites PATH
<maurer> Did the installer say something error-like near the end?
<jxf> Am I doing something wrong or is this a deficiency in the derivation?
<ixxie> who would be responsible to adjust the log level to debug? Is it something we can do in Nixpkgs?
<symphorien> kotoff: something like systemd.services.blah.wantedBy = [];
<dtz> for that you'll need something like nix-index, maybe.
<kotoff> infinisil: overbloated, I know, but it really worked. before something.
<infinisil> kotoff: That hash is not the same as yours (nix/store/fxn99iiy56iy65y3ahfqxzhvym9rd6cs-firefox-bin-59.0.2.drv), so something must be different
<ixxie> Hdphn: I am very happy; the configuration of my laptop and my server are both stored in a single github repo; if I break something I can generally rollback (although there are some fatal exceptions to this)
<nick_l> How do I make echo $SSH_AGENT_SOCK return something non-empty? I enabled the agent via the programs.ssh.* option.
<jethroksy> srhb: no, nix-env looks broken or something
<etu> ertes: It would be nice if the cache could know which version of nixpkgs that was cached and which one that is current or something...
<aszlig> clever: so in order to start a new para you need to do </para><para> inside the description (where the wrapped part is not visible), so i'd do something like <para>${replaceStrings ["\n\n\n"] ["</para><para>"] description}</para> instead
<jtojnar> probably needs to be changed to something like sed -re 's@Icon=libreoffice(dev)?[0-9.]*-?@Icon=@'

2018-04-29

<phenoble> Thank you all. Sure learnt something. I will have a look at Ansible, SaltStack and the like first.
<daveo> phenoble: the reason I say that is because it may take more time or patience to work with something more emerging
<daveo> phenoble: I'm not sure of what your problems are. But you sound like you are looking more to be able to configure/provision any other environment. As such you may be more interested in starting with something like Ansible or SaltStack (made in Python), Chef and Puppet (made in Ruby) or what have you. Those are the current 'big' configuration management tools I can think of.
<rszibele[m]> Is there any easy way to create an automated NixOS install? Something like booting from the usb and it automatically installs based on a configuration.nix.
<MichaelRaskin> This is a more complicated thing than you need, but just as an upper bound or something
<Judson> Between direnv and nix-shell, you can get something like RVM but for any dev environment - including "this project needs postgres, that one needs MariaDB"
<MichaelRaskin> phenoble: I think what you don't want is something you need to re-initialize (like nix-shell)
<daveo> having nix as something that absolutely has to replace npm, rubygems or gradle(?) seems a bit off
<sphalerite> as in, hard to add something like that to nix
<srhb> It probably wouldn't be hard to wrap something around dump-path, but meh...
<infinisil> andrewmiller1: Just something like @dtzWill on github, here's the neo4j module, which also shows the people that previously touched it: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/neo4j.nix
<andrewmiller1> everytime i start the server, it get shuts down because it's trying to output it's logging into the read-only store. i can't find any documentation on how to set up databases on nixos. is the nixos module i'm using bugged? or am i supposed to do something that i'm not doing?
<jtojnar> fendor: if something has FHS path hardcoded, you need to patch it
<fendor> when i want to package something from source and it needs to install a daemon, hence uses `sudo make install`... how do correctly package that?
<vaibhavsagar> ah, somehow I thought nixos.org still proxied requests and did rewriting or something
<vaibhavsagar> is there a header I need to set or something?
<Myrl-saki> Not something technical but theoretical

2018-04-28

<pstn> The localAddress was just a try to get something there. Tried it without it before with the same result.
<dhess> something about switching to std::vector
<sphalerite> zimbatm might know something about it, he wrote that article
<leo60228> I just installed libusb1 to build something that required it, and pkg-config can't find it. Why?
<MichaelRaskin> Ah no, I have something weird in environment (if only I knew what)
<ixxie> I am getting something pretty much like this in my recent generations: https://askubuntu.com/questions/954706/acpi-errors-ubuntu-16-04-17-04-can-not-be-installed
<ixxie> heya folks; so my recent generations show an error preceeding the boot log stating something like "[Firmware Bug]: TSC_DEADLINE disabled due to Errata"
<clever> boomshroom: but its also a lot smaller then full nixos, and could be usefull to get a kernel+rootfs working before you switch to something bigger
<benley> Wii U and Switch are practically the same platform under the hood, aren't they? With any luck it would be relatively easy to port something like cemu
<vcunat> (or something in configureFlags)
<srhb> Oh great. Something to look forward to. :P
<srhb> aristid: Ah, no, it'll be something in /nix/store most likely
<vcunat> Do they print something when they fail to start?
<FPtje> Does anyone have experience with 2-in-1s on NixOS? Something is disabling Wacom and touch screen input when I fold the lid backwards. I already figured that folding the lid backwards is considered the same as closing the lid, so logind.lidSwitch and logind.lidSwitchDocked are set to "ignore"
<epta> I've just switched from ghc822 to ghc842 on darwin, and it seems that all the packages need to be built locally. There is no cache for ghc842, or am I missing something?
<sphalerite> kuri0: something like map (filename: {name = lib.removeSuffix ".patch" filename; patch = "${./patches}/" + filename;})) (builtins.readDir ./patches) maybe?
<kuri0> sphalerite, yeah you will have to do something that makes /usr be different for each user
<kuri0> do i need to include something ?
<sphalerite> iirc it might get gc'd eventually, but for now there's no reason to since the bandwidth costs far exceed the storage costs, or something like that
<colemickens> at the end the out-link 'azure' is a symlink to '<hash>-azure-image'. I want <hash> without using `readlink` or something on the out-link. I assume there's a `nix-something` command?
<daveo> clever: what happened to my env? maybe I borked something?
<pirateking> udev something
<clever> PolarIntersect: something i have been wanting to do, is to modify boot.ini to be able to chainload grub
<clever> PolarIntersect: let me double-check something...
<clever> PolarIntersect: and if you have control of your dhcp server, you could do something like: https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix
<PolarIntersect> Should I reboot or does something else help?
<PolarIntersect> seems like another Windows disk or something
<PolarIntersect> That's the one that I think I need to wipe the MBR on or something
<wilornel> darn, then there's something wrong because I did the following: Shut down instance. Resize volume in the aws console. Boot instance. And then, when I run `df -h`, I see

2018-04-27

<clever> leo60228: something changed that caused a mass-rebuild
<leo60228> i didn't just notice something weird
<leo60228> there's something weird going on here...
<cindylind> I still can't get systemd.mounts working. The type it wants is a list of submodules 'config.mod = [ { foo = 1; bar = "one"; } { foo = 2; bar = "two"; } ];'. But when I do something like `systemd.mounts.something = [ {where = "somewhere";} ];` it complains.
<clever> leo60228: something in a nix-env profile is either corrupt or was modified improperly
<ghostyy> i generally write the ISOs to a usb stick and then when im done use it for something else...
<ghostyy> i just sort of assumed it would do something completely idiotic and write garbage to the new disk but i guess nixos is smarter than that
<ghostyy> i see in ps its running nix-store --export or something like it
<kreetx> if I'm not mistaken, the nixos-infect did try to do something with partition table too
<rihards> I see that haskellPackages.lens currently is at 4.16.1 in my channel (just updated). aren't such incompatibilities caught automatically (by the nix build farm or something..?)
<clever> Myrl-saki: one of the getline functions or something is un-interuptable, and can drop signals
<nliadm> ah, so if I override a package in my overlay, and also callPackage something that uses that package, it'll get resolved correctly
<nliadm> if I'm writing an overlay, should I be just using super.callPackage straight? or should I be using something like `callPackage = super.callPackageWith (self)`
<sphalerite> dx_: do you maybe have acpid or something else (other than systemd-logind) that might be suspending it when you close the lid?
<M-bbigras> I cloned nixpkgs and updated a package. I know I can do `nixos-rebuild switch -I nixpkgs=/path/to/my/nixpkgs` to install it but it seems to reinstall everything or something like that. Is there a way to only install the package I modified and its dependencies?
<Taneb> Is there a tool that can take a list of paths to the nix store (or something similar) and give me a graph of how they depend on each other?
<goibhniu> there might be an environment variable you can set that helps, or something like that ... I'd check a few
<srhb> Do it in a nearly empty directory or it'll copy something big to the store.
<s4sha> yes, it's updated to 18.03 since yesterday evening, but you said something very important I think : I did garbage collect, maybe this morning, I would have thought it was before I tried to build but I could be wrong
<srhb> If you didn't garbage collect, you must have changed something else. Or one of your derivations is pulling in an unpinned nixpkgs.
<lukego> Just a sandbox build. and it would have to be something that changed in a recent nix.
<srhb> Mic92_: Rust seems really good if those kind of metrics are needed. Would be great if we could achieve something similar, but I have no idea what it would take. It's probably horrendously difficult. :P
<tanonym> Well, I have encountered unable to allocate memory error when trying to install something with nix-env -i foo
<tanonym> Looks a bit involved to switch the size, but would do the trick if I need a larger swap to build something.
<srhb> If you ever end up building something non-trivial 4GB is very little.
<srhb> Mic92_: Hmm, how does it not handle zfs encryption? I thought I was using that. Maybe I have something weird going on. :P
<lukego> I'm looking for a simple way to import a binary file into the Nix store without its store path being impacted by its file name. Something that will work in older versions of Nix. Any ideas?
<Dezgeg> you can run hydra-eval-jobset (or maybe it was named something else) from command line without the server up
<steveeJ> can I get an environment where I can just "pip install" something?
<Lisanna> or something like that
<Lisanna> but, if there's something that lots of people like, and it's in the form of a patch, then I don't see any reason why it shouldn't be included as an alternate version of a particular package
<Lisanna> something like that
<tanonym> You wouldn't happen to know what's missing in my install: each time I try to do something like nix-env --help I get an error less: invalid option -R. Man nix-env just gives me a no man page message.
<unlmtd> Im trying something with it now
<Lisanna> jcrben it probably has more to do with your physical network config or something outside of your machine than anything in nixos itself, since you seem to be the only one experiencing this
<jcrben> kinda surprised that something weird like this could sneak into a declarative system (fresh install of 18.03)
<Lisanna> I mean, something weird is obviously afoot
<MichaelRaskin> (maybe, just maybe, limited scope and 20 years of use have something to do with that…)
<MichaelRaskin> I guess that stuff should be isolated in a jail or something anyway just because stale proprietary blobs, sweet format parsing bugs!
<dhess> I'll look for errors later, maybe something broke in a recent nixpkgs.
<ghostyy> is there something that im suppsoed to run after that
<Lisanna> I was thinking something like the opposite to how stdenv fixupPhase will strip the rpaths from binaries that are unnecessary
<Lisanna> clever okay, thanks for the snippet. I think I can build something more general-purpose out of this
<clever> Lisanna: that lets you quickly iterate thru a list of libraries, and also re-patch something that tries to auto-update and unpatch itself
<clever> colemickens: when the client tries to read something, it will relay the request to the daemon (qemu), which then uses standard posix stuff (readdir, open, read, write) to perform the same request against the host
<colemickens> something related to 9p?

2018-04-26

<Lisanna> or am I doing something dumb
<clever> tomberek: builtins.fetchgit will just run the real `git ls-something` and do what git normally does to filter it
<clever> nix also keeps track of what is needed and will refuse to let you delete something thats potentially in-use
<infinisil> symphorien: Yeah I know, did I say something different?
<infinisil> ikitat: you can just not use the channels by changing your NIX_PATH to point nixpkgs to something different
<ikitat> Can I do something like nix-channel -add src/my-nix-pkg-repo ?
<ertes-w> i assume it has something to do with autoreconfHook
<clever> dx__: /nix/store/f1c5k5vac133n9m8kvnda16m8373zm7y-mutt-1.9.4 is not on the binary cache, so something is different on that machine
<infinisil> romildo: something like `nixpkgs.overlays = [ (self: super: { perlPackages = (import (builtins.fetchTarball "github.com/nixos/nixpkgs/archive/master.tar.gz") {}).perlPackages; }) ];` would work
<ottidmes> Yaniel: maurer: Thanks for letting me know, I have seen rustup mentioned by name, but did not yet know what it was exactly, I will let my friend know about it, before he wastes time on trying something else
<maurer> Nightly doesn't bump unless RLS (something IDEs and fancy text editors use), rustfmt, rustc, and cargo build on linux, windows, and mac
<ottidmes> maurer: So like infinisil suggested and like you showed in that shell.nix, if something outside the rust world is needed, I would just have to build an nix-shell for it, and then it is able to find it and link it properly?
<Ralith_> symphorien: I think the consensus is that packages should generate their bindings once and commit them to version control so people don't need (a bindgen compatible version of) llvm installed to build your package, but in some cases this is very difficult due to preprocessor use or something
<adamt> srhb: No, I didn't read the related issue, but I'm not going to try and split it up into several phases. But it does seem like something is totally off with the build taking 10h+
<srhb> etu: Something like https://logs.nix.ci/?key=nixos/nixpkgs.$PRNUMBER ?
<etu> Hmm, if I told ofborg to build something and the result isn't finished yet. Is there any way to see the current status? How do I locate that?

2018-04-25

<infinisil> Nixos uses the module system to allow you to set nixos related things, and those don't generally make sense for something like a nix-shell
<iitalics> when i do 'nixos-rebuild boot -p something -I ...' it affects the default configuration on the boot menu
<pirateking> infinisil: reminds me of graphs if you want something like that
<acowley> I can set MANPATH myself, but then something like "man emacs" no longer works (I have emacs installed with nix-env)
<acowley> I guess I don't really understand how multiple outputs works. I would have thought that passing something like feh.man to nix-shell -p would be as though you had a single-output derivation feh-man.
<zybell_> sasoilev there is something like dbus-<sth> --monitor (cant remember rn)
<acowley> When I run that same command, I get "No manual entry for feh". So something is screwy.
<nick_l> simpson: because I need to provide proof for something which cannot be proven, but yet would still be a good idea.
<betaboon> samueldr: I'm not quite sure, will have to talk to our web-dev. i just tried keeping the temp-build-dir: the yarn_home/.cache/yarn/v1/ is completly empty. so i assume something else might have gone wrong :/
<samueldr> so at least looks like it started okay, maybe angular does something weird with npm dependencies?
<\\\\\\\\\\\> sphalerite: Ah, I figured I just missed something in the documentation. Coming from Arch, the package configuration here is entirely foreign to me.
<Zimm_i48> tilpner: I wanted to do something simpler today, I tried nix-shell -p ocamlPackages.cohttp-lwt-unix ocamlPackages.ocamlbuild
<milka> Put something like tx0.co/w...
<tilpner> Put something like tx0.co/w into your configuration.nix
<nick_l> How do I turn a binary file into a derivation? I.e., something ends up in the nix store which I can refer to?
<Biappi> (if you need something related to swift, you can hit me up, tho =P)
<sphalerite> Ahmedkh: you should be able to do this as quite a simple expression, something like runCommand "AnonymousPro" {buildInputs = [unzip];} "mkdir -p $out/share/fonts ; cd $out/share/fonts ; unzip ${fetchurl {url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/AnonymousPro.zip"; sha256 = "hash goes here";}"
<YegorTimoshenko[> LnL, sphalerite: i ended up with something like this: https://gist.github.com/yegortimoshenko/4cead331ae140d0ac52b06b90d11f700
<adisbladis[m]> sir_guy_carleton: I'll usually give the ESP 100-500M something
<lo_mlatu> boomshroom: nix didn't use a local installation, actually I install it in a fresh virtual machine, so I think there is something wrong in the nix-expression
<Myrl-saki> something

2018-04-24

<srid> Note: the part `(import ./reflex-platform {}).project` is a Nix abstraction to use Reflex, which will need substituting for something builds a Miso app instead.
<Unode> clever: this is a non-nixos, /share/nix setup running on top of NFS. So I wonder if something else is pushing things out of the filesystem...
<clever> i once used force when trying to get rid of something
<Unode> clever: I can only think of one user that might be able to do that but cannot imagine a reason why he would force delete something.
<Sonarpulse> bgamari: oh i hope I didn't reload in repl or something stupid like that
<Sonarpulse> something to do with the manual install
<Sonarpulse> something like that at least
<Myrl-saki> I need something like --init-file or --rc-file, but is guaranteed to execute.
<Dezgeg> not a bad idea, but probably should be something more formal than some github comment
<dhess> I do this so often that I feel I must be missing something that makes this easier. Am I?
<mbrgm> is there something you could think about for auto-generating incrementing SOA serial numbers for DNS using nixo(p)s?
<Myrl-saki> clever: How do I nix-env an expression? -E gives me error: attempt to call something which is not a function but a set, at undefined position
<clever> angerman: something else that could help with incremental builds, seperate each library, executable, test, and benchmark into its own derivation
<angerman> boxscape: I would hope he nix2 announcement has something to say about it.
<sphalerite> grafoo: as for running nix itself, you can either compile from source and install to ~/.local or something, or use this portable nix thing by Matthew Bauer https://groups.google.com/d/msgid/nix-devel/CAFnZKr0qV_SQ_c2rQ%3D_%2BMNtBC405V-e_KEpuSpf0GrVJPj_RZQ%40mail.gmail.com
<bfrog> isn't there something similar for centos
<LnL> grafoo: nix 2.0 does have a feature to run something in a mount namespace
<sphalerite> symphorien: if you want to refer to a modified package with packageOverrides you have to do something like super: let self = super // {stuff goes here}; in self
<makefu> symphorien: packageOverrides are now superseeded by overlays, https://nixos.org/nixpkgs/manual/#chap-overlays . you can just do something similar with nixpkgs.overlays = [ (self: super: oldpackage = super.oldpackage.override { } ) ] :)
<lostman> hi all. I'd like to install llvm 7 using nix. can I somehow make use of existing derivation without copy-pasting it? it has something like this `src = fetch "llvm" "0224xvfg6h40y5lrbnb9qaq3grmdc5rg00xq03s1wxjfbf8krx8z"`; can I override the sha somehow to make it install a different version?
<hyper_ch2> and then in virt-viewer I have from the top menu that auto-adjust something
<clever> sphalerite: something else i just remembered, is that the vnc protocol allows you to query for changes within a certain region
<srid> Yesterday I saw systemd continuing to use older path even when `foo` was rebuilt. Something went wrong somewhere...
<adisbladis> joko: You can always do something like:
<adisbladis> butchery: Then it's likely that gobjectIntrospection was a propagatedBuildInput of something before and it was removed.
<LnL> not that I know of, but I think something like this is almost the same nix-store -qR <path> | tar -T - -czf foo.tar.gz
<grafoo> hej! i'm new to nix and also played a little bit with guix. what makes me wondering if there's something like `guix pack` in nix.
<hyper_ch2> robstr: I have something similar like spharelite recommends: https://github.com/sjau/nixos/blob/master/configuration.nix#L7
<mightybyte> Dezgeg: Ahh. I think it's been automatically created every other time I installed nix, so I wasn't sure if something went wrong.
<srid> so i've got something working, but my systemd unit (user) files is not being reloaded. it always uses the old unit files. something strange going

2018-04-23

<zybell_> srid:because working directory isn't a directory unless you do something unspeakable dirty.
<Judson1> I think it has to do with something called pytest?
<simpson> But here's some reading material if you need something to read for a while; just don't discuss here: https://plato.stanford.edu/entries/epistemology/
<kisik21> Could I add to string? For example, write something like services.lighttpd.extraConfig += 'somestuff = /var/root/somestuff'?
<sphalerite> scottviteri: yeah… you'd have to do something like '(physics.*game)|(game.*physics)' which is rather unwieldy
<scottviteri> Or am I missing something
<sphalerite> kisik21: then you were doing something else before :p
<kisik21> sphalerite: It seems to... actually do something,
<scottviteri> ixxie: So the exact task is to look at something like --
<simpson> kisik21: Unless I missed something, it's not possible to have systemd services inside a container.
<scottviteri> But the immediate answer is that there is no general command that I can use to do something like grep through the configure file
<ixxie> I am trying to understand better to learn something because this sounds like a cool idea xD
<infinisil> Something like import "${builtins.fetchTarball ".."}/firefox-overlay.nix"
<abcrawf> I was hoping to do something similar for Firefox.
<lejonet> Just didn't know what the proper kernel config entry was for sysv shared mem, so I thought it might be something they patched out (because when I grepped for shm in /proc/config.gz, I found that shmem was indeed y)
<fendor> clever, no i just assumed i did something stupid
<nick_l> clever: You mean something like this? packageOverrides = pkgs: { dd_agent = pkgs.dd-agent.override { buildInputs = <??>; }; };
<Myrl-saki> Is there something wrong with why-depends?
<hihello> I'm thinking because the log says 'extconf.rb failed' that something nix'y needs to be added to this https://github.com/eventmachine/eventmachine/blob/master/ext/extconf.rb
<Myrl-saki> srhb: So I could also do something like -A rebuild?
<srhb> You can also nix-build '<nixpkgs/nixos>' --arg configuration 'import yourfile' ... or something like that
<srhb> adamt: That is, your method is missing something like nix-env -p /nix/var/nix/profiles/system --set $new-profile
<srhb> adamt: Are you doing something Weird^{tm} or is it just: upgrade channel/nixpkgs src to 18.03 and rebuild switch?
<adamt> srhb: Maybe that's possible unless the installer does something weird (e.g. using something other than /mnt as chroot)
<jcrben> seems like I might've gotten EFI and BIOS mixed up or something...

2018-04-22

<infinisil> mikka231: I think i got something
<nur0n0> why am I getting "attempt to call something which is not a function but a set" error from `nix-shell -p "python3.6-markdown2-2.3.5"`? I'm pretty sure I've asked for python packages this way before..?
<simpson> kisik21: TBH this is kind of a hard problem and it's worth looking into something like k8s with nix-k8s; https://github.com/xtruder/nix-kubernetes
<kisik21> Something like a diskless NixOS.
<kisik21> Mass rebuild will be only if something like glibc would be upgraded, right?
<MichaelRaskin> In general, I am not too bad at guessing something close to the issue, but it doesn't mean interpreting my guess is easy.
<simpson> To be clear, I *do* ask the Monte community for $100/mo (USD) for hosting their Hydra. I could work to turn that into something more self-service, but the price tag might be a little stomach-turning for folks. Hydra only runs on beefy bois~
<srhb> simpson: Surprisingly large. I find it much easier to just run something in the local nix farm than in the cloud, but a lot of companies don't...
<bhipple[m]> Is there a way I can make `nix build` rebuild something, even if it's in the store? I want to double-check my shas are OK for a PR changeset
<infinisil> lejonet: using something like `pkgs.writeText "${pkgs.hello}" "foobar"`
<alexteves_> well my only concern here is that hydra errors while building for that or something
<tazjin> I'm assuming this has something to do with changes to fetchgit - there's the new `builtins.fetchgit` but this is `pkgs.fetchgit`
<clever> but there is no way to tell nixops to adopt something that youve already created
<softinio> ahhh something interesting I get colors when I use ssh , I don't when I use mosh !
<softinio> maybe this is the issue? Should it be something else?
<softinio> I am using zsh with same dot files as i have been using on mac so wondering if that has something to do with it
<jluttine> need to think of something hmm.. perhaps fine-tune the wrapper so that it calls without the absolute path (use alias for instance) or patch the diskrsync codebase so that it uses diskrsync on the remote machine regardless of how it was called locally..
<jluttine> it's something that diskrsync tries to launch probably
<angerman> clever: nah, it’s still trying to rebuild ghc… something funny’s going on.
<sphalerite> but you can define a `nicerTryEval` function or something
<angerman> Can I somehow build something like `{ x ? <x> ? /path/to/x }`?
<sphalerite> thblt: right, but rather than grabbing it from the wrapper, I'd just create a symlink to it in my profile and have loadpath set to ~/.nix-profile/emacs-load-path or something
<clever> i was thinking of something simpler then dwarffs
<vaibhavsagar> michas_: would you consider changing from using master/slave to something like coordinator/worker?
<Lisanna> Geraldus whenever you type <something> in a .nix expression, nix just looks for "something" in your NIX_PATH variable
<Myrl-saki> Am I doing something wrong?
<Lisanna> iwxzr what's in your network.nix? can you pastebin it or something?
<nur0n0> its funny, I was using arch systemd-nspawn containers to do package management before I switched over to nix. I'm planning on replacing the most I can with nix, but those containers are still handy tools to get something running quick and dirty
<drakonis> something something

2018-04-21

<tokudan[m]> i believe i saw something like that in some blog, but i cannot find it anymore
<ryantrinkle> makefu: ah, ok; maybe they took out their tests or something
<max___> I can't even doa make -p $out, so I'm afraid I'm missing something basic :p
<nur0n0> samueldr: cool, I think i'll go with something similar. fwiw, using something like http://entrproject.org/ should remove any concerns about forgetting to update the yarn.nix
<nur0n0> samueldr: sorry, something must off in my mental model. why would a node_modules directory be created? I assumed the nix-shell would just make sure `/nix/store/***webpack/bin` is in $PATH
<phry> nur0n0: or you access it by importing the composition file and access it via "${composition.sources.webpack-4}/bin/webpack" or something like that
<phry> nur0n0: when you try to execute webpack (I guess from a buildPhase script or something), are you just calling "webpack" or are you specifying the package that should contain it?
<judson> Did I misunderstand - I thought there was something semi-magic that happened when you add cmake to a stdenv?
<jluttine> sphalerite: pretty sure i'm just doing something wrong.. i updated the pull request
<jluttine> hmm.. one package derivation needs a path to ...../lib/cmake/Qt5. i just gave it as "${qtbase}/lib/cmake/Qt5". now it started downloading and building a huge amount of dependencies... i'm already running KDE and a bunch of Qt apps, why these downloads and builds.. am i doing something wrong..
<clever> robstr: it works something like resources.security-groups
<jonasem> I was looking for something that has been removed...
<jonasem> I jumped in to nix-shell and ran the commands manually. I then ran "find . -name "poldi-ctrl" " but got no results. It seems something is wrong when compiling :S
<cinimod_> I think something upgraded my nix
<cinimod_> Can I do something like `nix-env -f /Users/dom/nixpkgs -i let gnuplot = super.gnuplot.override { withQt = true; }; in gnuplot`?
<clever> kuri0: ah, you need to set something in the area of nixpkgs.config, or nixpkgs.system, not sure on the right value though
<Akii> yey error: attempt to call something which is not a function but a set, at /nix/store/xdfsm3pdjalxl4l8lr7dswidhh8yr0qp-nixos-18.03.132021.c0c5571ec1a/nixos/lib/customisation.nix:74:12
<clever> you tried to put something into nixos imports that didnt fit
<Akii> error: attempt to call something which is not a function but a set, at /nix/store/n4r4293bxrf5c4kivgzsimsmvrqcf5ny-source/pkgs/development/haskell-modules/make-package-set.nix:88:27

2018-04-20

<ottidmes> kerrhau: Can't you just use wrapProgram? Or what is your problem / what do you try to achieve? I checked, and sbcl is already packaged, so I assume you use something in the REPL that is using that particular library. You could also probably use nix-shell for this.
<ottidmes> das_j: huh, yeah that is not going to work, so options is like config, so if you define something inside options like you do with domains, you could set the option via config.domains (i.e. a direct correspondance between options.domains), you probably want to have options.certs = { ... } so that you can set certs = { ... } in your config
<das_j> Hey everyone, I'm currently trying to write a module with an attribute set of strings. So the type for the option is lib.types.attrsOf lib.types.string. However, when trying to assign something to the attribute set, I get an error message because it seems like the option is not defined.
<Rusty1_> try reinstalling it ? or would that destroy something?
<LnL> infinisil: I read evaluation ... errors and thought I broke something :p
<judson> Do I need to specify the system or something?
<hodapp> and haven't the slightest idea where to look up something like this
<Alling> zybell_: Should I really [be aware of the limitations and assumptions] though? While interesting, I would not consider such knowledge about the Linux kernel and NixOS something I expect an end-user to possess. Recompiling the kernel with a modified symlink depth limit sounds difficult even to me, and I am not a complete noob. Hm. I wonder why this is not mentioned in the wiki about Bluetooth. Shouldn't pretty much everyone have the sam
<hodapp> hmm, if I have something made with buildPythonPackage can I override 'version' and 'src' easily or must I copy the entire derivation?
<ShalokShalom2> something with adding a mirror server or so?