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

Testing nix-build using reposity_ctx.which() #65

Merged
merged 1 commit into from
Jan 28, 2019

Conversation

picnoir
Copy link
Contributor

@picnoir picnoir commented Jan 28, 2019

Using the type -p bash builtin instead of nix-build --version to
test whether nix-build is in $PATH. This results in a ~x4 speedup
while still compatible with windows, darwin and linux.

Using the repository_cxt.which() instead of `nix-build --version` to
test whether nix-build is in `$PATH`. This results in a ~x4 speedup
while still compatible with windows, darwin and linux.
@picnoir picnoir changed the title Testing nix-build using type -p Testing nix-build using reposity_ctx.which() Jan 28, 2019
@Profpatsch Profpatsch merged commit e9da974 into master Jan 28, 2019
@picnoir picnoir deleted the nin-version-to-type branch January 28, 2019 15:56
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