fix: build properly on asahi

This commit is contained in:
Youwen Wu 2024-09-01 13:10:58 -07:00
parent fe99a1fc9d
commit becc60243a
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 8 additions and 7 deletions

View file

@ -9,15 +9,16 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1722469787, "lastModified": 1725213692,
"narHash": "sha256-P20oAmbgXHl1E77TXPXiAj1Ntycc1mf7fZMI7X13VYw=", "narHash": "sha256-owQBVWS05OKLjDrPkQW5+gGz/SNgIF7/9nZLkZ0bkFw=",
"owner": "tpwrules", "owner": "rowanG077",
"repo": "nixos-apple-silicon", "repo": "nixos-apple-silicon",
"rev": "8a665fee82901878edaeb8ee120296a979db2dd2", "rev": "fc4503fa956c4f07b5cb0b7d446a04be25786402",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tpwrules", "owner": "rowanG077",
"ref": "fix-mesa",
"repo": "nixos-apple-silicon", "repo": "nixos-apple-silicon",
"type": "github" "type": "github"
} }

View file

@ -49,7 +49,7 @@
}; };
apple-silicon = { apple-silicon = {
url = "github:tpwrules/nixos-apple-silicon"; url = "github:rowanG077/nixos-apple-silicon/fix-mesa";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -10,7 +10,7 @@
in { in {
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
manga-tui = inputs.manga-tui.packages.${pkgs.system}.default; # manga-tui = inputs.manga-tui.packages.${pkgs.system}.default;
xdg-desktop-portal-hyprland = super.xdg-desktop-portal-hyprland.overrideAttrs (oldAttrs: { xdg-desktop-portal-hyprland = super.xdg-desktop-portal-hyprland.overrideAttrs (oldAttrs: {
src = oldAttrs.src; src = oldAttrs.src;
patches = patches =