From 5c8f36874a863ac0f8ff69534a200766982ddfef Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 2 Jun 2023 12:46:32 -0400 Subject: [PATCH] make ghc version available to the test app below --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b4d5bae..b97bb3e 100644 --- a/flake.nix +++ b/flake.nix @@ -18,10 +18,11 @@ in ulib.eachSystem ["x86_64-linux" "aarch64-darwin"] (system: let pkgs = nixpkgs.legacyPackages.${system}; + ghcVersion = "ghc8107"; hslib = hs-flake-utils.lib { inherit pkgs; src = ./.; - compilerVersion = "ghc8107"; + compilerVersion = ghcVersion; packageName = "tahoe-capabilities"; }; in { -- GitLab