VY
{
pkgsFunction ? import (builtins.fetchTarball https://github.com/input-output-hk/nixpkgs/archive/master.tar.gz),
pkgs ? import pkgsFunction (import builtins.fetchTarball (https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz))
}:
pkgs.haskell-nix.cabalProject {
src = pkgs.haskell-nix.haskellLib.cleanGit { src = ./.; };
ghc = pkgs.buildPackages.pkgs.haskell-nix.compiler.ghc882;
}
говорит
error: cannot coerce a function to a string, at /home/vyorkin/projects/learn/haskell/sandy/default.nix:3:10