Re-add chmod +x
, specify phases directly in jcli package
This commit is contained in:
parent
ac9601685d
commit
bf8156b213
1 changed files with 2 additions and 4 deletions
|
@ -10,11 +10,9 @@ mkDerivation {
|
|||
pname = "journalctl-last-invocation" ;
|
||||
version = "2025-03-10" ;
|
||||
|
||||
dontUnpack = true ;
|
||||
phases = [ "installPhase" ] ;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
|
||||
cat <<- EOF > $out/bin/journalctl-last-invocation
|
||||
|
@ -23,6 +21,6 @@ mkDerivation {
|
|||
exec ${systemd}/bin/journalctl _SYSTEMD_INVOCATION_ID=\$( ${systemd}/bin/systemctl show --value --property=InvocationID \$1 )
|
||||
EOF
|
||||
|
||||
runHook postInstall
|
||||
chmod +x $out/bin/*
|
||||
'' ;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue