From 95857b46247cf46241ad6b9a8b88c3f8f9bd85e3 Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Wed, 4 Oct 2023 14:46:21 +0000 Subject: [PATCH] stack.nix: conform to new flake.nix stack-wrapped --- stack.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;