From 861a04827a19facd4ce0eb4693de43f64507df52 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 19 May 2025 21:27:36 +0200 Subject: ... --- shell.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index bec68474..66410aaf 100644 --- a/shell.nix +++ b/shell.nix @@ -3,6 +3,12 @@ let pkgs = self.legacyPackages.${system}; utils = import ./utils { inherit (nixpkgs) lib; }; inherit (utils) nixImport; + uv-links = pkgs.symlinkJoin { + name = "uv-links"; + paths = [ + pkgs.python312.pkgs.pygobject3 + ]; + }; in pkgs.mkShell { nativeBuildInputs = builtins.attrValues self.packages.${system} ++ (with pkgs; [ sops @@ -15,5 +21,9 @@ in pkgs.mkShell { nvfetcher.packages.${system}.default ca-util.packages.${system}.ca poetry uv + ninja pkg-config cairo.dev ]); + shellHook = '' + export UV_FIND_LINKS=${uv-links}/lib/python3.12/site-packages + ''; } -- cgit v1.2.3