Archived
Watch
1
0
Fork
You've already forked nixos
0

openblas temp fix

This commit is contained in:
asnev 2026-06-27 07:54:02 +07:00
commit c76075c9e4
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4
4 changed files with 20 additions and 13 deletions

View file

@ -31,7 +31,7 @@
pipewire = { pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = false; # temporarily set to 'false' to fix openblas issue
pulse.enable = true; pulse.enable = true;
}; };
}; };

6
flake.lock generated
View file

@ -23,11 +23,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1782116945, "lastModified": 1782233679,
"narHash": "sha256-G3tw/IXmaH6IQ2upZvhuN9sG8CkuX+BLuJDpE8hz0Ds=", "narHash": "sha256-QyuGP5+QOtmXpy4i2X4DhBVBaySBdDKQEhqKcphcp34=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "34268251cf5547d39063f2c5ea9a196246f7f3a6", "rev": "667d5cf1c59585031d743c78b394b0a647537c35",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -5,9 +5,6 @@
nixpkgs = { nixpkgs = {
url = "github:nixos/nixpkgs/nixos-26.05"; url = "github:nixos/nixpkgs/nixos-26.05";
}; };
#nixpkgs-unstable = {
# url = "github:nixos/nixpkgs/nixos-unstable";
#};
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-26.05"; url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -17,12 +14,10 @@
outputs = inputs @ { outputs = inputs @ {
self, self,
nixpkgs, nixpkgs,
#nixpkgs-unstable,
home-manager, home-manager,
... ...
}: let }: let
system = "x86_64-linux"; system = "x86_64-linux";
#pkgs-unstable = import nixpkgs-unstable {inherit system;};
in { in {
nixosConfigurations = { nixosConfigurations = {
phostron = nixpkgs.lib.nixosSystem { 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 ];
};
}; };
} }

View file

@ -17,10 +17,6 @@ in
# packages direcly within system environment # packages direcly within system environment
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
ardour
lsp-plugins
steam
steam-run
# programming # programming
netbeans netbeans
marksman marksman