openblas temp fix
This commit is contained in:
parent
c4484c0bbd
commit
c76075c9e4
4 changed files with 20 additions and 13 deletions
|
|
@ -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
6
flake.lock
generated
|
|
@ -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": {
|
||||||
|
|
|
||||||
21
flake.nix
21
flake.nix
|
|
@ -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 ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Reference in a new issue