In stack.yaml I have something like:
- git: https://github.com/tensorflow/haskell.git
commit: 925c2e95151c0ea1592c26b51a5d98e4ca4a2fe7
subdirs:
- tensorflow
- tensorflow-proto
I see that this leads to a different src derivation for each subdir here:
|
cp -r "${rawSrc}/${haskPkgLock.subdir}" "$out" |
But for this repo, that leads to a failing build, because the tensorflow-proto subdir has a relative symlink third_party in it that points to ../third_party - this symlink becomes dangling when only the subdir is copied to the store. (third_party itself happens to have a submodule in it, but that's #44.)
In
stack.yamlI have something like:I see that this leads to a different
srcderivation for each subdir here:stacklock2nix/nix/build-support/stacklock2nix/default.nix
Line 390 in 22676df
But for this repo, that leads to a failing build, because the
tensorflow-protosubdir has a relative symlinkthird_partyin it that points to../third_party- this symlink becomes dangling when only the subdir is copied to the store. (third_partyitself happens to have a submodule in it, but that's #44.)