!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.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
@tgerbet:matrix.orgtgerbetI made a few comments on the PR, sorry for being late to the party 🫤17:41:34
@drupol:matrix.orgPol COMPOSER_HTACCESS_PROTECT WHaaaaaat ?! 17:43:23
@drupol:matrix.orgPol tgerbet: Got an even better idea while reading your comments. 18:07:13
@tgerbet:matrix.orgtgerbetGreat! Because to be honest I was not really a big fan of mine18:08:45
@drupol:matrix.orgPolimage.png
Download image.png
18:09:15
@drupol:matrix.orgPolWDYT of that?18:09:18
@drupol:matrix.orgPolBasically, I merge 2 composer.json files together to override.18:09:34
@drupol:matrix.orgPolI think it's cleaner to do that.18:09:45
@tgerbet:matrix.orgtgerbetYep indeed, it's more readable 👍️18:10:45

Show newer messages


Back to Room ListRoom Version: 6