Skip to content

Fix nix run and nix develop by using pnpm-lock.yaml #1051

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scanhex
Copy link

@scanhex scanhex commented May 20, 2025

Looks like the flakes for codex-cli are broken right now, nix run github:openai/codex doesn't work because package-lock.json is missing.

In this PR I'm making the nix flake use pnpm-lock.yaml instead. This makes nix run github:scanhex/codex run fine - and fixes the same issue with nix develop.

Copy link

github-actions bot commented May 20, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

Comment on lines -52 to -54
defaultPackage = packages.codex-cli;
defaultApp = apps.codex-cli;
defaultDevShell = devShells.codex-cli;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix run doesn't pick up the codex-cli dev shell this way, looks like it's outdated.

@scanhex
Copy link
Author

scanhex commented May 20, 2025

I have read the CLA Document and I hereby sign the CLA

@scanhex
Copy link
Author

scanhex commented May 20, 2025

recheck

github-actions bot added a commit that referenced this pull request May 20, 2025
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

Successfully merging this pull request may close these issues.

1 participant