nixpkgs: 2023-11-26 -> 2023-11-26
``` • Updated input 'nixpkgs-unpatched': 'github:nixos/nixpkgs/c6c20c63b4c1f715f602ecc46e21521e7825c2fb' (2023-11-26) → 'github:nixos/nixpkgs/013f0a99e56eeb1cfb44764fc0d419306b84bbe4' (2023-11-26) ```
This commit is contained in:
parent
f8db994129
commit
3ebf6470c1
|
@ -53,11 +53,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unpatched": {
|
"nixpkgs-unpatched": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700998929,
|
"lastModified": 1701035596,
|
||||||
"narHash": "sha256-Ajkz8t8MTCeAlvzEMTyPKrkLfnKQuLAXhMQTWxExqpw=",
|
"narHash": "sha256-oZ8zdVQDRGhQ3+1H8rzqwMqxCS1MPJ9T265CuwHB8eI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c6c20c63b4c1f715f602ecc46e21521e7825c2fb",
|
"rev": "013f0a99e56eeb1cfb44764fc0d419306b84bbe4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -14,16 +14,15 @@ let
|
||||||
echo "launching sway-session (sway.desktop)..." | ${systemd-cat} --identifier=sway-session
|
echo "launching sway-session (sway.desktop)..." | ${systemd-cat} --identifier=sway-session
|
||||||
sway 2>&1 | ${systemd-cat} --identifier=sway-session
|
sway 2>&1 | ${systemd-cat} --identifier=sway-session
|
||||||
'';
|
'';
|
||||||
origSway = (pkgs.wrapSway.override {
|
origSway = pkgs.sway.override {
|
||||||
# this override is what `programs.nixos` would do internally if we left `package` unset.
|
# this override is what `programs.nixos` would do internally if we left `package` unset.
|
||||||
# NOTE(2023/11/26): this wrapper is in flux, see: <https://github.com/NixOS/nixpkgs/pull/270013>
|
|
||||||
extraSessionCommands = scfg.extraSessionCommands;
|
extraSessionCommands = scfg.extraSessionCommands;
|
||||||
extraOptions = scfg.extraOptions;
|
extraOptions = scfg.extraOptions;
|
||||||
withBaseWrapper = scfg.wrapperFeatures.base;
|
withBaseWrapper = scfg.wrapperFeatures.base;
|
||||||
withGtkWrapper = scfg.wrapperFeatures.gtk;
|
withGtkWrapper = scfg.wrapperFeatures.gtk;
|
||||||
isNixOS = true;
|
isNixOS = true;
|
||||||
# TODO: `enableXWayland = ...`?
|
# TODO: `enableXWayland = ...`?
|
||||||
}) pkgs.sway-unwrapped;
|
};
|
||||||
desktop-file = pkgs.runCommand "sway-desktop-wrapper" {} ''
|
desktop-file = pkgs.runCommand "sway-desktop-wrapper" {} ''
|
||||||
mkdir -p $out/share/wayland-sessions
|
mkdir -p $out/share/wayland-sessions
|
||||||
substitute ${origSway}/share/wayland-sessions/sway.desktop $out/share/wayland-sessions/sway.desktop \
|
substitute ${origSway}/share/wayland-sessions/sway.desktop $out/share/wayland-sessions/sway.desktop \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user