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

libcbor: unstable-2019-07-25 -> 0.8.0 #99021

Merged
merged 1 commit into from Oct 22, 2020
Merged

libcbor: unstable-2019-07-25 -> 0.8.0 #99021

merged 1 commit into from Oct 22, 2020

Conversation

@prusnak
Copy link
Member

@prusnak prusnak commented Sep 28, 2020

Motivation for this change

version update to the latest stable release

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.
@@ -1,14 +1,17 @@
{ stdenv, fetchFromGitHub, cmake, cmocka }:
Copy link
Member

@FRidh FRidh Oct 20, 2020

Please don't change style; people have different preferences and unless there is a clear improvement it is just noise.

(I personally don't consider this an improvement unless the final }: is on a separate line as well, as that makes it easier when resolving merge conflicts.)

Copy link
Member Author

@prusnak prusnak Oct 20, 2020

Reverted the style changes in 33c6503

Copy link
Contributor

@jtojnar jtojnar left a comment

As per the changelog, we need -DBUILD_SHARED_LIBS=on in cmakeFlags. Also it looks like we no longer need to disable lto since 0.7.0.

@jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Oct 22, 2020

I also opened PJK/libcbor#164 which will allow us to drop the CMAKE_INSTALL_LIBDIR flag and split the package to multiple outputs.

@prusnak
Copy link
Member Author

@prusnak prusnak commented Oct 22, 2020

As per the changelog, we need -DBUILD_SHARED_LIBS=on in cmakeFlags. Also it looks like we no longer need to disable lto since 0.7.0.

Addresed in e8ba9cd

@jtojnar jtojnar merged commit a21e252 into NixOS:staging Oct 22, 2020
19 of 20 checks passed
@jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Oct 22, 2020

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants