Skip to content

Commit

Permalink
[flake] try new
Browse files Browse the repository at this point in the history
  • Loading branch information
neg-serg committed Jan 31, 2024
1 parent 93bf967 commit 03456d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit 03456d7

Please sign in to comment.