Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails if composer.lock is missing in repo #34

Open
ymarkus opened this issue Jan 27, 2023 · 0 comments
Open

Build fails if composer.lock is missing in repo #34

ymarkus opened this issue Jan 27, 2023 · 0 comments

Comments

@ymarkus
Copy link

ymarkus commented Jan 27, 2023

So, I've been trying to package https://github.com/bolt/core, but building it throws this error:

error: builder for '/nix/store/qhj7vqxr4gv0d3ysgzwgqcspwsdxg248-bolt.drv' failed with exit code 4;
       last 10 log lines:
       > - Required package "twig/intl-extra" is not present in the lock file.
       > - Required package "twig/twig" is not present in the lock file.
       > - Required package "ua-parser/uap-php" is not present in the lock file.
       > - Required package "webimpress/safe-writer" is not present in the lock file.
       > - Required package "webmozart/path-util" is not present in the lock file.
       > - Required package "webonyx/graphql-php" is not present in the lock file.
       > - Required package "xemlock/htmlpurifier-html5" is not present in the lock file.
       > This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
       > Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
       > and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r

The repository itself sadly has no composer.lock file, but I can't find a way to patch it in... I've tried installPhase, patches and so on.

@ymarkus ymarkus changed the title Error if composer.lock is missing in repo Build fails if composer.lock is missing in repo Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant