stack.nix: conform to new flake.nix stack-wrapped

This commit is contained in:
Steffen Jost 2023-10-04 14:46:21 +00:00
parent dd67429139
commit 95857b4624

View File

@ -2,12 +2,12 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ ghc, nixpkgs ? import ./nixpkgs.nix }:
{ ghc, nixpkgs ? import <nixpkgs> {} }:
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;