Skip to content

Commit

Permalink
don't jailbreak agda2hs from flake.nix
Browse files Browse the repository at this point in the history
remove mentions of ghc 9.6 since we don't rely on it
  • Loading branch information
liesnikov authored and jespercockx committed Sep 24, 2024
1 parent 3f478bf commit c8b7fa6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@
scope-lib = scope.packages.${system}.scope-lib;

helper = agda2hs.lib.${system};
hpkgs = pkgs.haskell.packages.ghc96;
agda2hs-ghc96 = pkgs.callPackage (helper.agda2hs-expr) {
agda2hs-drv = pkgs.callPackage (helper.agda2hs-expr) {
inherit self;
agda2hs = hpkgs.callPackage (helper.agda2hs-pkg "--jailbreak") {};
inherit (hpkgs) ghcWithPackages;
agda2hs = pkgs.haskellPackages.callPackage (helper.agda2hs-pkg "") {};
inherit (pkgs.haskellPackages) ghcWithPackages;
};
agda2hs-custom = agda2hs-ghc96.withPackages [agda2hs-lib scope-lib];
agda2hs-custom = agda2hs-drv.withPackages [agda2hs-lib scope-lib];
agda-core-pkg = import ./nix/agda-core.nix;
agda-core = pkgs.haskellPackages.callPackage ./nix/agda-core.nix {agda2hs = agda2hs-custom;};
in {
Expand Down

0 comments on commit c8b7fa6

Please sign in to comment.