!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

298 Members
https://github.com/nix-community/poetry2nix | Poetry2nix is unmaintained https://github.com/nix-community/poetry2nix/issues/186553 Servers

Load older messages


SenderMessageTime
29 Dec 2024
@laauurraa:matrix.orglaauurraaOh woah16:08:36
@laauurraa:matrix.orglaauurraaYou are absolutely right!16:10:44
30 Dec 2024
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) changed their display name from matthewcroughan (DECT: 56490) to matthewcroughan.17:36:49
31 Dec 2024
@phaer:matrix.org@phaer:matrix.org changed their display name from phaer (8650 at 38c3) to phaer.19:23:45
1 Jan 2025
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.14:26:27
2 Jan 2025
@hashphoenix:matrix.orgOluwapelumi Adeosun joined the room.10:15:16
@error_pro:matrix.orgerror_pro joined the room.10:42:11
3 Jan 2025
@elikoga:matrix.orgelikoga changed their display name from elikoga (@38c3 📞488{0,1,9}) to elikoga.10:28:11
4 Jan 2025
@10leej:matrix.org@10leej:matrix.org left the room.01:14:46
@kranzes:matrix.org@kranzes:matrix.org left the room.15:30:55
6 Jan 2025
@tanvir:mozilla.org@tanvir:mozilla.org joined the room.20:23:30
@tanvir:tchncs.de@tanvir:tchncs.de joined the room.20:23:36
@tanvir:mozilla.org@tanvir:mozilla.org

What's the solution for this:

evaluation warning: Unknown ruff version: '0.8.5'. Please update getCargoHash.
evaluation warning: Unknown ruff version: '0.8.5'. Please update getRepoHash.
error:
       … while evaluating the attribute 'drvPath'
         at /nix/store/m6rqnw8hy8r6nv4avq0qzsi50crqh0q4-source/lib/customisation.nix:416:7:
          415|     // {
          416|       drvPath =
             |       ^
          417|         assert condition;

       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: hash mismatch in fixed-output derivation '/nix/store/h9ycnmcakyrsd2hqpqp83gk21a2dccpk-source.drv':
         specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
            got:    sha256-Y6J7hW+VYePhKH+5YXfuGuVB0WjYjUg8mM3kQBUnv/U=
20:32:56
@tanvir:mozilla.org@tanvir:mozilla.orgI see there's an issue https://github.com/nix-community/poetry2nix/pull/186320:33:13
7 Jan 2025
@kiako:mozilla.org@kiako:mozilla.org left the room.00:26:41
@blaese:matrix.uni-marburg.de@blaese:matrix.uni-marburg.de changed their display name from Oliver Bläse (zwarimurlaubaberhatdiechatszustarkimaltagintegriert) to Oliver Bläse.09:06:57
@elikoga:matrix.orgelikogaIf you are comfortable with trying the branch of the PR, please do. I don't think that there will be automated tests for all of the ruff versions, but confirmation that the hashes provided by spacekookie work for more than one user would be great for getting it merged!16:21:21
@renato-trevisan:matrix.orgRenato Trevisan set a profile picture.21:58:44
8 Jan 2025
@silvio:booq.org@silvio:booq.org left the room.12:43:46
13 Jan 2025
@phaer:matrix.org@phaer:matrix.org left the room.13:11:41
14 Jan 2025
@nebucatnetzer13:matrix.org@nebucatnetzer13:matrix.org Does someone know of a way to build a Python environment without exposing the python binary in bin?
We have a repo for Ansible which we use in other projects as well but adding it to packages adds multiple python binaries to PATH.
14:19:16
@tyberius_prime:matrix.orgTyberiusPrime (smilodon inopinatus)make a derivation that symlinks everything you want from your {python_env}/bin to it's $out/bin?14:40:13
@nebucatnetzer13:matrix.org@nebucatnetzer13:matrix.org
In reply to @tyberius_prime:matrix.org
make a derivation that symlinks everything you want from your {python_env}/bin to it's $out/bin?
That’s a good idea, thank you👍
19:58:04
28 Jan 2025
@vsiles:matrix.org@vsiles:matrix.org joined the room.12:22:17
@vsiles:matrix.org@vsiles:matrix.org Hi ! We have developed a CLI in Python that we expose using poetry2nix successfully, using poetry2nix.mkPoetryApplication.
Now I'd like to call an external package (e.g. I want to execute curl in our CLI). Is there a way so that getting our mkPoetryApplication will also get curl ?
Someone suggested we substituteInPlace all the occurrences with ${curl}/bin/curl but that sounds very risky ^^
12:25:00
@elikoga:matrix.orgelikoga You could wrap your binary with a wrapper that sets PATH (in postinstall probably?) 12:26:42
@vsiles:matrix.org@vsiles:matrix.orgoh, clever. Let me try that12:27:44
29 Jan 2025
@perchun:matrix.org@perchun:matrix.org(it is not entirely clear but by wrapper they mean https://nixos.org/manual/nixpkgs/stable/#fun-wrapProgram)09:04:47
@vsiles:matrix.org@vsiles:matrix.orgYep, I found that. iiuc it only works for executables, not scripts, so I just used a writeShellApplication to wrap it, with runtime inputs. But that's very good to know ! Thanks you 09:17:15
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) changed their display name from matthewcroughan to matthewcroughan (already in Brussels).15:43:37

Show newer messages


Back to Room ListRoom Version: 6