!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

329 Members
https://github.com/nix-community/poetry2nix62 Servers

Load older messages


SenderMessageTime
8 Nov 2023
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
error: 1 dependencies of derivation '/nix/store/55kkq5vpl67cra471pn2d4dxrcamyi8v-python3.11-llama-cpp-python-0.2.13.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qn5mh0b6ji41c1kkmignsmr2097vnvzw-python3.11-pybind11-2.11.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/adx39f490pi607q9c8x1nsd5v8dgax30-python3.11-triton-2.0.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nlpanilzzlhnrlk96dq4r7van66ld16q-python3.11-contourpy-1.2.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vbgsgrmbr96gyk5dzj3jqrk55lc8mg2f-python3.11-scipy-1.11.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/imm7lh350jabxp5vnh8fr9mg01rxxb70-python3.11-torch-2.0.0.drv' failed to build
error: 2 dependencies of derivation '/nix/store/qlvyfl87wwpqv44mqqk6xasrds4irh09-python3.11-matplotlib-3.8.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sp3viv34zk4xdhkvp4kx9hllknk5c3h2-python3.11-scikit-learn-1.3.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pmc273f198zjg0k9hz66ld8rw7y0w18v-python3.11-torchvision-0.15.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rxf4m1grj3m67lb4dvxims5iynm90svp-python3.11-gradio-3.50.2.drv' failed to build
error: 4 dependencies of derivation '/nix/store/319dhdc5d7rqm1r041mvsgmg531wlly6-python3.11-sentence-transformers-2.2.2.drv' failed to build
error: 12 dependencies of derivation '/nix/store/ry31z7w9nrxiz8bfpm454mx70a9wiwj3-python3-3.11.5-env.drv' failed to build
22:41:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhmm.. tricky, I now need to figure out what else is depending on cmake 22:44:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.hownix-tree can probably tell me, though I don't have to do this that often 22:44:24
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how adisbladis: https://github.com/nix-community/poetry2nix/blob/master/overrides/default.nix#L2997-L3000 22:56:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how I ran into this case just now where I had to set the preConfigure for scipy to "", because it doesn't work with the newer version, is that a common thing that has to be done? 22:57:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howWithout saying if version x then do x else y, that's going to be unavoidable, like is done for the Linux kernel in Nixpkgs 22:57:59
9 Nov 2023
@adis:blad.isadisbladis
In reply to @matthewcroughan:defenestrate.it
I ran into this case just now where I had to set the preConfigure for scipy to "", because it doesn't work with the newer version, is that a common thing that has to be done?
Trying to make a package set that works is hard, trying to make one that works with ranges of versions even more so.
02:54:18
@adis:blad.isadisbladishttps://github.com/adisbladis/pdm2nix/blob/master/tests/trivial/default.nix 🎉04:00:25
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @adis:blad.is
Trying to make a package set that works is hard, trying to make one that works with ranges of versions even more so.
Is it sustainable to have people vendor cargo.locks when the cargo.locks are already present in the srcs?
14:09:22
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThese are the two main problems I've encountered when using poetry2nix, having to vendor cargo.locks redundantly, and fighting with existing overrides14:10:05
@adis:blad.isadisbladisDoing ifd by default is not an option14:10:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI know it's a new issue however, and I've read the edge cases doc14:10:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @adis:blad.is
Doing ifd by default is not an option
could be an option though right?
14:10:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howmkPoetryApplication { allowIfd = true; }14:11:04
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howwhat is the main reason to not have IFD? Is it just to be compatible with nixpkgs?14:11:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howwhat dream2nix is doing, is having a lock file that can be generated and that could be put into nixpkgs14:11:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howvendoring one lock file for everything is more maintainable than vendoring x N lockfiles for N dependencie14:12:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * vendoring one lock file for everything is more maintainable than vendoring x N lockfiles for N dependencies14:12:11
@adis:blad.isadisbladisGeneral slowness, surprising gc behaviour 14:12:29
@adis:blad.isadisbladisAnd so on and so forth14:12:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI swear I saw something you made that was pure nix packaging for python projects14:13:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howlike an alternative to poetry14:13:12
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howdid I not see that14:13:15
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howmaybe it was a dream14:13:26
@adis:blad.isadisbladishttps://github.com/nix-community/pyproject.nix14:13:51
@adis:blad.isadisbladisProbably14:13:56
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howthat's it14:14:35
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how btw, I got the privateGPT project working in this flake, but still can't figure out how to get rid of the dependency on pkgs.python3Packages.cmake 14:14:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhttps://github.com/MatthewCroughan/privateGPT/blob/main/flake.nix#L3014:14:58
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howother things seem to depend on it, like pybind11 and I couldn't figure out how to build cmake itself properly14:15:28

Show newer messages


Back to Room ListRoom Version: 6