Skip to content

Conversation

@sg-qwt
Copy link

@sg-qwt sg-qwt commented Jan 6, 2026

Hi,

This fix is to ensure the uberscript brepl installed not be affected by the bb.edn file in local folder when running the brepl inside that folder.

For example, in folder ~/user/project, if that folder happens to contain a bb.edn with deps (not relevant to brepl), running brepl would still download that deps from bb.edn, which is not correct.

I only fixed the nix version in this pr. You may need to advice/fix the wrap approach either with the BABASHKA_CLASSPATH empty approach or bb --config nil ubserscript for other platforms.

NixOS/nixpkgs#454426

@sg-qwt
Copy link
Author

sg-qwt commented Jan 6, 2026

or maybe put something like #!/usr/bin/env -S BABASHKA_CLASSPATH="" bb in the build process.

https://github.com/licht1stein/brepl/blob/master/bb.edn#L68

@sg-qwt
Copy link
Author

sg-qwt commented Jan 6, 2026

babashka/babashka#1907

I raised this upstream, maybe we can have a better solution upstream

@sg-qwt sg-qwt marked this pull request as draft January 6, 2026 11:41
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.

1 participant