diff --git a/stack.nix b/stack.nix index d528dabc5..22b4b452f 100644 --- a/stack.nix +++ b/stack.nix @@ -2,12 +2,12 @@ # # SPDX-License-Identifier: AGPL-3.0-or-later -{ ghc, nixpkgs ? import ./nixpkgs.nix }: +{ ghc, nixpkgs ? import {} }: let # haskellPackages = import ./stackage.nix { inherit nixpkgs; }; haskellPackages = pkgs.haskellPackages; - inherit (nixpkgs {}) pkgs; + inherit (nixpkgs) pkgs; in pkgs.haskell.lib.buildStackProject { inherit ghc; inherit (haskellPackages) stack;