Skip to content

Commit

Permalink
Use chez-racket from mainline Nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
L-as authored and mattpolzin committed Dec 30, 2021
1 parent 4a75d71 commit ef8f52f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 31 deletions.
38 changes: 11 additions & 27 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
url = "github:redfish64/idris2-mode";
flake = false;
};
# FIXME: Remove this when https://github.com/NixOS/nixpkgs/pull/131833 gets merged
inputs.nixpkgs-chez-racket.url = "github:L-as/nixpkgs?ref=chez-racket";
inputs.nixpkgs.url = "github:NixOS/nixpkgs";

outputs = { self, nixpkgs, nixpkgs-chez-racket, flake-utils, idris-emacs-src }:
outputs = { self, nixpkgs, flake-utils, idris-emacs-src }:
let
idris2-version = "0.5.1";
lib = import ./nix/lib.nix;
Expand All @@ -30,7 +29,7 @@
pkgs = import nixpkgs { inherit config system overlays; };
chez = if system == "x86_64-linux"
then pkgs.chez
else pkgs.callPackage "${nixpkgs-chez-racket}/pkgs/development/compilers/chez-racket" { inherit (pkgs.darwin) cctools; };
else pkgs.chez-racket; # TODO: Should this always be the default?
idris2Pkg = pkgs.callPackage ./nix/package.nix {
inherit idris2-version chez;
srcRev = self.shortRev or "dirty";
Expand Down

0 comments on commit ef8f52f

Please sign in to comment.