| 29 Apr 2022 |
| nazarewk joined the room. | 08:38:37 |
nazarewk | Any idea how do i install multiple poetry2nix apps (with executable scripts) into a single shell? | 08:39:30 |
nazarewk | * Any idea how do i install multiple poetry2nix apps (with executable scripts) in editable mode into a single shell? | 08:39:40 |
nazarewk | seems like mkPoetryEditablePackage does not add executables | 08:39:53 |
nazarewk | I did use mkPoetryEnv with editablePackageSources, but the sources of my package still reside in /nix/store instead of current directory? | 13:35:49 |
nazarewk | maybe i did something really wrong, now it seems to work | 13:49:22 |
nazarewk | Redacted or Malformed Event | 13:49:48 |
| 2 May 2022 |
Jairo Llopis | In reply to @nazarewk:matrix.org I did use mkPoetryEnv with editablePackageSources, but the sources of my package still reside in /nix/store instead of current directory? are you using flakes? | 06:30:00 |
adisbladis | In reply to @jairo:recallstack.icu are you using flakes? I'm so annoyed by how flakes changes the semantics of paths... | 06:32:59 |
Jairo Llopis | In reply to @adis:blad.is I'm so annoyed by how flakes changes the semantics of paths... Yep, it's a bit annoying. However I love everything else of flakes. I'm using https://github.com/edolstra/flake-compat/pull/39 in some places to bridge the gap | 06:35:28 |
adisbladis | In reply to @jairo:recallstack.icu Yep, it's a bit annoying. However I love everything else of flakes. I'm using https://github.com/edolstra/flake-compat/pull/39 in some places to bridge the gap At a previous client I used a modified version of that which doesn't do string interpolation of paths | 06:41:43 |
adisbladis | It was kinda like that PR, but a bit more aggressive in not pulling things into the store | 06:43:24 |
adisbladis | And I don't really think that lazily pulling things into the store is the solution here either | 06:44:31 |
| 4 May 2022 |
nazarewk | yes i am using flakes | 06:10:05 |
nazarewk | by the way i somehow managed to get the editable mode to work | 08:07:09 |
| 5 May 2022 |
| Silvio joined the room. | 23:08:01 |
| 6 May 2022 |
| Albrecht joined the room. | 07:33:18 |
Albrecht | Good morning - I'm trying to build "matrix-webhook" via poetry2nix, but I'm encounting infinite recursion in buildInputs and don't know how to debug it. I think I need to find out which dependency is the problem and then, may be replace it with a hopefully existing nixpkg-provided version of that package? | 07:36:50 |
adisbladis | In reply to @a7p:matrix.org Good morning - I'm trying to build "matrix-webhook" via poetry2nix, but I'm encounting infinite recursion in buildInputs and don't know how to debug it. I think I need to find out which dependency is the problem and then, may be replace it with a hopefully existing nixpkg-provided version of that package? You cannot replace it with an existing nixpkgs package. You'll have to figure it out and break the cycle somehow. | 07:51:45 |
Albrecht | is there any best practice on how to figure it out? I looked at a commit fixing scm-tools, but did not learn how to do it from it. | 08:01:17 |
adisbladis | --show-trace and stare at the output a bit | 08:04:22 |
Albrecht | :/ I'm currently working in nix repl and could not find anything on how to enable traces there. | 08:05:11 |
adisbladis | In reply to @a7p:matrix.org :/ I'm currently working in nix repl and could not find anything on how to enable traces there. Are you talking about https://github.com/nim65s/matrix-webhook | 08:11:21 |
adisbladis | I cloned it and built it just fine | 08:13:03 |
Albrecht | In reply to @adis:blad.is Are you talking about https://github.com/nim65s/matrix-webhook Exactly - till now I used mach-nix to install if from pypi, but now I need to patch it a bit, since influxdb send's webhook-messages formated in the wrong way. | 08:13:09 |
Albrecht | In reply to @adis:blad.is I cloned it and built it just fine Oh! Then I'm messing up on a more general level :/. | 08:13:53 |
Albrecht | so just to be clear, poetry2nix.mkPoetryApplication { projectDir = ./.; } builds for you? | 08:14:45 |
adisbladis | Yes | 08:14:59 |
adisbladis | From poetry2nix master and a couple of days old nixos-unstable | 08:15:12 |
Albrecht | okay, I'll update both and retry - thank you very much | 08:20:15 |