From ac9601685d017d64d775573331ead17740a54cf4 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Sat, 15 Mar 2025 13:45:56 +0100 Subject: [PATCH] Remove `chmod +x` in journalctl-last-invocation package expression This is a test to see if Nix has a phase that does this automatically. --- packages/journalctl-last-invocation/package.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/journalctl-last-invocation/package.nix b/packages/journalctl-last-invocation/package.nix index f2303e1..5eecd75 100644 --- a/packages/journalctl-last-invocation/package.nix +++ b/packages/journalctl-last-invocation/package.nix @@ -11,9 +11,6 @@ mkDerivation { version = "2025-03-10" ; dontUnpack = true ; - dontPatch = true ; - dontConfigure = true ; - dontBuild = true ; installPhase = '' runHook preInstall @@ -26,9 +23,6 @@ mkDerivation { exec ${systemd}/bin/journalctl _SYSTEMD_INVOCATION_ID=\$( ${systemd}/bin/systemctl show --value --property=InvocationID \$1 ) EOF - # TODO: Check if Nix does this for us - chmod +x $out/bin/* - runHook postInstall '' ; }