Skip to content
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

Remove sandbox=false #11

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

ismaelbouyaf
Copy link
Contributor

@ismaelbouyaf ismaelbouyaf commented Oct 13, 2021

The sandbox was (probably) disabled due to the .stack/shell.nix files: it made use of buildStackProject, which requires to run outside of the sandbox for some reason ( https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-stack-builder.nix#L25 ). Now that this file is not used anymore, we can reenable the sandbox.

It should help fix in particular this recent issue we’re facing in the CI: jfischoff/tmp-postgres#251

@ismaelbouyaf ismaelbouyaf marked this pull request as ready for review October 14, 2021 12:52
Copy link

@clementd-fretlink clementd-fretlink left a comment

Choose a reason for hiding this comment

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

I think a comment explaining the context of the change would be a good addition (either in a commit message or in the PR description)

@ismaelbouyaf
Copy link
Contributor Author

I think a comment explaining the context of the change would be a good addition (either in a commit message or in the PR description)

Sure, I added that

The sandbox was (probably) enabled due to the .stack/shell.nix files: it made use of buildStackProject, which requires to run outside of the sandbox for some reason ( https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-stack-builder.nix#L25 ). Now that this file is not used anymore, we can reenable the sandbox.

It should help fix in particular this recent issue we’re facing in the CI: jfischoff/tmp-postgres#251
@ismaelbouyaf ismaelbouyaf merged commit 4df8cc2 into fretlink:master Oct 14, 2021
@ismaelbouyaf ismaelbouyaf deleted the remove-sandbox-false branch October 14, 2021 13:19
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