stack.nix: conform to new flake.nix stack-wrapped
This commit is contained in:
parent
dd67429139
commit
95857b4624
@ -2,12 +2,12 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
{ ghc, nixpkgs ? import ./nixpkgs.nix }:
|
{ ghc, nixpkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# haskellPackages = import ./stackage.nix { inherit nixpkgs; };
|
# haskellPackages = import ./stackage.nix { inherit nixpkgs; };
|
||||||
haskellPackages = pkgs.haskellPackages;
|
haskellPackages = pkgs.haskellPackages;
|
||||||
inherit (nixpkgs {}) pkgs;
|
inherit (nixpkgs) pkgs;
|
||||||
in pkgs.haskell.lib.buildStackProject {
|
in pkgs.haskell.lib.buildStackProject {
|
||||||
inherit ghc;
|
inherit ghc;
|
||||||
inherit (haskellPackages) stack;
|
inherit (haskellPackages) stack;
|
||||||
|
|||||||
Reference in New Issue
Block a user