00:02
<reanimus>
Do the ACME systemd timers fire really often? Let's Encrypt has ratelimiting in place that throttles you after 5 failed requests in an hour window, and I just tried, had an error, then tried again after fixing it only to find that I've gotten the ratelimiting error. :(

01:18
<rotaerk>
not clear on the distinction between inputsFrom and buildInputs

01:18
<zeta_0>
rotaerk: i paste binned the ihaskell expression separately from the shell.nix file with mkShell so that i could better explain what i'm trying to do, i already tried placing it in buildInputs, but it threw an error

01:20
<emily>
benpye: you can of course ^C out of the prompt if you want to do other boot debug, or put it in an executable or function or something if you don't just want to automatically do it at ssh time

01:31
<zeta_0>
rotaerk: ok cool, by swapping buildInputs with inputsFrom, i was able to go into a nix-shell without any errors, i'm going to test ihaskell out now to make sure it's working correctly in the shell: https://dpaste.org/vuBw

01:31
<rotaerk>
turns out that's what it does when the intel GPU is being used ... and firefox doesn't seem to correctly handle optimus prime's offload mode

02:41
<zeta_0>
rotaerk: my other shell.nix's that use mkShell work fine in emacs, it's strange that ihaskell is not being recognized, no errors are being thrown when i go into a nix-shell, so i'm not sure how to troubleshoot this

03:03
<emily>
nix tries to achieve a very ambitious set of guarantees on top of a very chaotic system, and so there are always going to be times when you need to figure out how it works when discrepancies pop up

03:43
<bpye>
does boot.initrd.network.enable respect the adapter specific useDHCP settings or do I need to set networking.useDHCP specifically?

03:47
<cole-h>
If a dependency is necessary both for its binaries and its libraries, does it make sense to put the dependency in both `buildInputs` and `nativeBuildInputs`, or is there a special input for those situations?

04:16
<bpye>
So - I like the concept described in the article however I use ZFS' native encryption and my home server reboots very slowly (actual server hardware problems...) so I wonder if instead I could kill two birds with a singular stone - kexec would give me a quick reboot and if I can figure out a way to persist the ZFS encryption key across the kexec then I can avoid needing to enter the passphrase frequently

04:41
<bpye>
Hah... I think I can have an awful hack where I indicate that a memory region is nvram, and then during boot we attempt to mount and find keys there before falling back to SSH input which will also have to persist keys there

04:41
<bpye>
And during a kexec that region will be persisted because we didn't clear memory

04:43
<monokrome>
lol... Sway tells you to run with `--my-next-gpu-wont-be-nvidia`

04:44
<energizer>
hyper_ch: surprisingly difficult to find a graph of time-to-crack by length

04:45
<jophish>
Would someone on NixOS with an AMD or Intel GPU be able to test a vulkan program for me? It works on my nvidia card but not with swiftshader and I'd like to see it working on AMD and Intel before raising a bug against swiftshader

05:22
<Fare>
Is it OK to update several related packages in one commit? I'm refactoring both Gambit and Gerbil, and it's messy to separate them in two commits, where the middle one wouldn't work and/or would require much extra testing.

05:22
<Fare>
And if OK, do I put all those version update lines as "top lines" ?

08:54
<Setzer22_2>
I'm trying to run unity-editor from the unity3d package but I'm getting this error: /nix/store/j4vb9rfbg9svrld2h0znyw89xn1nvcj8-unity-editor-2018.3.0xf2/opt/Unity/Editor/Unity: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

08:55
<Setzer22_2>
it looks like a missing dependency in the package, but I have no idea how to start debugging/fixing this ^^' any tips?

09:25
<eyJhb>
Anyone know what a base instalation of NixOS in size? (how much does it take up of space?

09:25
<mr_sm1th>
Does anyone know if there's a nixpkgs for the latest (unreleased) gcc version somewhere?

09:26
<FireFly>
eyJhb: did an install fairly recently, I think it came to something like 1-2 GB

09:26
<infinisil>
siers: So I guess you want something that turns an attribute set into a string that has a nix expression in it representing that attrset. I think there is something like that in lib.generators, but it's probably brittle

09:44
<edcragg>
hi, i'm packaging a program which has a bunch of static (non-binary) files it needs at runtime, but which don't want to be stateful, and are updated for new versions of the package, is there some convention for where to store these during installPhase?

09:44
<thongpv87>
How can I add xmonad-wallpaper packages to use in xmonad using home-manager?

10:10
<Setzer22_2>
Is there a way I can search for packages providing a certain file? I'm interested particularly in libnss3

10:11
<Setzer22_2>
I don't know if that makes sense: I'm trying to make the unity3d package build, but when running it tells me that this library could not be found, so I'm modifying the expression from nixpkgs to include that as a dependency

11:58
<aanderse>
gchristensen: does that imply that my channel revision effectively changes on every boot? i would have to run sudo nix-channel --update before i run a rebuild (once after every time i reboot)?

12:19
<Fare>
I only just understood you were building a curried function that was ignoring its first argument.

12:19
<sephii>
Does anyone know how to change the editor used by the `nixos-rebuild edit` command? Running it without sudo opens it with vim (which is correct, but then I can't save it), but using sudo opens it with nano. I've already set `environment.variables.EDITOR` to `vim` and `echo $EDITOR` shows vim.

13:03
<ToxicFrog>
It's expecting a `setup.py dl_assets` phase, which of course is illegal in nix

13:03
<seg>
Hi, I'm using NixOS with GNOME and have the issue that the desktop launchers of applications I install are not accessible via GNOME (for example when I search for the application via GNOME Shell's search). Does anyone know how to fix this?

13:43
<Miyu-saki>
(Just clarifying that, because they were talking about network interfaces a while ago.)

13:44
<notgne2>
you can technically still use the results in Nix expressions though using buuiltins.readFile Miyu-saki

13:44
<notgne2>
not sure if it's a good idea, but one of my personal modules actually uses runCommandNoCC to generate a list of IPs for the wireguard module

13:45
<ixxie>
well here is the thing... I need to determine the network interface in order to add an IP to it, but this needs to be dynamic; clever recommended I create a dedicated systemd service for this, but learning now from symphorien that NixOS ensures a predictable network interface name, I feel that approach is overkill

13:46
<ixxie>
so I plan to determine the interface at build time. Only minus is that I must build on the target machine, but for the time being I can live with that and do something fancier in the future

13:46
<Miyu-saki>
It's not. You'd want to generate them on runtime. But let's be honest, it's morally okay to make something just work, rather than correct.

13:46
<simpson>
linarcx: I've taken a quick look at the package. I'm guessing that the aria2 derivation could be configured to build the library and changed to have a lib output.

13:46
<ixxie>
somehow all of this still seems more complicated than it should be, I am quite sure there are better tools for this that I don't know about

13:46
<Miyu-saki>
Technically, you can't determine the interface at build time, because Nix is not hardware-aware.

13:47
<Miyu-saki>
you can determine the interface at build time, on the first build. But it will stop working when you change hardware.

13:47
<notgne2>
my use case was at least still deterministic (it takes the server IP and uses the python ipaddress module to create subnet ranges excluding it), if you use a derivation to break purity like that it will be difficult, and that's probably for a good reason as it can be really messy to forget about or work around in the future

15:06
<cole-h>
infinisil: While I have your attention: Do you know if it's possible to `nix-store -r ....` from cachix? I attempted to set it up for my CI last night, but running `nix-store -r` on the logged path just threw an error...

15:08
<cole-h>
clever: Is there a way to 1) clear that cache; or 2) make it check the path from Cachix? I don't know the underlying mechanisms, but it just sounded as if it couldn't find the path at all, even after `cachix use`

15:27
<clever>
glittershark: if you then pass that string to another derivation, it magically becomes part of the build-time dependencies

15:27
<nschoe>
Hi everyone. I'm on 20.03, fresh install from a few weeks ago. My laptop SD card reader doesn't seem to work. Inserting the SD card inside does not show a /dev/mmcblk as it should be, and 'dmesg' doesn't even register it.

15:31
<Aleksejs>
the error message is "Package ‘libstdc++5-3.3.6’ in /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/pkgs/development/libraries/gcc/libstdc++/5.nix:113 is marked as broken, refusing to evaluate."

15:32
<notgne2>
is there a quick way to fix the nameserver config in nixos without rebuilding

15:32
<notgne2>
I'm booted into a server using clever's kexec thingy and realized I forgot to set the nameserver

16:29
<betaboon>
colemickens: i got webrtc, pipewire working. about to open a PR. but i need to ask your opinion on one detail: in order for chrome/chromium/vivaldi to work with pipewire you have to set a flag and add pipewire_0_2 to LD_LIBRARY_PATH. i created a wrapper for chrome go add it. and that works. alternativly you could add LD_LIBRARY_PATH to environment.variables and get rid of the wrappers. what would

17:26
<evils>
and distributed systems can have an absolute ordering...

17:28
<simpson>
Meh. I mean, yes, I was flippant. Reading https://nixos.wiki/wiki/Nix_channels, I think that the channel does not update until the entire package set is cached, and the cache probably takes time to fill, although maybe three days is a long time for that.

17:40
<evanjs>
I want to compile a list of packages that break as a direct result of my bump for pillow so I can address those directly. Filtering out such packages by doing individual `nix build`s will likely drive my insane... should I ever have enough focus to get it done

17:48
<evanjs>
On that note... is there a difference between nix-review and nixpkgs-review..? Or was it just renamed a while back? The readme in the repo for nixpkgs-review seems to have mentions of both nix-review and nixpkgs-review

18:02
<evanjs>
Also: how do we typically handle importorskip for python tests? I feel like jonringer commented on my PR but I don’t see it anymore; assuming said comment was removed after I squashed the relevant changes or something

18:33
<taika>
energizer: I'll try, but it seems that the main constraint is the nix non-FHS, I've already tried pointing setup.py to respected includes, libraries and pkg-cinfig files, but the module came out corrupted ( dropping cores )

18:55
<ixxie>
infinisil: I was just wondering because I was thinking how annoying it is that terraform has state, and I wondered if one could replace terraform with Nix and have store addresses act as a local verification of a reproducible remote deployment

19:08
<infinisil>
This creates a binary that doesn't need a nix installation to run ^

19:08
<infinisil>
But by default, Nix binaries run on all distros, assuming you use Nix to install them

19:09
<Ralith_>
that's good for what it is, but I'm asking if there's a way to construct an environment where I can compile a binary that will run on another distro directly, provided that I know what versions of the dynamic libraries I need are available

19:39
<genevino>
so nix-env -qa '*' automatically will spawn in a pager (i think that's less or more) because it's exposing about 30k lines (which of course makes sense). nevertheless, can i disable that pager feature?

19:54
<energizer>
i want to request nix installation on a system that I don't own. I intend to use the `nix --store` feature to install packages in my user directory. In order to present the case, I want to tell the admins how much shared storage must be used to set up the system's base nix installation (which I'll need in order to access the `nix` command).

21:50
<hyperfekt>
pbogdan: i saw that, my intention was to address the problems with it and see if i can get it into a state where we would feel comfortable merging it and making it the way the update is done

22:48
<abathur>
curious if anyone's dealt with a similar python-packaging pickle; I wrote a setup.py to build someone else's code which uses python for development but is distributed as a binary without pip. It has multiple dirs w/ __init__.py, used from other packages/modules without a prefix. I'd like to force a prefix on it; anyone know of a better way than extensive substituteAll? :)

23:03
<quinn>
energizer: you'll probably have an even easier time writing your config file in nix, but if you must write it in something else, you should do just dhall -> nix. i'm not sure how json would figure, but i can't imagine it wouldn't create any problems with typing and formatting.

23:39
<armin>
Raito_Bezarius: i use home-manager actually on my desktop machine, but i have no clue how to do that one thing, control the contents of some simple config file, when building a live cd with nix-build