| 2 Dec 2021 |
@aynish:sealight.xyz | hello, im trying to update to 21.11 but when i change the pinned version of nixpkgs i get this error:
`error: value is null while a set was expected
at /nix/store/rlgzhd7yf0hna1drzdjnia06jz816y03-source/overlays/nix-patched.nix:5:17:
4|
5| nixUnstable = prev.nixUnstable.overrideAttrs (o: {
| ^
6| patches = (o.patches or [ ]) ++ [
(use '--show-trace' to show detailed location information)
` | 12:52:45 |
@teutat3s:pub.solar | That's because digga needs an update, too | 12:57:23 |
@aynish:sealight.xyz | dang, so i can't update just yet? | 12:57:40 |
@teutat3s:pub.solar | You could try
nix flake lock --update-input digga
| 12:58:12 |
@teutat3s:pub.solar | then make the change to the nixos input -> 21.11 release branch in your flake.nix like here https://github.com/divnix/devos/pull/403/files#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0 | 12:59:19 |
@teutat3s:pub.solar | and maybe after that just:
nix flake update
This will update the flake.lock for all inputs
| 13:00:22 |
@aynish:sealight.xyz | oooh i'll try, thank you very much :) | 13:00:33 |
@teutat3s:pub.solar | the last cmd is sufficient actually and makes the first one I mentioned redundant (it'll update the digga input as well), but I find it a handy cmd to surgically update inputs | 13:01:53 |
@aynish:sealight.xyz | hmmmm, not quite? this is the error i get now. seems like digga didn't update?
`
trace: warning: You are accessing a deprecated item of the digga lib.
Please update timely, it will be remove soon.
trace: warning: Deprecated Function: lib.importModules.
Use lib.importExportableModules instead to set exportedModules option
error: ERROR: The externalModules option has been removed.
Any modules that should be exported should be defined with the exportedModules
option and all other modules should just go into the modules option.
(use '--show-trace' to show detailed location information)
` | 13:07:57 |
@aynish:sealight.xyz | * hmmmm, not quite? this is the error i get now. seems like digga didn't update?
`trace: warning: You are accessing a deprecated item of the digga lib.
Please update timely, it will be remove soon.
trace: warning: Deprecated Function: lib.importModules.
Use lib.importExportableModules instead to set exportedModules option
error: ERROR: The externalModules option has been removed.
Any modules that should be exported should be defined with the exportedModules
option and all other modules should just go into the modules option.
(use '--show-trace' to show detailed location information)` | 13:08:13 |
@aynish:sealight.xyz | * hmmmm, not quite? this is the error i get now. seems like digga didn't update?
`trace: warning: You are accessing a deprecated item of the digga lib.
Please update timely, it will be remove soon.
trace: warning: Deprecated Function: lib.importModules.
Use lib.importExportableModules instead to set exportedModules option
error: ERROR: The externalModules option has been removed.
Any modules that should be exported should be defined with the exportedModules
option and all other modules should just go into the modules option.
(use '--show-trace' to show detailed location information)` | 13:08:43 |
@teutat3s:pub.solar | are you using the latest devos changes in your Repo? | 13:09:25 |
@aynish:sealight.xyz | yeah, i made all the changes here: https://github.com/divnix/devos/pull/403/files#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0 | 13:09:43 |
@aynish:sealight.xyz | but i didn't pull the repo | 13:09:54 |
@aynish:sealight.xyz | i mean, i didn't change flake.lock by hand, just ran nix flake update | 13:12:13 |
@aynish:sealight.xyz | which hash should digga be locked to? | 13:17:10 |
@teutat3s:pub.solar | "locked": {
"lastModified": 1638227261,
"narHash": "sha256-CbleULqH3NRnnLdwqHqi0qk1sEmhyXE8ZOzjofilGM4=",
"owner": "divnix",
"repo": "digga",
"rev": "1ce6cef4230f82cb986ef3d08d57a2e3a0e6e80d",
"type": "github"
},
| 13:19:51 |
@aynish:sealight.xyz | same issue :/ | 13:22:37 |
@aynish:sealight.xyz | i think i figured it out. im on an older version of devos it seems... should really keep my branch up to date | 13:44:35 |
@aynish:sealight.xyz | thank you for your help teutat3s :) | 13:44:44 |
@teutat3s:pub.solar | aynish: you’re welcome | 14:31:40 |
David Arnold (blaggacao) | https://github.com/NixOS/nix/pull/5713 | 15:21:58 |
David Arnold (blaggacao) | https://github.com/NixOS/nix/pull/5709 | 15:22:10 |
David Arnold (blaggacao) | Now, how do we make sure, that we actually use them? | 15:22:26 |
| janus joined the room. | 16:01:14 |
janus | you cant open PRs to nix or what? j/w | 16:05:43 |
janus | Hello all, does anyone know of examples with deploy-rs to spin up a bunch of qemu nodes for testing p2p stuff our or something similar? | 16:10:41 |
@teutat3s:pub.solar | In reply to @blaggacao:matrix.org Now, how do we make sure, that we actually use them? Probably by pinning to a nixpkgs commit with nix nixUnstable pre-2.5 that has those changes? | 16:56:08 |
David Arnold (blaggacao) | The thing is, that we can't really force a nixpkgs version down peoples throat since that coupling has no legit basis. | 17:06:00 |
David Arnold (blaggacao) | we could resort back to shipping our pinned nix version again, but that brings us also back into the realm of "bootstrapping nix" problems (potentially). | 17:06:53 |