!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

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

Load older messages


SenderMessageTime
6 Nov 2023
@k900:0upti.meK900This makes zero sense20:51:51
@k900:0upti.meK900You're adding an empty list20:51:56
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howah.. I copied from some template code 20:52:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howand I didn't notice that 20:52:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howWait, re-reading it again even, that's not supposed to be an empty list20:53:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how

old.nativeBuildInputs is supposed to be :

  nativeBuildInputs = [
    hatchling
    hatch-requirements-txt
    hatch-fancy-pypi-readme
  ];
20:53:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how *

old.nativeBuildInputs is supposed to be :

  nativeBuildInputs = [
    hatchling
    hatch-requirements-txt
    hatch-fancy-pypi-readme
  ];

https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/gradio/client.nix#L62C1-L66C5

20:53:47
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howand then if not, it will be an empty list, and then my deps, am I misreading something?20:54:08
@k900:0upti.meK900Are you sure you're using a recent enough nixpkgs?20:54:33
@k900:0upti.meK900That package does not exist in 23.0520:54:40
@k900:0upti.meK900And is two months old in unstable20:54:44
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how 85f1ba3e51676fa8cc604a3d863d729026a6b8eb 20:55:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    poetry2nix = {
      url = "github:pegasust/poetry2nix/orjson";
      inputs.nixpkgs.follows = "nixpkgs";
    };

20:55:22
@k900:0upti.meK900What is that poetry2nix branch20:55:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howsomething new to fix orjson that I was just trying out 20:55:42
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhttps://github.com/nix-community/poetry2nix/pull/139820:55:48
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how it's based on poetry2nix 2553decbc032504e968312cf0cb76964ca602035 so I think it's okay 20:56:13
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howAnd with that, private gpt is finally packaged..20:58:09
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howthat took me forever.20:58:12
@k900:0upti.meK900
nix-repl> map (x: x.name) packages.x86_64-linux.chinatsu.passthru.python.pkgs.gradio-client.nativeBui
[ "python3-3.11.5" "wrap-python-hook" "ensure-newer-sources-hook" "python-remove-tests-dir-hook" "python-catch-conflicts-hook" "python-remove-bin-bytecode-hook" "pypa-build-hook.sh" "pypa-install-hook" "python-imports-check-hook.sh" "python-namespaces-hook.sh" "python-output-dist-hook" "python3.11-hatchling-1.18.0" "python3.11-hatch-requirements-txt-0.4.0" "python3.11-hatch-fancy-pypi-readme-23.1.0" "python3.11-hatchling-1.18.0" "python3.11-setuptools-68.2.2" ]
20:58:37
@k900:0upti.meK900Can't reproduce here20:58:41
@k900:0upti.meK900This is just a random poetry2nix package that definitely does not touch gradio20:58:50
@k900:0upti.meK900As you can see, all the inputs are there20:59:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how in poetry2nix defaultPoetryOverrides.extend (self: super: {}) does super use Nixpkgs ? 20:59:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howor is that before the overlay is applied?21:00:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how because if so, I've been using super, assuming it means before and after in the context of extended 21:00:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * because if so, I've been using super, assuming it means before and after in the context of just the extended ovelray 21:01:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * because if so, I've been using super, assuming it means before and after in the context of just the extended overlay 21:01:11
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * because if not, I've been using super, assuming it means before and after in the context of just the extended overlay 21:01:23
@k900:0upti.meK900 super uses the entire overlay stack 21:01:25

Show newer messages


Back to Room ListRoom Version: 6