!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
5 May 2024
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzThat's pretty much it08:06:03
@drupol:matrix.orgPolI understand why having the packagename in it make sense.08:06:29
@drupol:matrix.orgPolMaybe this is something to do indeed.08:06:41
@drupol:matrix.orgPolI dont know how I'm going to do that yet in Nix.08:06:54
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzJust get a base64 hash of the package name08:07:05
@drupol:matrix.orgPolin the shell?08:07:34
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzYup08:07:37
@drupol:matrix.orgPolI'll see how we can do that.08:07:52
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz Or of the composer.lock 08:08:00
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz You can just run something like base64 composer.lock | head -c32 to get a prefix 08:08:55
@drupol:matrix.orgPolWait08:10:11
@drupol:matrix.orgPolI have something better.08:10:15
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzI trust you08:10:23
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz😄08:10:40
@drupol:matrix.orgPol jq -r -c 'try ."content-hash"' < composer.lock 08:11:06
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzEven better.08:12:47
@drupol:matrix.orgPolPushed the changes.08:13:11
@drupol:matrix.orgPolThanks for the suggestion08:13:27
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzNo worries08:13:34
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz You might need to add jq as a buildInput or something. If you don't want to do that, you can probably also use md5sum composer.lock | awk '{ print $1 }' 08:20:13
@drupol:matrix.orgPolIt's already in there08:22:11
@drupol:matrix.orgPolLook at the PR :)08:24:59
@drupol:matrix.orgPolOops I did a stupid thing.08:25:37
@drupol:matrix.orgPolLet me fix that.08:25:42
@drupol:matrix.orgPolDone.08:29:29
@drupol:matrix.orgPolNow you can test it properly08:32:59
@drupol:matrix.orgPol By just using buildComposerProjectNext. 08:33:08
@andmuz:matrix.organdmuz joined the room.11:39:09
@drupol:matrix.orgPolI made further improvements12:09:47
@drupol:matrix.orgPolDefinitely much better than before, and also faster.12:09:59

Show newer messages


Back to Room ListRoom Version: 6