From 6f5ad0588de37081a6e38dd763d76ee86f074a7b Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Thu, 11 Jul 2024 13:44:32 +0700 Subject: [PATCH] refactor(nix): No need to override python Not sure why and how, but issue with `/usr/bin/env python3` just fixed itself after migrating to flake.nix... I might've messed up nix setup the first time --- .config/nix/darwin/configuration.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/nix/darwin/configuration.nix b/.config/nix/darwin/configuration.nix index e506c24..7a941eb 100644 --- a/.config/nix/darwin/configuration.nix +++ b/.config/nix/darwin/configuration.nix @@ -1,11 +1,5 @@ { pkgs, vars, ... }: -let - python = pkgs.python312Full.override { - # FIXME: Build failed, maybe override postInstall instead? - #enableFramework = true; - }; -in { # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget @@ -19,7 +13,7 @@ in pkgs.pinentry_mac pkgs.gnupg pkgs.htop-vim - python + pkgs.python312Full # FIXME: Build failed, dnspython pytest keep returning FAILED caused by timeout. Maybe find a way to bypass check for them # (pkgs.poetry.override { python3 = python; }) pkgs.python312Packages.pip