chore(nix): update xorg attributes to top-level (#2037)

## Description

Recent updates to `nixpkgs` (unstable) have deprecated the `xorg`
package set in favor of top-level package names. This PR updates the FHS
development shell dependencies in `flake.nix` to eliminate evaluation
warnings when running `nix develop .#fhs`.

**Changes:**
Replaced the deprecated `xorg.*` attributes with their new top-level
names inside the Electron FHS environment:

* `xorg.libX11` $\rightarrow$ `libx11`
* `xorg.libXcomposite` $\rightarrow$ `libxcomposite`
* `xorg.libXdamage` $\rightarrow$ `libxdamage`
* `xorg.libXext` $\rightarrow$ `libxext`
* `xorg.libXfixes` $\rightarrow$ `libxfixes`
* `xorg.libXrandr` $\rightarrow$ `libxrandr`
* `xorg.libxcb` $\rightarrow$ `libxcb`
* `xorg.libXcursor` $\rightarrow$ `libxcursor`
* `xorg.libXi` $\rightarrow$ `libxi`
* `xorg.libXtst` $\rightarrow$ `libxtst`

## Linked Issues

None.

## Additional Context

None.
This commit is contained in:
LFour
2026-07-10 01:24:10 +00:00
committed by GitHub
parent 0642ede8d1
commit e294434a2e
2 changed files with 14 additions and 13 deletions
Generated
+3 -3
View File
@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1780243769, "lastModified": 1783224372,
"narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", "narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", "rev": "d407951447dcd00442e97087bf374aad70c04cea",
"type": "github" "type": "github"
}, },
"original": { "original": {
+11 -10
View File
@@ -72,16 +72,17 @@
at-spi2-core at-spi2-core
cups.lib # libcups.so.2 is in 'lib' output, not 'out' cups.lib # libcups.so.2 is in 'lib' output, not 'out'
libdrm libdrm
xorg.libX11 libx11
xorg.libXcomposite libxcomposite
xorg.libXdamage libxdamage
xorg.libXext libxext
xorg.libXfixes libxfixes
xorg.libXrandr libxrandr
xorg.libxcb libxcb
xorg.libXcursor libxcursor
xorg.libXi libxi
xorg.libXtst libxt
libxtst
expat expat
libxkbcommon libxkbcommon
libgbm # libgbm.so.1 is now a separate package from mesa libgbm # libgbm.so.1 is now a separate package from mesa