-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use src = ./. #119
Comments
nh2
added a commit
to nh2/stack2nix
that referenced
this issue
Aug 24, 2018
This is NOT the fix for input-output-hk#119; that one is about making stack2nix generate fixes like this one, for all packages you run it on.
This was referenced Aug 24, 2018
Closed
nh2
added a commit
to nh2/stack2nix
that referenced
this issue
Aug 25, 2018
This is NOT the fix for input-output-hk#119; that one is about making stack2nix generate fixes like this one, for all packages you run it on.
nh2
added a commit
to nh2/stack2nix
that referenced
this issue
Aug 25, 2018
This is NOT the fix for input-output-hk#119; that one is about making stack2nix generate fixes like this one, for all packages you run it on.
domenkozar
added a commit
that referenced
this issue
Aug 25, 2018
Don't use `src = ./.` for stack2nix itself. See #119.
This was merged in master, so closing. |
@domenkozar What fixed this? As mentioned in nh2@9d390be
|
Sorry, was confused by the commit message. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stack2nix
currently usessrc = ./.
for the current project, which means it adds huge dirs like.stack-work
or potentially.git
to the build environment, resulting inand slow builds.
It should
filterSource
those away (at least.stack-work
), and probably also handle the basename problem by usingbuiltins.path
.The text was updated successfully, but these errors were encountered: