From 2eab5db300b729b5e5cab95a8c39c3e4e0153b37 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 14 Mar 2017 15:49:36 -0400 Subject: Revert "gnu: gitolite: Fix shebangs in hooks." This change embedded store references in the shebangs of scripts that were meant to be copied out of the store. Those scripts would break when the interpreters expected by the shebangs were garbage collected. This reverts commit d0c16adb190c7244ee3ef1329cba78a015ae5d10. --- gnu/packages/version-control.scm | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index ccda00173d..1076c18905 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -616,17 +616,6 @@ (define-public gitolite (substitute* (find-files "." ".*") ((" perl -") (string-append " " perl " -")))))) - (add-before 'install 'fix-hooks-shebangs - (lambda* (#:key inputs #:allow-other-keys) - (let ((perl (string-append (assoc-ref inputs "perl") - "/bin/perl"))) - ;; The files in 'lib/Gitolite/Hooks' keep references to - ;; '/usr/bin/perl', without this fix it is impossible to - ;; to run gitolite in production. - (substitute* (find-files "src/lib/Gitolite/Hooks" ".*") - (("/usr/bin/perl") - perl)) - #t))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((output (assoc-ref outputs "out")) -- cgit v1.2.3