From 2575c9aa81591873575dd9533575ffa593c8e2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 18 May 2023 19:07:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20format=20flake.nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index e372010..2e0a1ce 100644 --- a/flake.nix +++ b/flake.nix @@ -1,13 +1,16 @@ { description = "nio-llm"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - inputs.flake-utils.url = "github:numtide/flake-utils"; - inputs.poetry2nix = { - url = "github:nix-community/poetry2nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-utils.follows = "flake-utils"; + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + + poetry2nix = { + url = "github:nix-community/poetry2nix"; + inputs = { + nixpkgs.follows = "nixpkgs"; + flake-utils.follows = "flake-utils"; + }; }; }; @@ -24,9 +27,7 @@ preferWheels = true; python = pkgs.python311; }; - in { - packages.default = pkgs.poetry2nix.mkPoetryApplication { projectDir = ./.; preferWheels = true; @@ -36,5 +37,4 @@ devShells.default = pkgs.mkShell { buildInputs = [ pythonEnv pkgs.poetry ]; }; }); - }