!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

78 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
5 Jan 2023
@etu:failar.nuetuYeah, makes sense, I haven't seen that syntax before so I was a bit confused12:06:51
@etu:failar.nuetuHmm, odd, I got it to work in "the first step" or something... :)12:18:07
@etu:failar.nuetuimage.png
Download image.png
12:18:11
@etu:failar.nuetuNow I get the same error later instead of right away :D12:18:19
@drupol:matrix.orgPolI don't really know then :(12:19:12
@etu:failar.nuetu

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:failar.nuetu

So the slash is dropped even when doing this:

./. + "/" + "aaa" # evals to /home/etu/code/nixpkgsaaa

12:23:55
@etu:failar.nuetuBecause it's a string that gets added to a path12:24:48
@etu:failar.nuetuthen the / is dropped, then aaa is added12:24:57
@etu:failar.nuetuSo I have to force the order of operation12:25:12
@etu:failar.nuetu

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:failar.nuetu *

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:failar.nuetuThe later one works in a repl :D12:31:35
@etu:failar.nuetuuh... right, it doesn't work because it isn't commited12:35:18
@etu:failar.nuetuIn 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 disk12:35:47
@etu:failar.nuetu * 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:failar.nuetuThat makes sense now :)12:36:54
@etu:failar.nuetu Pol: I've sent you a suggested change 12:37:01
@drupol:matrix.orgPolnice finding !12:40:46
@drupol:matrix.orgPolgoing to rebase the PR12:41:18
@drupol:matrix.orgPoldone12:42:39
@drupol:matrix.orgPol 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
@drupol:matrix.orgPolI should also switch to Lineage 20 soon... so12:45:02
@etu:failar.nuetuI'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 :p12:45:40
@etu:failar.nuetuI'm thinking of trying bitwarden12:45:51
@etu:failar.nuetuAfter... >10 years on pass12:46:02
@drupol:matrix.orgPolI'm using pass for years as well12:48:40
@drupol:matrix.orgPolBut I'm a bit "meh" to use other tools.12:49:07
@etu:failar.nuetuI might try bitwarden and not have it as "main" storage... just put things there that I need to have portable at times13:00:44
@drupol:matrix.orgPolso sad openkeychain doesn't get more support13:16:35

There are no newer messages yet.


Back to Room ListRoom Version: 6