me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/gnu
Cees de Groot fce9f13b54
gnu: elixir: Don't fix Git executable location during Elixir build.
The removed code below affected two locations where Elixir uses Git:

* At build-time, Git is used to see if the build is inside a Git repo and if so, git info
  is added to the build information that Elixir returns with `System.build_info()`. The code
  uses PATH + `git` so the Git version from the inputs is used which is just fine.
* At run-time, Git is used by Mix if, and only if, there are any Git-based dependencies. This
  is not the normal case, and in that sense Git is an optional dependency of Elixir - most
  projects will work just fine without Git being present. Here, too, PATH + `git` is used
  so if there is a need on a user's system to use Git-based dependencies, the user can just
  add the package to the profile and things will just work.

I feel that leaving this alone is cleaner than trying to fix the dependency (if we want to
keep it, it needs to be in propagated-inputs in order to keep Git around; I stumbled upon
this building a project with Git dependencies after doing a `guix gc`. However, given that
using Git dependencies is the exception and I think that minimizing dependencies is nicer
I opted to just remove the substition completely).

* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
remove substitutions of "git".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-03-13 23:13:46 +01:00
..
bootloader
build initrd: Honor rootfstype and rootflags command-line parameters. 2022-03-01 10:30:18 -05:00
home home: symlink-manager: Rename "path" to "file" where appropriate. 2022-03-10 11:43:15 +01:00
installer initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
machine initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
packages gnu: elixir: Don't fix Git executable location during Elixir build. 2022-03-13 23:13:46 +01:00
platforms
services services: openssh: Change 'authorized-keys' accessor name. 2022-03-10 23:46:51 +01:00
system system: hurd: Move the Shepherd before the Hurd in %BASE-PACKAGES/HURD. 2022-03-09 23:38:18 +01:00
tests tests: nix: Remove tab characters. 2022-02-21 13:38:47 +01:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm installer: Use system-wide guix for system init. 2022-02-02 16:46:44 +01:00
local.mk gnu: transfig: Fix "multiple definition" errors with GCC 10+. 2022-03-11 23:07:25 +01:00
machine.scm gnu: Fix typo. 2022-02-08 13:34:02 +01:00
packages.scm
platform.scm
services.scm services: startup: Add description. 2022-03-10 23:46:51 +01:00
system.scm system: Set kernel name for riscv64-linux. 2022-03-07 22:53:58 +02:00
tests.scm