!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

330 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena117 Servers

Load older messages


SenderMessageTime
17 Jul 2022
@winterqt:nixos.devWinter (she/her)
In reply to @rendakuenthusiast:imperishable.name
also setting it to false
wait so enableACME = true -> no segfault, but false -> segfault??
04:57:42
@rendakuenthusiast:imperishable.namerendakuenthusiastI used to have a complicated thing there that I think was pinning the version of nixpkgs deployed to the remote host to a specific git commit, but I had to get rid of that04:57:43
@rendakuenthusiast:imperishable.namerendakuenthusiast
In reply to @winterqt:nixos.dev
wait so enableACME = true -> no segfault, but false -> segfault??
yes
04:57:56
@winterqt:nixos.devWinter (she/her)what the hell04:58:00
@winterqt:nixos.devWinter (she/her) can younix-shell -p nix-info --run "nix-info -m" and post the output? 04:59:17
@winterqt:nixos.devWinter (she/her) * can you nix-shell -p nix-info --run "nix-info -m" and post the output? 04:59:40
@winterqt:nixos.devWinter (she/her) * can you nix-shell -p nix-info --run "nix-info -m" and post the output? 04:59:52
@rendakuenthusiast:imperishable.namerendakuenthusiast
 - system: `"x86_64-linux"`
 - host os: `Linux 5.18.11-arch1-1, Arch Linux, noversion, rolling`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.10.1`
 - channels(root): `""`
 - channels(myusername): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/myusername/channels/nixpkgs`


05:00:41
@winterqt:nixos.devWinter (she/her)

:( no version info

okay, can you try just directly using the output of the function? like, do "..." = { enableACME = false; locations = ...; } to see if it's the function invocation that's causing it for whatever reason?

05:02:34
@winterqt:nixos.devWinter (she/her) oh also can you run nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion' 05:03:20
@rendakuenthusiast:imperishable.namerendakuenthusiastI already did that, it's not just the function invocation, it's having the full block there too05:04:57
@rendakuenthusiast:imperishable.namerendakuenthusiast

that command gets me:

trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
"22.11pre388097.9a17f325397"
05:05:30
@winterqt:nixos.devWinter (she/her)can you switch your nixpkgs channel temporarily to nixos-unstable-small, update it, and try to apply again? (i'm not sure what that process looks like on non-NixOS)05:13:27
@winterqt:nixos.devWinter (she/her)it has a newer Nix version05:13:57
@rendakuenthusiast:imperishable.namerendakuenthusiasthow do I do that?05:25:05
@winterqt:nixos.devWinter (she/her) nix-channel --add https://nixos.org/channels/nixos-unstable-small nixpkgs && nix-channel --update 05:30:16
@winterqt:nixos.devWinter (she/her)you know better than me how to update Nix and such from that afterwards, though 😅05:30:56
@winterqt:nixos.devWinter (she/her)(hopefully)05:31:04
@rendakuenthusiast:imperishable.namerendakuenthusiastok I'll try that05:32:43
@rendakuenthusiast:imperishable.namerendakuenthusiastwhat is nixos-unstable-small? I"ve never seen that before05:32:51
@rendakuenthusiast:imperishable.namerendakuenthusiastanyway that did something05:32:57
@winterqt:nixos.devWinter (she/her) cool. can you update Nix (again, i assume you've done this before, if you haven't let me know and i can scour the docs), make sure nix --version reports 2.10.3, and try to apply it again? 05:35:34
@rendakuenthusiast:imperishable.namerendakuenthusiastokay, I'm trying this again, and it seems to be taking longer and not crashing05:36:42
@rendakuenthusiast:imperishable.namerendakuenthusiastI assume it's updating every single package somehow05:36:50
@rendakuenthusiast:imperishable.namerendakuenthusiastso what maeks nixos-unstable-small different from nixos-unstable?05:38:50
@buckley310:matrix.orgBuckley the -small channels have a smaller set of prebuilt packages, and less tests are required to pass for the channel to move forward 05:40:14
@buckley310:matrix.orgBuckleyso the channel moves forward quicker05:40:33
@rendakuenthusiast:imperishable.namerendakuenthusiastokay nevermind that failed05:41:04
@rendakuenthusiast:imperishable.namerendakuenthusiast
Activation failed: Child process exited with error code: 4
          | Failed: Child process exited with error code: 4
05:41:28
@winterqt:nixos.devWinter (she/her)
In reply to @rendakuenthusiast:imperishable.name
okay nevermind that failed
well it didn't segfault at least!
05:43:56

Show newer messages


Back to Room ListRoom Version: 6