tvl-depot/third_party/elmPackages_0_18/default.nix
sterni 16db185d97 chore(3p/sources): Bump channels & overlays
* //third_party/overlays/tvl: remove SBCL override, as SBCL 2.2.11 fixes
  the bug we were running into.

* //fun/gemma: use historical nixpkgs for everything due to ABI
  incompatibilities triggered by preloaded libredirect.so wanting
  GLIBC_2.34 which is not available in elm-make.

Change-Id: I465f0366413856e45ddd1e67fc9d732075e2f3c5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7595
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
2022-12-24 12:42:41 +00:00

21 lines
666 B
Nix

# Backports Elm packages for Elm 0.18 from an older channel of
# nixpkgs.
#
# Elm 0.19 changed the language & package ecosystem completely,
# essentially requiring a partial rewrite of all Elm apps. However,
# //fun/gemma uses Elm 0.18 and I don't have time to rewrite it.
#
# Since the ABIs of current glibc and the pinned version have diverged
# too much, we need to build //fun/gemma completely based on a historical
# nixpkgs version.
{ pkgs, ... }:
(import
(pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
rev = "14f9ee66e63077539252f8b4550049381a082518";
sha256 = "1wn7nmb1cqfk2j91l3rwc6yhimfkzxprb8wknw5wi57yhq9m6lv1";
})
{ })