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

The Package 'flet' (build: ()) is not available from any of the selected providers #533

Open
anchpop opened this issue Dec 22, 2022 · 0 comments

Comments

@anchpop
Copy link

anchpop commented Dec 22, 2022

Hey! Thanks for the amazing library. I'm running into a problem when depending on flet.

       > The Package 'flet' (build: ()) is not available from any of the selected providers ['nixpkgs', 'sdist', 'wheel']
       >  for the selected python version
       > The required package might just not (yet) be part of the dependency DB currently used.
       > The DB can be updated by specifying 'pypiDataRev' when importing mach-nix.
       > For examples see: https://github.com/DavHau/mach-nix/blob/master/examples.md
       > If it still doesn't work, there might have been an error while building the DB.
       > Please open an issue at: https://github.com/DavHau/mach-nix/issues/new

requirements.txt:

pygame~=2.1
pynput~=1.7.6
watchdog~=2.1
future~=0.18.2
flet

env/ was generated with mach-nix env ./env -r requirements.txt, but I modified inputs.nix's python, pypiDataRev, and pypiDataSha256:

with builtins;
let lock = fromTOML (readFile ./lock.toml);
in rec {
  pkgs = import (builtins.fetchTarball {
    name = "nixpkgs";
    url = "https://github.com/nixos/nixpkgs/tarball/${lock.nixpkgs.rev}";
    sha256 = "${lock.nixpkgs.sha256}";
  }) {
    config = { };
    overlays = [ ];
  };
  mach-nix = import (builtins.fetchTarball {
    url = "https://github.com/DavHau/mach-nix/tarball/${lock.mach-nix.rev}";
    sha256 = lock.mach-nix.sha256;
  }) {
    python = "python311";
    pypiDataRev = "e9571cac25d2f509e44fec9dc94a3703a40126ff";
    pypiDataSha256 = "sha256:1rbb0yx5kjn0j6lk0ml163227swji8abvq0krynqyi759ixirxd5";
    inherit pkgs;
  };
}

mach-nix installed with nix-env -if https://github.com/DavHau/mach-nix/tarball/3.5.0 -A mach-nix.

Any idea what might be causing this?

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