| 2 Dec 2021 |
@teutat3s:pub.solar | In reply to @blaggacao:matrix.org I now only need a strawman to submit the patch. I’d volunteer, will submit it later today | 08:24:21 |
@teutat3s:pub.solar | In reply to @teutat3s:pub.solar I’d volunteer, will submit it later today ah too slow https://github.com/NixOS/nix/pull/5709 | 11:30:57 |
Bruno | I have a few warnings when doing nix flake check:
warning: unknown experimental feature 'ca-references'
warning: unknown flake output 'homeModules'
warning: unknown flake output 'devshellModules'
warning: unknown flake output 'pkgs'
warning: unknown flake output 'outputsBuilder'
warning: unknown flake output 'homeConfigurationsPortable'
I do not use those (besides pkgs), is that a problem in digga then?
| 11:47:23 |
Bruno | In reply to @ultranix:matrix.org by the way, i still found a lot of use for git-crypt. I use it to encrypt string secrets in public repositories I haven't looked deeper, but this might interest you https://golangrepo.com/repo/slok-agebox in order to also use age for what you would use git-crypt for. | 12:22:23 |
Bruno | In reply to @ultranix:matrix.org by the way, i still found a lot of use for git-crypt. I use it to encrypt string secrets in public repositories * I haven't looked deeper, but this might interest you https://github.com/slok/agebox in order to also use age for what you would use git-crypt for. | 12:22:48 |
David Arnold (blaggacao) | The only warning that is avoidable is ca-references which is not a thing any more in newver versions of nix. | 12:37:22 |
David Arnold (blaggacao) | Wherever that is currently set, we should do ${lib.optional !(lib.versionAtLeast builtins.nixVersion "2.4") "ca-references"} | 12:39:29 |
@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 |