Skip to content

Commit

Permalink
chore: Move Flake to NixOS unstable, upgrade shell to py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Feb 28, 2024
1 parent e017aa8 commit f229821
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 26 deletions.
8 changes: 4 additions & 4 deletions flake.lock

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

26 changes: 4 additions & 22 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
nixpkgs-python.url = "github:cachix/nixpkgs-python";
Expand Down Expand Up @@ -35,26 +35,8 @@
{
packages = with pkgs; [
pre-commit
(python3Packages.buildPythonPackage
(let
pname = "poethepoet";
version = "0.24.1";
in {
inherit pname version;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OvpEtPxzJ98N2RLtoBJgSgcq8rtNJD+w5B6Oyo2r+e0=";
python = "py3";
dist = "py3";
format = "wheel";
};
format = "wheel";
propagatedBuildInputs = [
# Specify dependencies
pkgs.python3Packages.pastel
pkgs.python3Packages.tomli
];
}))
poethepoet
stdenv.cc.cc.lib
];

languages.python = {
Expand All @@ -65,7 +47,7 @@
install.allExtras = true;
install.groups = ["dev"];
};
version = "3.11";
version = "3.12";
};
}
];
Expand Down

0 comments on commit f229821

Please sign in to comment.