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

jetbrains: replace overrideDerivation with overrideAttr #107344

Conversation

raboof
Copy link
Member

@raboof raboof commented Dec 21, 2020

Motivation for this change

This fixes error-checking of function arguments (
https://nixos.org/manual/nixpkgs/stable/#sec-pkg-overrideDerivation),
notably checking the license (#107250)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@raboof raboof requested a review from edwtjo as a code owner December 21, 2020 20:39
@raboof raboof force-pushed the jetbrains-replace-overrideDerivation-with-overrideAttr branch from 4c62759 to e36c68e Compare December 21, 2020 21:00
@raboof raboof force-pushed the jetbrains-replace-overrideDerivation-with-overrideAttr branch from e36c68e to e794c8c Compare January 4, 2021 12:43
@raboof raboof force-pushed the jetbrains-replace-overrideDerivation-with-overrideAttr branch from e794c8c to 75641c0 Compare January 21, 2021 18:37
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 0 This PR does not cause any packages to rebuild and removed 10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100 labels Jan 21, 2021
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/447

@SuperSandro2000
Copy link
Member

ping @raboof @edwtjo @lovek323

@raboof
Copy link
Member Author

raboof commented Jan 22, 2021

(I created this PR, so naturally I'm in favor ;) )

Copy link
Member

@hugolgst hugolgst left a comment

Choose a reason for hiding this comment

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

Code-wise it looks good to me

@SuperSandro2000
Copy link
Member

(I created this PR, so naturally I'm in favor ;) )

I was looking for another maintainer which can confirm that this works and does not break anything.

@raboof
Copy link
Member Author

raboof commented Jan 29, 2021

Result of nixpkgs-review pr 107344 run on x86_64-linux 1

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

LGTM

was able to build and launch clion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 0 This PR does not cause any packages to rebuild
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants