samba: fix cross build

This commit is contained in:
2024-11-22 23:30:05 +00:00
parent 95f04580f4
commit e588ce6de0
2 changed files with 14 additions and 8 deletions

View File

@@ -32,10 +32,10 @@
# # PW uses ffmpeg-headless; not affected by `ffmpeg.override`. it directly calls into `libmysofa`
# withMysofa = true;
# };
ffmpeg-full = super.ffmpeg-full.override {
# saves 20 minutes of build time and cross issues, for unused feature
withSamba = false;
};
# ffmpeg-full = super.ffmpeg-full.override {
# # saves 20 minutes of build time and cross issues, for unused feature
# withSamba = false;
# };
# gnome-control-center = super.gnome-control-center.override {
# # i build goa without the "backend", to avoid webkit_4_1.
@@ -56,10 +56,10 @@
# # };
# };
gvfs = super.gvfs.override {
# saves 20 minutes of build time and cross issues, for unused feature
samba = null;
};
# gvfs = super.gvfs.override {
# # saves 20 minutes of build time and cross issues, for unused feature
# samba = null;
# };
# phog = super.phog.override {
# # disable squeekboard because it takes 20 minutes to compile when emulated

View File

@@ -51,6 +51,12 @@ in
hash = "sha256-v4OUuzpB8kXIU25r20SKtASEUwz/tgxCQQ6WQL1I/N8=";
})
(fetchpatch' {
name = "samba: resurrect cross compilation patch";
prUrl = "https://github.com/NixOS/nixpkgs/pull/357988";
hash = "sha256-aacdmbVGifmoWXun4ljSQ4IZZ2oxeeWRzHY56b9CoyQ=";
})
(fetchpatch' {
name = "nixos/bonsaid: init";
prUrl = "https://github.com/NixOS/nixpkgs/pull/347818";