-
Notifications
You must be signed in to change notification settings - Fork 266
don't run .bashrc for any commands fed from .hcbuild #2108
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pdaoust it looks like the nixpkgs project merged in the option when running nix-shell --pure
that the .bashrc file would not be sourced.
Is there anything that prevents or precludes someone from having the nix-shell invocation run as pure?
@samrose Thanks for taking the time to review and recmmend! We certainly could tell devs to run Do you know if |
I presume the app-spec-tests-sim2h failure is a red herring... looks like it all happens after app-spec is already built. |
Hey @samrose just checking in on your change request -- given the extra details I shared, does this seem like a decent solution? |
Bump to master
@zippy bumping this PR -- I think it was languishing for a while because it was blocked by some requested changes. I don't know if those requested changes pertain to the issue this is trying to fix though. I've updated this branch to |
PR summary
Resolves #2097
testing/benchmarking notes
Profound apologies; I can't get the silly thing to compile (missing build deps for newrelic-sys and it's late). But the means for testing would be as follows:
echo "hello"
somewhere in your.bashrc
file.hc package
.On current
develop
this should fail with a message like:With this fix it should succeed.
changelog