Skip to content

Stack build fails with "called without required argument text" #53

@david-janssen

Description

@david-janssen

Excuse me if this is me simply not grokking something, but I can't seem to build my little project, which can be found here (including the "default.nix" file I am currently using.: https://github.com/david-janssen/kmonad

I run into "anonymous function at /nix/store/hash-stack2nix-output.nix called without required argument 'text'"

error: while evaluating the attribute 'static_package' at /nix/store/9f4057hjy1b4d3aawzlqxi6gl3lijchc-source/static-stack2nix-builder/default.nix:63:10:
while evaluating the attribute 'haskellPackages.kmonad' at undefined position:
while evaluating anonymous function at /nix/store/9f4057hjy1b4d3aawzlqxi6gl3lijchc-source/survey/default.nix:1133:35, called from undefined position:
while evaluating 'isProperHaskellPackage' at /nix/store/9f4057hjy1b4d3aawzlqxi6gl3lijchc-source/survey/default.nix:83:28, called from /nix/store/9f4057hjy1b4d3aawzlqxi6gl3lijchc-source/survey/default.nix:1134:15:
while evaluating 'isDerivation' at /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/lib/attrsets.nix:305:18, called from /nix/store/9f4057hjy1b4d3aawzlqxi6gl3lijchc-source/survey/default.nix:84:5:
while evaluating 'callPackage' at /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/pkgs/development/haskell-modules/make-package-set.nix:114:22, called from /nix/store/23pn22vxxcgnrp62a20sa0jgz9vky60v-stack2nix-output.nix:20431:18:
while evaluating 'callPackageWithScope' at /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/pkgs/development/haskell-modules/make-package-set.nix:74:37, called from /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/pkgs/development/haskell-modules/make-package-set.nix:114:28:
while evaluating 'makeOverridable' at /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/lib/customisation.nix:67:24, called from /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/pkgs/development/haskell-modules/make-package-set.nix:97:8:
while evaluating 'drvScope' at /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/pkgs/development/haskell-modules/make-package-set.nix:87:18, called from /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/lib/customisation.nix:69:12:
anonymous function at /nix/store/23pn22vxxcgnrp62a20sa0jgz9vky60v-stack2nix-output.nix:20432:10 called without required argument 'text', at /nix/store/c3xdy7989a3x52jqg98gwzbiwv8gcv49-source/pkgs/development/haskell-modules/make-package-set.nix:87:27

I am not entirely sure how to interpret the output above the error message, but I would half expect to find the 'text' package occuring somewhere around here:

+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://test-framework-quickcheck2-0.3.0.5
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://testing-feat-1.1.0.0
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://texmath-0.11.2.2
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://testing-type-modifiers-0.1.0.1
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://text-builder-0.6.5.1
+ cabal2nix --subpath . --system x86_64-linux --compiler ghc-8.6.5 cabal://text-binary-0.2.1.1

but I can't seem to find it anywhere either.

Am I missing something obvious?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions