Sender | Message | Time |
---|---|---|
21 Jun 2024 | ||
@genghiz:talk.go7box.xyz | Okay, so I haven't solved it. I'm using the file
| 18:17:43 |
@genghiz:talk.go7box.xyz | This ought to build the package, even though it may not work. | 18:17:58 |
@genghiz:talk.go7box.xyz | But I get Command "build-local-repo-lock" is not defined and the build errors | 18:18:15 |
Pol | Line 28, you need composerWithPlugin | 19:24:15 |
Pol | Can't really help right now sorry :( | 19:24:27 |
22 Jun 2024 | ||
@genghiz:talk.go7box.xyz | No worries. But do let me know exactly how to get this working because I can' | 03:40:55 |
@genghiz:talk.go7box.xyz | * No worries. But do let me know exactly how to get this working because I can't see any examples for the same | 03:41:02 |
Pol | you need this version of Composer : php.packages.composer-local-repo-plugin | 08:52:06 |
Pol | * you need this version of Composer : php.packages.composer-local-repo-plugin | 08:52:11 |
Pol | (you can find this in pkgs/build-support/php/builders/v1/build-composer-repository.nix | 08:52:25 |
Pol | * (you can find this in pkgs/build-support/php/builders/v1/build-composer-repository.nix ) | 08:52:28 |
Pol | That version of Composer has the only plugin you need to get this working. | 08:52:45 |
Pol | I admit that using the Composer Plugin helped us, the new version of the builder doesn't need it anymore so it will be easier. Totally. | 08:53:10 |
Pol | I rebased https://github.com/NixOS/nixpkgs/pull/308059 and set it as ready for review. I didn't took care of that for a couple of weeks and when I gave it a look this morning, I don't see anything that I would change. Ready for review now :) | 09:50:03 |
Pol | * I rebased https://github.com/NixOS/nixpkgs/pull/308059 and set it as ready for review. I didn't take care of that PR for a couple of weeks and when I gave it a look this morning, I don't see anything that I would change. Ready for review now :) | 10:37:24 |
@genghiz:talk.go7box.xyz | When I do that I get this:
| 16:40:06 |
@genghiz:talk.go7box.xyz | I think there's a lot of footguns to using php.composer.composerInstallHook as given in the example. I had to set env.COMPOSER_CACHE_DIR = "/dev/null"; to get stuff to work. | 17:18:24 |
@genghiz:talk.go7box.xyz | And it still doesn't access the network to create the repository, unlike when using php.buildComposerProject . | 17:59:06 |
@genghiz:talk.go7box.xyz | * I think there's a lot of footguns to using php.composer.composerInstallHook as given in the docs. I had to set env.COMPOSER_CACHE_DIR = "/dev/null"; to get stuff to work. | 18:08:25 |
Pol | I will need to check it out carefully when I have a bit of time. If you could put online what you did already that would help me. | 20:01:33 |
23 Jun 2024 | ||
@genghiz:talk.go7box.xyz | Pol: https://paste.go7box.xyz/?e5acb02c5b224b0d#3uPi4ZvLdaW3BfQCvmwML4KmKmijbKQh7HGTLHK1vZ32 | 03:46:56 |
@genghiz:talk.go7box.xyz | These are the contents of pkgs/by-name/fi/firefly-iii/package.nix in my local copy of nixpkgs. | 03:47:54 |
@genghiz:talk.go7box.xyz | I try to build this using nix shell --impure --expr 'with import ./. {}; firefly-iii' . Everything else is standard nixpkgs | 03:48:20 |
Pol | I'll see what I can do | 07:31:52 |
Pol | This week is very hectic for me, I got my Master Thesis defense on Saturday morning, I'm very very busy... | 07:32:14 |
@genghiz:talk.go7box.xyz | Good luck Pol ! | 08:09:00 |
Pol | Thank you | 08:09:06 |
24 Jun 2024 | ||
@genghiz:talk.go7box.xyz | Was able to get it to work https://github.com/NixOS/nixpkgs/pull/322199 | 17:19:08 |
25 Jun 2024 | ||
patka (new account: @patka:envs.net) changed their display name from patka to patka (new account: @patka:envs.net). | 08:42:10 | |
patka joined the room. | 08:56:41 |