!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
24 Apr 2023
@drupol:matrix.orgPolNope sorry :S08:13:32
@drupol:matrix.orgPol Jan Tojnar: renamming buildComposerProject into mkComposerApp would make better sense? 08:14:06
@jtojnar:matrix.orgJan Tojnar Pol: I think there can be more than just apps 09:21:57
@drupol:matrix.orgPolDo you suggest a better naming? Or it is ok as it is ?09:34:39
@jtojnar:matrix.orgJan Tojnar I think buildComposerProject is good enough 09:38:09
@drupol:matrix.orgPolOkidocky09:40:17
@drupol:matrix.orgPol Since it was a mkDerivation, I though naming it with mkSomething was a better option. 09:40:38
@drupol:matrix.orgPol Jan Tojnar: I'm banging my head with psalm. Trying to understand why it's failing to be packaged with the new builder. 18:33:04
@drupol:matrix.orgPolIf you could give it a try... 18:33:10
@drupol:matrix.orgPolHere's the derivation:18:33:15
@drupol:matrix.orgPol
{ lib, fetchFromGitHub, php }:

php.buildComposerProject (finalAttrs: {
  pname = "psalm";
  version = "5.9.0";

  src = fetchFromGitHub {
    owner = "vimeo";
    repo = "psalm";
    rev = finalAttrs.version;
    hash = "sha256-yoDJPBoRaKGd78sJoQj26T3+x2QxbHAbH/lnbTJcnIM=";
  };

  # TODO: Open a PR against https://github.com/sebastianbergmann/phpunit
  # Missing `composer.lock` from the repository.
  composerLock = ./composer.lock;
  vendorHash = "";
})
18:33:34
@drupol:matrix.orgPol It's failing during the composerSetupBuildHook 18:33:51
@drupol:matrix.orgPolimage.png
Download image.png
18:34:19
@drupol:matrix.orgPolI just cannot find the reason why it's failing. 18:34:30
@drupol:matrix.orgPolWhen I clone the project locally, this is working fine.18:34:38
@jtojnar:matrix.orgJan Tojnar Pol: 1.0.0+no-version-set looks suspicious 19:02:55
@drupol:matrix.orgPolYes, can't understand where it comes from 19:20:09
@drupol:matrix.orgPolFrom composer that's sure, but why ?!19:22:51
@drupol:matrix.orgPolFound the issue.19:59:18
@drupol:matrix.orgPol COMPOSER_ROOT_VERSION="${version}" \ 20:03:59
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/blob/5ab2b1e0e1d9c3483371c93d20c08ecc1d1c4b5a/pkgs/development/php-packages/psalm/default.nix20:09:21
@drupol:matrix.orgPolNow it's fixed.20:09:25
@drupol:matrix.orgPolAmount of PHAR based software in Nix now: 1 (Composer)20:17:29
@drupol:matrix.orgPoland we're back to green.20:37:39
@drupol:matrix.orgPolRedacted or Malformed Event20:49:05
@drupol:matrix.orgPolRedacted or Malformed Event20:50:47
@drupol:matrix.orgPolRedacted or Malformed Event20:50:50
25 Apr 2023
@drupol:matrix.orgPol Jan Tojnar: Anything else to do for the PHP Builder branch? 08:20:20
@jtojnar:matrix.orgJan Tojnar Pol: nothing comes to mind 15:16:04
@drupol:matrix.orgPolGood news :D15:17:40

Show newer messages


Back to Room ListRoom Version: 6