From 03456d79e5eb7797a8d29b600d443bad6a7564d2 Mon Sep 17 00:00:00 2001 From: Sergey Miroshnichenko Date: Wed, 31 Jan 2024 16:01:34 +0300 Subject: [PATCH] [flake] try new --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index dfe867b..4db5adb 100644 --- a/flake.nix +++ b/flake.nix @@ -14,16 +14,16 @@ let # see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples. pkgs = nixpkgs.legacyPackages.${system}; - inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication; - propagatedBuildInputs = [ - pkgs.python3.xlib - ]; + inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication mkPoetryPackages; + propagatedBuildInputs = [ pkgs.python3.xlib ]; in { packages = { negwm = mkPoetryApplication { projectDir = self; }; + negwm_pkg = mkPoetryPackages { projectDir = ./.; }; default = self.packages.${system}.negwm; }; + devShells.default = pkgs.mkShell { inputsFrom = [ self.packages.${system}.negwm ];