Nix: use python packages supplied by withPackages

This commit is contained in:
Niklas Korz 2023-03-14 13:29:03 +01:00
parent 3ee54ef522
commit 1171c0e663

View file

@ -13,7 +13,7 @@
pkgs = import nixpkgs {
inherit system;
};
llama-python = with pkgs; python310.withPackages (ps: with python310Packages; [
llama-python = pkgs.python310.withPackages (ps: with ps; [
torch
numpy
sentencepiece