feat(nix): use baseline x86 packages for desktop apps
treefmt / nix fmt (pull_request) Successful in 4s
build_systems / prebuild-common-x86-64-v3 (pull_request) Successful in 21s
build_systems / build-portal-1 (pull_request) Successful in 17s
test ebook search / test-ebook-search (pull_request) Successful in 1m7s
build_systems / build-bob (pull_request) Successful in 46s
build_systems / build-brain (pull_request) Successful in 49s
build_systems / build-jeeves (pull_request) Successful in 1m16s
build_systems / build-rhapsody-in-green (pull_request) Canceled after 2h25m27s

This commit is contained in:
2026-09-20 17:33:53 -04:00
parent e038a44cb6
commit b7dfe1d95b
4 changed files with 14 additions and 5 deletions
+11 -2
View File
@@ -1,13 +1,13 @@
{ inputs, ... }:
{
# When applied, the stable nixpkgs set (declared in the flake inputs) will be accessible through 'pkgs.stable'
# Additional package sets are accessible through `pkgs.<name>`.
stable = final: _prev: {
stable = import inputs.nixpkgs-stable {
system = final.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
};
# When applied, the master nixpkgs set (declared in the flake inputs) will be accessible through 'pkgs.master'
master = final: _prev: {
master = import inputs.nixpkgs-master {
system = final.stdenv.hostPlatform.system;
@@ -15,5 +15,14 @@
};
};
# Baseline x86-64 (v1) packages for prebuilt applications that should not
# inherit an x86-64-v3 host platform.
x86-v1 = final: _prev: {
x86-v1 = import inputs.nixpkgs {
system = final.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
};
patches = import ./patches;
}
+1 -1
View File
@@ -1,6 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
home.packages = with pkgs.x86-v1; [
discord-canary
signal-desktop
slack
+1 -1
View File
@@ -14,7 +14,7 @@
gimp
mediainfo
obs-studio
obsidian
x86-v1.obsidian
prismlauncher
prusa-slicer
qalculate-gtk
+1 -1
View File
@@ -13,7 +13,7 @@ in
programs.vscode = {
enable = true;
package = pkgs.vscode;
package = pkgs.x86-v1.vscode;
mutableExtensionsDir = true;
};
}