Remove chmod +x in journalctl-last-invocation package expression

This is a test to see if Nix has a phase that does this automatically.
This commit is contained in:
Reinout Meliesie 2025-03-15 13:45:56 +01:00
parent a7d6810c93
commit ac9601685d
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -11,9 +11,6 @@ mkDerivation {
version = "2025-03-10" ; version = "2025-03-10" ;
dontUnpack = true ; dontUnpack = true ;
dontPatch = true ;
dontConfigure = true ;
dontBuild = true ;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
@ -26,9 +23,6 @@ mkDerivation {
exec ${systemd}/bin/journalctl _SYSTEMD_INVOCATION_ID=\$( ${systemd}/bin/systemctl show --value --property=InvocationID \$1 ) exec ${systemd}/bin/journalctl _SYSTEMD_INVOCATION_ID=\$( ${systemd}/bin/systemctl show --value --property=InvocationID \$1 )
EOF EOF
# TODO: Check if Nix does this for us
chmod +x $out/bin/*
runHook postInstall runHook postInstall
'' ; '' ;
} }