Skip to content

Commit

Permalink
build(nix): update to python 3.12 and nixos 24.05
Browse files Browse the repository at this point in the history
Update Nix build to use Python 3.12, NixOS 24.05. Also, include
aarch4-darwin as a possible build.

Currently, there is a single test failure in
fipy.matrices.scipyMatrix._ScipyMatrix.
  • Loading branch information
wd15 committed Jun 25, 2024
1 parent 1e411d4 commit 21bc31e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions flake.lock

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

6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
description = "Python environment for fipy";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, utils}: (utils.lib.eachSystem ["x86_64-linux" "x86_64-darwin" ] (system:
outputs = { self, nixpkgs, utils}: (utils.lib.eachSystem [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ] (system:
let
pkgs = nixpkgs.legacyPackages.${system};
pypkgs = pkgs.python310Packages;
pypkgs = pkgs.python312Packages;

env = (pypkgs.fipy.overridePythonAttrs (old: rec {

Expand Down

0 comments on commit 21bc31e

Please sign in to comment.