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

libint: 2.6.0 -> 2.7.1 #142835

Merged
merged 2 commits into from
Oct 26, 2021
Merged

libint: 2.6.0 -> 2.7.1 #142835

merged 2 commits into from
Oct 26, 2021

Conversation

sheepforce
Copy link
Member

Motivation for this change

Updates to the latest stable release of libint.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages 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/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

libint: angular momentum back to 7,5,4
};

patches = [ ./fix-paths.patch ];
# Hardcoded /bin/rm instead of a simple rm
patches = [ ./autotools.patch ];
Copy link
Member

Choose a reason for hiding this comment

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

Lets use substituteInPlace so that we don't need to maintain this patch.

Copy link
Member

Choose a reason for hiding this comment

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

Isn't the argument usually the opposite, and patches are the preferred solutions instead?

Copy link
Member

Choose a reason for hiding this comment

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

patches are preferred for complex changes which take complex sed commands but here we are just replacing /bin/rm with rm which can be done with a simple command.

Copy link
Member Author

Choose a reason for hiding this comment

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

Have replaced it with substituteInPlace on the relevant files, but now one still needs to maintain the list of files, to which this applies. I would rather not apply it to every single file by default.

@markuskowa markuskowa removed their assignment Oct 25, 2021
@markuskowa
Copy link
Member

@GrahamcOfBorg eval

@SuperSandro2000 SuperSandro2000 merged commit 4441cfb into NixOS:master Oct 26, 2021
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