Skip to content

Conversation

hamishmack
Copy link
Collaborator

This change makes sure paths have a context so they will be included in the derivation inputs for the component derivations. Without this sandbox builds cannot see the input and fail with the error:

do not know how to unpack source archive /nix/store/...

This PR also fixes an issue if project src has no cabal files and is not the root directory of the repo.

This change makes sure paths have a context so they will be
included in the derivation inputs for the component derivations.
Without this sandbox builds cannot see the input and
fail with the error:

  do not know how to unpack source archive /nix/store/...

This PR also fixes an issue if project src has no cabal files and is
not the root directory of the repo.
@hamishmack hamishmack requested a review from andreabedini June 9, 2023 13:50
@hamishmack hamishmack self-assigned this Jun 9, 2023
@hamishmack hamishmack requested a review from andreabedini June 12, 2023 15:04
This reverts commit ed56a88.

# Conflicts:
#	modules/plan.nix
#	modules/project-common.nix
Copy link
Member

@andreabedini andreabedini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@andreabedini
Copy link
Member

<3

@hamishmack hamishmack merged commit d3def95 into master Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants