Add a nix-ld aspect for foreign binaries and AppImages
Move programs.nix-ld out of the core aspect into modules/dev/nix-ld.nix and extend the library set (on top of the module defaults) with the runtime libraries that prebuilt binaries commonly link or dlopen: C++ runtime, compression and crypto, GL/Vulkan/Wayland, audio, fonts, GTK and Electron-style helpers, and the X11 client libraries. Enable programs.appimage with binfmt so .AppImage files run directly through appimage-run. Import the aspect from the desktop host and document it in the README. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
This commit is contained in:
4 files changed
+134
-6
No files matched your search
@@ -46,9 +46,6 @@ in
|
||||
enable = true;
|
||||
flake = "/home/${owner.name}/nixos-config";
|
||||
};
|
||||
|
||||
# Lets prebuilt binaries (editors' language servers, game launchers) run.
|
||||
nix-ld.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user