We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
requirements-dev.txt
Hello, I'm trying to use mach-nix to add a flake for this package https://github.com/nf-core/tools
The problem is, they use a requirements-dev.txt. How should both the requirements.txt and requirements-dev.txt be included in the nix environment?
requirements.txt
The text was updated successfully, but these errors were encountered:
How about this (untested):
mach-nix.mkPython { ... requirements = '' ${builtins.readFile "${src}/requirements.txt"} ${builtins.readFile "${src}/requirements-dev.txt"} ''; }; ```.
Sorry, something went wrong.
I came up with
requirements = '' ${builtins.readFile ./requirements.txt} ${builtins.readFile ./requirements-dev.txt} python-lsp-server rich-click black '';
But I still can't do nix develop and then pytest, just checking that that's a good workflow.
nix develop
pytest
No branches or pull requests
Hello, I'm trying to use mach-nix to add a flake for this package https://github.com/nf-core/tools
The problem is, they use a
requirements-dev.txt
. How should both therequirements.txt
andrequirements-dev.txt
be included in the nix environment?The text was updated successfully, but these errors were encountered: