00:05
<selfsymmetric-mu>
zeta: I don't think that configuration can be fully lifted to declarative nix yet. You still have to use a configuration file. There are options in `home-manager` and `nixpkgs` but neither one appears to be rich enough to fully replace the config.

00:05
<ryantm>
selfsymmetric-mu: So basically this pull request is saying "please, at a later date add these npm packages as part of the normal automatic updating"

00:16
<ryantm>
selfsymmetric-mu: Maybe we could get those in and do some kind of weekly or biweekly regeneration

00:16
<selfsymmetric-mu>
I am regenerating the nix expressions locally on my machine now. It might take a while for me to download the registries since apparently today Spectrum thinks it acceptable to give me 5% of the bandwidth I pay for. I'll put that up as a separate PR.

00:17
<selfsymmetric-mu>
ryantm: Yes, that sounds good. I'll do a sweep of the outstanding PRs.

00:20
<selfsymmetric-mu>
ryantm: Can you confirm: what I'm advising them is to remove all generated expressions, only have the JSON committed, and that at some later point these will be generated in bulk.

00:28
<ryantm>
selfsymmetric-mu: If we make some blunders, we can say "we are on unstable" and if anyone complains we can say, well we needed your help when this poor guy couldn't get his PR merged for 3 months.

00:36
<selfsymmetric-mu>
ryantm: Alright. I'm going to wait a day or two to let people get their PRs ready, and then I'll put up a PR with generated Nix expressions. Thanks again for your help! I'm going to go AFK for a bit now.

00:58
<jackdk>
matthewbauer: you passed the {} to fetchTarball and not the result of the import, but it seems to now be cooking. What changed, and what's stopping this from hitting the channels I'm subscribed to (nixos 19.03)/(nixpkgs unstable)

05:28
<teto>
I am on nixos-unstable, which breaks because of ssubversion with the error in "first broken build" https://hydra.nixos.org/build/93456836 . I would like to see in hydra the first build where it got repaired since it now builds on hydra (but hydra shows the "last successful build")

05:51
<InFlames>
I'm having trouble with steam, when I launch it via kde's launcher, it just closes, from the command line it says'internal error: /steamrt/setup.sh is missing, this runtime is invalid or corrupted'

07:47
<InFlames>
sphalerite: I am realizing I don't know how to properly update my steam, I tried sudo nix-channel --update; sudo nixos-rebuild switch, but that didn't seem to fix my issue, so I'm guessing I'm reinstalling the same cached version? I also seem to have this issue with vscode.

08:55
<thefloweringash>
nyanloutre: there's a section in the dispatcher that checks for potential kernel features by looking at /lib/modules/$(uname -r). this won't work as is, but I don't have a plan for how to fix it yet

09:31
<{^_^}>
nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.

10:12
<samuel02>
hi! I'm new to nixos and I'm trying to get it running under Hyper-V on a Windows host. I've gotten it running successfully but now I'd like to get it working in enhanced mode (see e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1553453) and need xrdp to be installed and configured correctly. I have two questions: 1. How do I make sure xrdp is built with the --enable-vsock flag? 2. How do I modify the config files (xrdp.ini and

10:13
<chaoflow>
Hey, it has been a while ad my nix got a bit rusty. I'd like to have an emacs package installed which is able to find a full compiler toolchain properly setup and pytjon with a couple of packages. I'd like to avoid recompiling emacs, but think there must be a way to wrap emacs but fail to find the right search terms. Any pointers appreciated!

10:21
<yurb>
Hi everyove. I'm trying to build a C++ package that has no ./configure, just a plain Makefile. I'm new to nix packaging and I'm not sure how to go about it. For instance, how to add include paths to the compiler flags?

10:39
<Shados>
Less "magically" and more "by quite a bit of gory bash scripting inside the standard nixpkgs builder script", but generally yes. There are always cases where things don't quite work out and you need to do things more manually, but it's fairly rare that you'd have to resort to directly replacing the build command

10:41
<yurb>
Shados: thanks. If I need to test that in nix-shell, I would run buildPhase? And if it doesn't find some includes that I have in buildInputs, how can I inspect the include paths that it injects?

10:46
<Shados>
yurb: if you want to run the whole build process within a nix-shell of a package, I think `genericBuild` should go through all the phases appropriately. But you might want to just nix-build it instead. As part the manual, the wrapper adds discovered includes to NIX_CFLAGS_COMPILE, so just check that environment variable within the nix-shell.

10:52
<chaoflow>
sphalerite: Using ~/bin/emacs and ~/bin/emacsclient with nix-shell shebang and starting emacs --daemon in .xsession does now what I want. Thanks a lot for the pointer! If anybody has advice on how to wrap the emacs package to use it in configuration.nix as service.emacs.package with additional things available (stdenvGcc, python, ...) that would still be great.

11:05
<Shados>
yurb: You shouldn't need to exclude configurePhase; it won't fail due to the absence of a configure file. That said, I don't think that should hurt anything. The cc wrapper's setup hook should be able to find the include dir. Wha was the output from `env` in the nix-shell?

12:27
<Taneb>
Is there a way to query which derivations are imported from to instantiate an expression? I'm trying to understand where some extreme slowdown caused by import-from-derivation in my office's codebase is coming from

14:05
<gchristensen>
(GitHub used to have a "bug" in that a public repo which has no license means you have no license to even read the code, but they fixed that with an update to the terms of service)

16:22
<kuznero[m]>
Hi All! When submitting a new package that depends on a number of new dependent packages (pythong-modules, node-modules) is it better to send separate PRs for individual packages or is it ok to bundle it into one?

16:42
<immae>
Hello there, is there an equivalent of "passthru" for modules (more precisely config)? I want to write a module that depends on some options, and I want to expose some computed values in return for use in other places

16:49
<kuznero[m]>
I am trying to create package for pgAdmin4 and already done with qt/cpp and python parts. Now node packages (yarn.lock). What should I do? Look into existing node-modules and see if I need to extend it? Any tips? I'm completely new to nodejs.

16:50
<immae>
yorick: yes, but I want to distinguish them from the configuration itself: it’s for "exposing" some values to the external, not internal (like passthru in derivations)

18:28
<zeta>
genesis: if i can't figure out how to do it for xmonad i'll use light instead, i have most of my function keys setup in xmonad.hs, i already have xmonad-brightness setup, all i need is to figure out how to setup the permissions

19:09
<etu>
buckley310: A NixOS system will *never* be half-upgraded as well. Either you get a new generation or you don't. So if for say the linking of the nvidia driver fails on arch, you may end up with a broken state.

19:32
<nschoe>
Hi everyone, is there a way to tweak the .bashrc of the bash when we enter a shell with nix-shell?

19:32
<makefu>
linarcx:dmesg looks fine to me, the only hint to wifi is "[ 3764.823434] wlp3s0: deauthenticating from 4c:9e:ff:9f:83:38 by local choice (Reason: 3=DEAUTH_LEAVING)" which is normally fine

19:33
<nschoe>
For instance, I'm always searching through my ENV variables for the packages inside my buildInputs, but `grep` returns the entire lines of course, so I have to manually add --color=auto, but I'd like that automatically when I enter a nix-shell.

20:23
<zeta>
before i try that i want to know what xorAxAx meant by line 25?

20:23
<kuznero[m]>
Can somebody help me please. I am trying to install node2nix from a fork. How can I do it? Releasing in the fork and chaning generated node-modules files seems a bit too much. Is there any better way?