parent
d81601065d
commit
85e7bbb285
@ -1,16 +0,0 @@
|
||||
{ stdenv }:
|
||||
|
||||
{ name, exec }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
dbusName = "dbus-${name}.service";
|
||||
buildCommand = ''
|
||||
mkdir -p $out/lib/systemd/user
|
||||
cat > $out/lib/systemd/user/${dbusName} <<EOF
|
||||
[D-BUS Service]
|
||||
Name=${name}
|
||||
Exec=${exec}
|
||||
SystemdService=${dbusName}
|
||||
EOF
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user