Delete Python workaround (#48)

This commit is contained in:
Patrick Stevens
2024-04-06 12:30:05 +01:00
committed by GitHub
parent a210ee4301
commit fd71527762
2 changed files with 1 additions and 16 deletions

View File

@@ -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 = {

View File

@@ -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