GNU bug report logs -
#44821
[PATCH] gnu: Add diff-so-fancy.
Previous Next
Reported by: EuAndreh <eu <at> euandre.org>
Date: Mon, 23 Nov 2020 17:16:01 UTC
Severity: normal
Tags: patch
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Fri, Dec 04, 2020 at 05:08:27PM -0300, EuAndreh wrote:
> * gnu/packages/version-control.scm (diff-so-fancy): New variable.
> ---
> Fixed the unnecessary propagated input as suggested.
Thanks!
> + (arguments
> + '(#:phases
> + (modify-phases %standard-phases
> + (add-after 'install 'symlink-executable
> + (lambda* (#:key outputs inputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out"))
> + (ncurses (assoc-ref inputs "ncurses"))
> + (perl (assoc-ref inputs "perl")))
> + (mkdir (string-append out "/bin"))
> + ;; diff-so-fancy looks for lib/ under the directory
> + ;; it is in
I should have noticed it sooner but I think it's better to adjust how
diff-so-fancy finds the library than to work around this unusual
expectation.
I attached a revised patch that does this. Can you test if it works for
you?
It simplifies the symlink-executable phase, adds a patch-lib-path phase,
and adjusts the install-plan accordingly.
If it works then we should be done!
[0001-gnu-Add-diff-so-fancy.patch (text/plain, attachment)]
This bug report was last modified 4 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.