From 5a35af54dbc969e6c0c3fb312188884614f91d6f Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 13 Jan 2023 17:11:08 -0500 Subject: [PATCH] Revert "native opts go nyoom" This reverts commit e5d187e4c59ed4fc2717df6e9020460f87c20e98. --- machines/levitation/configuration.nix | 36 +-------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/machines/levitation/configuration.nix b/machines/levitation/configuration.nix index 5a34349..21603bd 100644 --- a/machines/levitation/configuration.nix +++ b/machines/levitation/configuration.nix @@ -74,8 +74,7 @@ # Configure nix build nix.settings = { cores = 8; - max-jobs = 6; - system-features = [ "gccarch-znver3" ]; + max-jobs = 8; }; # Calibre @@ -91,37 +90,4 @@ enableBookUploading = true; }; }; - - nixpkgs = { - # Native opts go nyoom - localSystem = { - gcc = { - arch = "znver3"; - tune = "znver3"; - }; - system = "x86_64-linux"; - }; - # Fix some packages that are broken on nixos-21.11 with march=znver3 - # We'll substitute these with the version from a second import of nixpkgs without the gcc - # configuration. - overlays = [ - (self: super: - let - vanilla-pkgs = import inputs.nixpkgs-unstable { - system = "x86_64-linux"; - config = { - localSystem = { - gcc = { - arch = null; - tune = null; - }; - }; - }; - }; - in { - libxcrypt = vanilla-pkgs.libxcrypt; - perl = vanilla-pkgs.perl; - }) - ]; - }; }