Skip to content

Commit

Permalink
flake: update to latest nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Mar 17, 2023
1 parent 4dd206d commit b3910da
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 27 deletions.
37 changes: 12 additions & 25 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
description = "LNbits, free and open-source Lightning wallet and accounts system";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
poetry2nix.url = "github:nix-community/poetry2nix";
poetry2nix = {
url = "github:nix-community/poetry2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, poetry2nix }@inputs:
let
Expand All @@ -17,6 +22,7 @@
default = pkgs.mkShell {
buildInputs = with pkgs; [
nodePackages.prettier
poetry
];
};
});
Expand All @@ -29,7 +35,6 @@
default = self.packages.${system}.${projectName};
${projectName} = pkgs.poetry2nix.mkPoetryApplication {
projectDir = ./.;
python = pkgs.python39;
};
});
nixosModules = {
Expand Down

0 comments on commit b3910da

Please sign in to comment.