Mentions légales du service

Skip to content
Snippets Groups Projects

nix: poetry2nix -> buildPythonPackage

Closed Millian Poquet requested to merge poetry2nix-to-buildPythonPackage into master

The goal of this change is to enable users to use the devShell that nxc's flake provides without the need of duplicating Python (!) and many Python packages.

Main con: in the future, poetry shell and nix develop can provide different environments if we are not careful about updating poetry.lock after a nixpkgs update.

This PR include various related changes.

  • use a nixpkgs tag rather than a channel (reduce maintenance pain)
  • add nur-kapack as flake input (needed for execo)
  • filter sources to avoid useless rebuilds
  • remove outside tools from this repo
  • relax click version constraint
  • remove the init command (looked outdated/invalid)
  • update poetry.lock such that it uses the versions defined by the nix flake
Edited by Millian Poquet

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading