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

Cleanup deps #1312

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Cleanup deps #1312

merged 1 commit into from
Dec 4, 2023

Conversation

Ericson2314
Copy link
Member

  • nativeBuildInputs vs buildInputs

  • narrow down withs for clarity

  • use autoreconfHook not bootstrap script

These sorts of changes have also been done in the Nix repo.

- `nativeBuildInputs` vs `buildInputs`

- narrow down `with`s for clarity

- use `autoreconfHook` not `bootstrap` script

These sorts of changes have also been done in the Nix repo.
Comment on lines +145 to +146
nativeBuildInputs =
with final.buildPackages; [
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
nativeBuildInputs =
with final.buildPackages; [
nativeBuildInputs = with final.buildPackages; [

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't like the existing style either, but if I did that I would be better off moving way more things around?

Copy link
Member

Choose a reason for hiding this comment

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

hmmm but that would also be a much bigger change and I didn't see the other lines in the diff 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

I meant I think would be better in a separate PR to run an auto-format, and in this one to do the minimal thing

Comment on lines +156 to +158
buildInputs =
with final; [
unzip
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
buildInputs =
with final; [
unzip
buildInputs = with final; [
unzip

@edolstra edolstra merged commit 4dc8fe0 into NixOS:master Dec 4, 2023
1 check passed
@Ericson2314 Ericson2314 deleted the clean-up-deps branch December 4, 2023 14:15
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.

3 participants