DevOS | 36 Members | |
| Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga | 10 Servers |
| Sender | Message | Time |
|---|---|---|
| 29 Oct 2021 | ||
Download image.png | 17:15:07 | |
In reply to @gytis-ivaskevicius:matrix.orghttps://discourse.nixos.org/t/about-a-recent-moderation-action-post-on-discourse/15764 | 17:25:14 | |
| 30 Oct 2021 | ||
| I just updated to the latest
I'm having a look to see why this is, but any advice / thoughts are welcome | 08:25:18 | |
I have no issues building any of the systems which the test use as a base, it seems this issue only occurs in checks | 08:27:16 | |
| 31 Oct 2021 | ||
| This was insanely difficult to track down (5-6hrs lost on this) as the stack track was not useful at all. The only thing that caused the error was this one LoC, and I don't really understand how it could cause the
| 16:21:41 | |
| * This was insanely difficult to track down (5-6hrs lost on this) as the stack track was not useful at all. The only thing that caused the error was this one LoC, and I don't really understand how it could cause the
| 16:22:14 | |
the other strange part of it was that only checks broke, I could still build and deploy hosts with no issues. | 17:01:35 | |
| kraftnix: What are your nixpkg inputs (nixos & latest inputs)? | 17:09:11 | |
| nixos = unstable, latest=master | 17:31:18 | |
| i've been running it like this since the beginning of 2021 | 17:31:33 | |
| I think it could be because the pkgs inside the test nodes are not being instantiated right or exported right. allowUnfree might just have fixed the underlying error by changing how nixpkgs is exported. | 17:55:42 | |
| Is your config public? Or I can try to reproduce it later with my setup. | 17:56:17 | |
| I found that just doing a manual bisect of the latest/master input is a decent way to figure out these problems. I would just manually set the latest input it different commit hash IDs until you find the breaking upstream change. | 18:07:54 | |
In reply to @pachumicchu:myrdd.infomy config is not public, but it is trivial to reproduce, simply use unstable as your nixos input and add nixpkgs.config.allowUnfree = false; to a host config with a custom test (which can be an empty custom test) | 18:21:44 | |
interestingly if you put nixpkgs.config.allowUnfree = false; within the test config it does not throw errors, it only throws errors if you have that within your host config (or a profile imported by the host). | 18:23:07 | |
| Hey. I'm wondering, is it possible to run
| 18:46:49 | |
command I run from devshell (nix develop) is this:deploy '.#remotedev' --hostname XXX --ssh-user YYY --fast-connection true | 18:47:24 | |
| 2 Nov 2021 | ||
| omg, nix 2.4 released | 15:05:54 | |
In reply to @genadij.udarov:matrix.orgI think it might be possible, I've deployed to a x86_64-linux from a aarch64-linux once. You have to use the binfmt option to add an emulated system. | 15:57:37 | |
boot.binfmt.emulatedSystems = [ "x86_64-linux" ];But I don't know if there is something like that for darwin. | 15:58:14 | |
In reply to @kraftnix:matrix.orgOhh got it, so there might be something done to build the checks that assumes allowUnfree is true. | 16:05:43 | |
In reply to @pachumicchu:myrdd.infoThanks, will check it out! I've resorted to Linux VM for now, but it will definitely be useful in the future. | 16:56:11 | |
Would it be possible to deploy home configs together with system profile, when using deploy-rs? I'm not entirely sure how to inject additional profiles to deploy.nodes defined at https://github.com/divnix/digga/blob/a55450a16d362b6e1c50bb4025aaa604b385d3ba/src/generators.nix#L66 | 18:29:56 | |
I suppose, I should be using extraConfig, but will it work? As I undestand, lib.mapAttrs returns a list? | 18:31:24 | |
* I suppose, I should be using extraConfig, but will it work? As I undestand, lib.mapAttrs returns a list? In other languages, recursiveUpdate would operate on maps instead of lists, right? | 18:31:48 | |
| how do you make changes to nix.conf with devos? | 19:19:02 | |
| nixConfig.* ? | 19:19:08 | |
| every time i rebuild it doesn't update the store path to a new nix conf | 19:19:30 | |
In reply to @genadij.udarov:matrix.orgI was able to execute this. Prolly will update the docs so I won't forget in the future. :-D | 21:26:24 | |
| https://github.com/divnix/devos/pull/398 Here we go. | 21:43:01 | |