| 5 May 2024 |
@genghiz:talk.go7box.xyz | That's pretty much it | 08:06:03 |
@drupol:matrix.org | I understand why having the packagename in it make sense. | 08:06:29 |
@drupol:matrix.org | Maybe this is something to do indeed. | 08:06:41 |
@drupol:matrix.org | I dont know how I'm going to do that yet in Nix. | 08:06:54 |
@genghiz:talk.go7box.xyz | Just get a base64 hash of the package name | 08:07:05 |
@drupol:matrix.org | in the shell? | 08:07:34 |
@genghiz:talk.go7box.xyz | Yup | 08:07:37 |
@drupol:matrix.org | I'll see how we can do that. | 08:07:52 |
@genghiz:talk.go7box.xyz | Or of the composer.lock | 08:08:00 |
@genghiz:talk.go7box.xyz | You can just run something like base64 composer.lock | head -c32 to get a prefix | 08:08:55 |
@drupol:matrix.org | Wait | 08:10:11 |
@drupol:matrix.org | I have something better. | 08:10:15 |
@genghiz:talk.go7box.xyz | I trust you | 08:10:23 |
@genghiz:talk.go7box.xyz | 😄 | 08:10:40 |
@drupol:matrix.org | jq -r -c 'try ."content-hash"' < composer.lock | 08:11:06 |
@genghiz:talk.go7box.xyz | Even better. | 08:12:47 |
@drupol:matrix.org | Pushed the changes. | 08:13:11 |
@drupol:matrix.org | Thanks for the suggestion | 08:13:27 |
@genghiz:talk.go7box.xyz | No worries | 08:13:34 |
@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.org | It's already in there | 08:22:11 |
@drupol:matrix.org | Look at the PR :) | 08:24:59 |
@drupol:matrix.org | Oops I did a stupid thing. | 08:25:37 |
@drupol:matrix.org | Let me fix that. | 08:25:42 |
@drupol:matrix.org | Done. | 08:29:29 |
@drupol:matrix.org | Now you can test it properly | 08:32:59 |
@drupol:matrix.org | By just using buildComposerProjectNext. | 08:33:08 |
| @andmuz:matrix.org joined the room. | 11:39:09 |
@drupol:matrix.org | I made further improvements | 12:09:47 |
@drupol:matrix.org | Definitely much better than before, and also faster. | 12:09:59 |