The build fails with
[75 of 79] Compiling NN.CLI ( NN/CLI.hs, dist/dist-sandbox-f1ec6f88/build/NN/CLI.o )
NN/CLI.hs:38:1:
Ambiguous occurrence ‘makeLenses’
It could refer to either ‘Control.Lens.makeLenses’,
imported from ‘Control.Lens’ at NN/CLI.hs:5:1-53
(and originally defined in ‘Control.Lens.TH’)
or ‘P.makeLenses’,
imported from ‘Text.ProtocolBuffers’ at NN/CLI.hs:18:1-43
(and originally defined in ‘Text.ProtocolBuffers.Reflections’)
Failed to install caffegraph-0.1.0.2
cabal: Error: some packages failed to install:
caffegraph-0.1.0.2 failed during the building phase. The exception was:
ExitFailure 1
I tried to use stack too for some packages, so I actually have that CLI.hs built already in my .stack-work directory. So I tried to trick it with
cp .stack-work/dist/x86_64-linux/Cabal-1.22.4.0/build/NN/CLI.* dist/dist-sandbox-f1ec6f88/build/NN/
But it didn't work, it still trying to compile the file, like it didn't see it is already built ☹
The build fails with
I tried to use stack too for some packages, so I actually have that
CLI.hsbuilt already in my.stack-workdirectory. So I tried to trick it withBut it didn't work, it still trying to compile the file, like it didn't see it is already built ☹