diff --git a/darwin-configuration.nix b/darwin-configuration.nix index c80a23b..567e50c 100644 --- a/darwin-configuration.nix +++ b/darwin-configuration.nix @@ -1,5 +1,4 @@ {pkgs, ...}: let - python = import ./python.nix {inherit pkgs;}; mbsync = import ./mbsync.nix {inherit pkgs;}; in { nix.useDaemon = true; @@ -12,7 +11,7 @@ in { pkgs.rustup pkgs.libiconv pkgs.clang - python + pkgs.python3 ]; users.users.patrick = { diff --git a/python.nix b/python.nix deleted file mode 100644 index b08f40c..0000000 --- a/python.nix +++ /dev/null @@ -1,14 +0,0 @@ -{pkgs}: let - my-python-packages = python-packages: - with python-packages; [ - pip - mathlibtools - ]; -in let - packageOverrides = self: super: { - # Test failures on darwin ("windows-1252"); just skip pytest - # (required for elan) - beautifulsoup4 = super.beautifulsoup4.overridePythonAttrs (old: {pytestCheckPhase = "true";}); - }; -in - (pkgs.python3.override {inherit packageOverrides;}).withPackages my-python-packages