Sender | Message | Time |
---|---|---|
3 Sep 2024 | ||
You could also not use flakes? | 22:45:27 | |
What would be the alternative? nix-shell? | 22:46:11 | |
In reply to @rpop0:matrix.orgYes, nix-shell | 22:47:03 | |
https://github.com/edolstra/flake-compat might be an option if you still want to express yourself as a flake, but eval using nix-shell. It still does the whole fetchGit thing iirc, so you'll have to provide it with a source that doesn't look like a git repo | 22:47:57 | |
So just to understand, for example in a project when using a flake that would be for setting up a more general environment to be used by everyone. On the other hand, if I need something set up just for myself (Or I'm the only one interested in using nix), a nix-shell would be the better solution? | 22:52:07 | |
In reply to @rpop0:matrix.orgFlakes and nix-shell are morally equivalent (see https://jade.fyi/blog/flakes-arent-real/ ) | 22:59:51 | |
Like in my specific case, only me and 2 other team members are doing our development in a linux environment, while the rest of our team are on windows. Out of the 3 of us on linux, I'm the only one interested in nix and configuring my environment that way, so I'd rather not bother other people with my configurations and things | 23:00:09 | |
The reason why I'm suggesting nix-shell here is because it doesn't have strange special behaviour re git | 23:00:27 | |
Alright, I'll look into that | 23:01:17 | |
Thanks | 23:01:55 | |
23:29:35 | ||
4 Sep 2024 | ||
In reply to @vengmark2:matrix.org Any idea why this could be? I don't have Python installed at the OS level:
It's even easier to see the issue in this PR. | 22:44:08 | |
In reply to @vengmark2:matrix.org* Any idea why this could be? I don't have Python installed at the OS level:
It's even easier to see the issue in this PR, which only bumps nixpkgs and sets the global repo Python to | 22:44:49 | |
5 Sep 2024 | ||
Or even easier than that, check out master and apply this diff:
With the old version of nixpkgs it builds, you get both Python 3.10 and 3.11 in the resulting shell. | 03:48:18 | |
On a related note, How to figure out which part of a derivation is pulling in a specific store path? | 20:15:13 | |
Hmh, after a bit of manual shenanigans it looks like all of black , check-jsonschema , gitlint , and nbqa pull in the Python executable. Dang. But also, nothing to do with poetry2nix. | 20:31:13 | |
* Hmh, after a bit of manual shenanigans it looks like all of black , check-jsonschema , gitlint , and nbqa pull in the Python executable. Dang. But also, nothing to do with poetry2nix. But now I need to wire a bunch of packages to the same Python I use in the poetry2nix package set, otherwise I can't run things like mypy . | 20:38:14 | |
I've tried to instead patch the third party packages to support Python 3.12, but now I'm running into another issue with GDAL: "error: value is null while a set was expected" because nativeBuildInputs is null somehow. | 21:55:39 | |
* I've tried to instead patch the third party packages to support Python 3.12, but now I'm running into another issue with GDAL: "error: value is null while a set was expected" because nativeBuildInputs is null somehow. Using poetry2nix 2024.9.285936. | 21:57:09 | |
Excluding that part of the derivation, I run into yet another issue: "ModuleNotFoundError: No module named '_cffi_backend'" when building argon2-cffi-bindings. I've tried adding cffi to buildInputs , nativeBuildInputs , and propagatedBuildInputs , with no change in the error message. | 22:28:57 | |
Turns out argon2-cffi-bindings doesn't build on Python 3.12 | 22:56:19 | |
* Turns out argon2-cffi-bindings doesn't build on Python 3.12, which in turn breaks jedi and then numpy. | 22:59:22 | |
OK, I give up. I've been trying to update nixpkgs for two days now, and I keep getting new and weird error messages. | 23:53:01 | |
6 Sep 2024 | ||
18:21:39 | ||
10 Sep 2024 | ||
15:53:44 | ||
17:32:36 | ||
17:34:58 | ||
17:36:37 | ||
11 Sep 2024 | ||
17:49:46 | ||
Hi everyone, I was trying to build a program using nix build and encountered an error: "[Errno 2] No such file or directory: 'git'". I tried adding setuptools-scm to nativeBuildInputs , but it didn't help. Has anyone run into this issue before? | 17:55:28 |