mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-07 07:28:40 +00:00
Delete Python workaround (#48)
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
python = import ./python.nix {inherit pkgs;};
|
|
||||||
mbsync = import ./mbsync.nix {inherit pkgs;};
|
mbsync = import ./mbsync.nix {inherit pkgs;};
|
||||||
in {
|
in {
|
||||||
nix.useDaemon = true;
|
nix.useDaemon = true;
|
||||||
@@ -12,7 +11,7 @@ in {
|
|||||||
pkgs.rustup
|
pkgs.rustup
|
||||||
pkgs.libiconv
|
pkgs.libiconv
|
||||||
pkgs.clang
|
pkgs.clang
|
||||||
python
|
pkgs.python3
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.patrick = {
|
users.users.patrick = {
|
||||||
|
14
python.nix
14
python.nix
@@ -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
|
|
Reference in New Issue
Block a user