fix(bun): fix bun and bun-dependent packages on old CPUs

This commit is contained in:
2026-07-09 07:59:27 +02:00
parent 76fa31e3d2
commit 1504173111
5 changed files with 98 additions and 12 deletions
+3 -2
View File
@@ -96,7 +96,8 @@
flake-utils.lib.eachDefaultSystem (
system: let
inherit (self) outputs;
pkgs = nixpkgs.legacyPackages.${system};
pkgs = import nixpkgs {inherit system;};
in {
formatter = pkgs.alejandra;
devShells.default = pkgs.mkShell {
@@ -111,7 +112,7 @@
packages = {
homeConfigurations = let
extraSpecialArgs = {inherit inputs outputs system;};
pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs = import nixpkgs {inherit system;};
defaultUserModules = [
inputs.sops-nix.homeManagerModules.sops
inputs.spicetify.homeManagerModules.default