update sobercookie
This commit is contained in:
parent
126dcf014e
commit
7074198be5
3 changed files with 10 additions and 16 deletions
|
@ -1,14 +1,12 @@
|
|||
{
|
||||
stdenv,
|
||||
gnugrep,
|
||||
lib,
|
||||
pkg-config,
|
||||
flatpak,
|
||||
procps,
|
||||
bash,
|
||||
jq,
|
||||
perl,
|
||||
gnused,
|
||||
libnotify,
|
||||
coreutils,
|
||||
makeWrapper,
|
||||
luajitPackages,
|
||||
|
@ -38,7 +36,6 @@ stdenv.mkDerivation (nv_generated.sobercookie
|
|||
|
||||
mkdir -p $out/bin
|
||||
cp sobercookie $out/bin/sobercookie
|
||||
cp sobercookie_service $out/bin/sobercookie_service
|
||||
cp launcher.lua $out/bin/sobercookie-launcher
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
|
@ -55,10 +52,7 @@ stdenv.mkDerivation (nv_generated.sobercookie
|
|||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/sobercookie_service \
|
||||
--prefix PATH : ${lib.makeBinPath [bash jq libnotify coreutils procps gnugrep gnused]} ## sudo is assumed to be installed
|
||||
|
||||
wrapProgram $out/bin/sobercookie \
|
||||
--prefix PATH : ${lib.makeBinPath [flatpak bash coreutils procps]}:$out/bin
|
||||
--prefix PATH : ${lib.makeBinPath [flatpak bash coreutils procps gnused perl]}:$out/bin
|
||||
'';
|
||||
}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue