Skip to content

Commit e858a35

Browse files
committed
generic-linux-gpu: add a news entry for GNU Shepherd support
Also encourage contribution for other init systems.
1 parent 7022488 commit e858a35

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ pkgs, ... }:
2+
3+
{
4+
time = "2025-12-22T19:55:56+00:00";
5+
condition = pkgs.stdenv.hostPlatform.isLinux;
6+
message = ''
7+
`targets.genericLinux.gpu` now supports GNU Shepherd.
8+
9+
This module now supports the GNU Shepherd init system, primarily for
10+
compatibility with the GNU Guix distributuion. This change also generally
11+
facilitated the implementation of other init systems.
12+
'';
13+
}

modules/targets/generic-linux/gpu/setup/non-nixos-gpu.scm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
(make-forkexec-constructor
88
'("ln" "-nsf" "@@env@@" "/run/opengl-driver"))
99
#:stop
10-
(make-kill-destructor)
10+
(lambda _
11+
(system* "rm" "-rf" "/run/opengl-driver"))
1112
#:one-shot? #t))
1213

1314
(register-services (list non-nixos-gpu))

0 commit comments

Comments
 (0)