From c76075c9e424d3588fc151cf1493150fd57bc505 Mon Sep 17 00:00:00 2001 From: asnev Date: Sat, 27 Jun 2026 07:54:02 +0700 Subject: [PATCH] openblas temp fix --- configuration.nix | 2 +- flake.lock | 6 +++--- flake.nix | 21 ++++++++++++++++----- users/coyote/default.nix | 4 ---- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/configuration.nix b/configuration.nix index b23599a..0d4c8d7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -31,7 +31,7 @@ pipewire = { enable = true; alsa.enable = true; - alsa.support32Bit = true; + alsa.support32Bit = false; # temporarily set to 'false' to fix openblas issue pulse.enable = true; }; }; diff --git a/flake.lock b/flake.lock index fc05fcb..92ff2eb 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1782116945, - "narHash": "sha256-G3tw/IXmaH6IQ2upZvhuN9sG8CkuX+BLuJDpE8hz0Ds=", + "lastModified": 1782233679, + "narHash": "sha256-QyuGP5+QOtmXpy4i2X4DhBVBaySBdDKQEhqKcphcp34=", "owner": "nixos", "repo": "nixpkgs", - "rev": "34268251cf5547d39063f2c5ea9a196246f7f3a6", + "rev": "667d5cf1c59585031d743c78b394b0a647537c35", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index bb85891..6c8c421 100644 --- a/flake.nix +++ b/flake.nix @@ -5,9 +5,6 @@ nixpkgs = { url = "github:nixos/nixpkgs/nixos-26.05"; }; - #nixpkgs-unstable = { - # url = "github:nixos/nixpkgs/nixos-unstable"; - #}; home-manager = { url = "github:nix-community/home-manager/release-26.05"; inputs.nixpkgs.follows = "nixpkgs"; @@ -17,12 +14,10 @@ outputs = inputs @ { self, nixpkgs, - #nixpkgs-unstable, home-manager, ... }: let system = "x86_64-linux"; - #pkgs-unstable = import nixpkgs-unstable {inherit system;}; in { nixosConfigurations = { phostron = nixpkgs.lib.nixosSystem { @@ -44,5 +39,21 @@ ]; }; }; + + devShells.${system}.default = let + pkgs = import nixpkgs { + inherit system; + overlays = [ + (final: prev: { + openblas = + if prev.stdenv.hostPlatform.system == "i686-linux" + then prev.openblas.overrideAttrs (_: {doCheck = false;}) + else prev.openblas; + }) + ]; + }; + in pkgs.mkShell { + buildInputs = with pkgs; [ openblas ]; + }; }; } diff --git a/users/coyote/default.nix b/users/coyote/default.nix index 3bab9b3..a755ae5 100644 --- a/users/coyote/default.nix +++ b/users/coyote/default.nix @@ -17,10 +17,6 @@ in # packages direcly within system environment environment = { systemPackages = with pkgs; [ - ardour - lsp-plugins - steam - steam-run # programming netbeans marksman