| 5 Jan 2023 |
etu | Yeah, makes sense, I haven't seen that syntax before so I was a bit confused | 12:06:51 |
etu | Hmm, odd, I got it to work in "the first step" or something... :) | 12:18:07 |
etu |  Download image.png | 12:18:11 |
etu | Now I get the same error later instead of right away :D | 12:18:19 |
Pol | I don't really know then :( | 12:19:12 |
etu | Interestingly enough in a repl...
./. # evals to /home/etu/code/nixpkgs ./. + "/" # evals to /home/etu/code/nixpkgs ./. ? "/aaa" # evals to /home/etu/code/nixpkgs/aaa
| 12:23:10 |
etu | So the slash is dropped even when doing this:
./. + "/" + "aaa" # evals to /home/etu/code/nixpkgsaaa
| 12:23:55 |
etu | Because it's a string that gets added to a path | 12:24:48 |
etu | then the / is dropped, then aaa is added | 12:24:57 |
etu | So I have to force the order of operation | 12:25:12 |
etu | And I really thought that either...
- ./${lib.versions.majorMinor version}.nix
+ (./. + ("/" + (lib.versions.majorMinor version) + ".nix"))
or
- ./${lib.versions.majorMinor version}.nix
+ (./. + "/${lib.versions.majorMinor version}.nix")
would work... but no... it doesn't
| 12:27:36 |
etu | * And I really thought that either...
- ./${lib.versions.majorMinor version}.nix
+ (./. + ("/" + (lib.versions.majorMinor version) + ".nix"))
or
- ./${lib.versions.majorMinor version}.nix
+ (./. + "/${lib.versions.majorMinor version}.nix")
would work... but no... it doesn't
| 12:27:46 |
etu | The later one works in a repl :D | 12:31:35 |
etu | uh... right, it doesn't work because it isn't commited | 12:35:18 |
etu | In the first step it evals the files I have on disk... then it does things like creating a branch and such which doesn't include the files on disk | 12:35:47 |
etu | * In the first step it evals the files I have on disk... then it does things like creating a branch and such which doesn't include the files on disk (that isn't commited) | 12:35:56 |
etu | That makes sense now :) | 12:36:54 |
etu | Pol: I've sent you a suggested change | 12:37:01 |
Pol | nice finding ! | 12:40:46 |
Pol | going to rebase the PR | 12:41:18 |
Pol | done | 12:42:39 |
Pol | etu I just saw your msg on Mastodon. I'm using pass and openkeychain on Android/linux. Which one do you recommend now? | 12:44:45 |
Pol | I should also switch to Lineage 20 soon... so | 12:45:02 |
etu | I'm lucky enough that my Android 13 device is a new device that I haven't migrated to... because I have failed to migrate my password manager :p | 12:45:40 |
etu | I'm thinking of trying bitwarden | 12:45:51 |
etu | After... >10 years on pass | 12:46:02 |
Pol | I'm using pass for years as well | 12:48:40 |
Pol | But I'm a bit "meh" to use other tools. | 12:49:07 |
etu | I might try bitwarden and not have it as "main" storage... just put things there that I need to have portable at times | 13:00:44 |
Pol | so sad openkeychain doesn't get more support | 13:16:35 |