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

chore!: make cli package/app compatible with flake #1292

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

Pegasust
Copy link
Contributor

Basically make the cli derivation to conform with pkgs.lib.getBin "standard", so that flakes can recognize the binary

Before:

% ❯ nix run .#
error: unable to execute '/nix/store/8ich1m9piml9g77ik965ixnn27g6gxqq-poetry2nix-cli
-0/bin/poetry2nix-cli': No such file or directory

After:

% ❯ nix run .#
warning: Git tree '/Users/htran/local_repos/poetry2nix' is dirty
usage: .poetry2nix-cli-wrapped [-h] {lock} ...
.poetry2nix-cli-wrapped: error: the following arguments are required: subcommand

@adisbladis adisbladis added this pull request to the merge queue Sep 2, 2023
Merged via the queue into nix-community:master with commit 9efb8b2 Sep 2, 2023
110 checks passed
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.

2 participants