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 ];