Commit Graph

5 Commits

Author SHA1 Message Date
James Fleming
2b20453a39 sbcl: Resume creating version.lisp-expr file
Reverse the recent commit that removed this line.
2021-02-20 15:08:23 +01:00
James Fleming
7485a007d9 sbcl: Remove substitution of mmacosx-verson-min
This substition produces a nixos-build error, because the target string
was removed in commit 323891ea5964d54aba2d272ddddbf748ce353176 in 2018.

Remove the substition from the `postPatch` phase of `sbcl/common.nix`.
2021-02-20 11:42:39 +01:00
James Fleming
6aa7dbe161 sbcl: Remove substution of 'gcc' with 'cc'
This substitution produces a nix-build warning, because the target
string was removed in commit 7b225df9a492977b8fff0948ce93c5ab31766f64
in 2016.

Remove the substition from the `postPatch` phase in `sbcl/common.nix`.
2021-02-20 11:42:25 +01:00
James Fleming
89d4504939 sbcl: Small fixes around the phase definitions
- Remove some debugging output at the start of the `patchPhase` section,
  which appears to have outlived its value.
- Rename `patchPhase` to `postPatch`, to avoid preventing people adding
  patches via the `patches` variable.
- Add `preBuild` and `postBuild` run-hooks to the `buildPhase` section.
- Add `preInstall` and `postInstall` run-hooks to the `installPhase`
  section.
2021-02-17 11:12:47 +01:00
sternenseemann
5a13d561ff sbcl: refactor nix expression for all versions
The sbcl version specific nix expressions were an exact copy of each
other with the version and hash swapped out, leading to unnecessary code
duplication. This has been resolved by moving the common expression to
common.nix and only tracking version and hash in the version specific
expressions.

Since the expression is unchanged, this should cause 0 rebuilds.
2021-02-16 12:17:47 +01:00