Skip to content

Commit

Permalink
remove a spurious let
Browse files Browse the repository at this point in the history
  • Loading branch information
liesnikov committed Jan 16, 2024
1 parent 3804bfe commit 19ba40a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
};

outputs = {self, nixpkgs, flake-utils, agda2hs-src, scope-src}:
let
in (flake-utils.lib.eachDefaultSystem (system:
(flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; overlays = [self.overlay]; };
agdaDerivation = pkgs.callPackage ./nix/mkAgdaDerivation.nix {};
Expand Down Expand Up @@ -80,6 +79,8 @@
let
inherit (finalhs) callCabal2nixWithOptions;
in {
# jailbreak to sidestep aeson constraint in agda2hs,
# otherwise we have to rebuild a lot
#th-abstraction = prevhs.th-abstraction_0_6_0_0;
#aeson = prevhs.aeson_2_2_1_0;
agda2hs = callCabal2nixWithOptions "agda2hs" agda2hs-src "--jailbreak" {};
Expand Down

0 comments on commit 19ba40a

Please sign in to comment.