Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

build tools #3

@cocreature

Description

@cocreature

I have a project that requires c2hs. I tried making a cabbage.config containing

systemDeps:
  c2hs: c2hs

but this results in a warning and a possibly unrelated error from find

WARNING: cabal get did not unpack c2hs
Should we continue? [Y/n] 
find: warning: you have specified the -depth option after a non-option argument -name, but options are not positional (-depth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: paths must precede expression: 1
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
WARNING: Couldn't find build tool: c2hs

when running cabbage. When I try to run nix-shell --command 'sh $setup' nevertheless I get the following error

error: anonymous function at "/home/moritz/code/haskell/reactand/default.nix":1:1 called without required argument ‘c2hs’, at "/nix/store/lgjabak42v2hp51dvj3fc0c3pxpnkk9h-nixpkgs-15.06pre63073.f0311f9/nixpkgs/lib/customisation.nix":58:12

I have c2hs in my path but nix probably needs it's own version.

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