From 2697433ad438a2c7477962da43913c7b404e9d65 Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Thu, 23 May 2024 14:33:28 +0200 Subject: [PATCH] Pin poetry2nix to known working version --- flake.lock | 1 + flake.nix | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 1c5db883..37e3aa59 100644 --- a/flake.lock +++ b/flake.lock @@ -132,6 +132,7 @@ }, "original": { "owner": "nix-community", + "ref": "refs/tags/2024.5.939250", "repo": "poetry2nix", "type": "github" } diff --git a/flake.nix b/flake.nix index ce7585bf..a987fb60 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; poetry2nix = { - url = "github:nix-community/poetry2nix"; + url = "github:nix-community/poetry2nix?ref=refs/tags/2024.5.939250"; inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -132,6 +132,9 @@ } ]; }; + tests = pkgs.mkShell { + packages = [ python-dev-env pkgs.poetry ] ++ all-other-dependencies; + }; types = pkgs.mkShell { packages = [ pkgs.nodePackages.pyright ]; };