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

libfido2: 1.3.0 -> 1.3.1 #80781

Closed
wants to merge 1 commit into from
Closed

libfido2: 1.3.0 -> 1.3.1 #80781

wants to merge 1 commit into from

Conversation

prusnak
Copy link
Member

@prusnak prusnak commented Feb 22, 2020

Motivation for this change
  • version update
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.

@artemist
Copy link
Member

I think you missed your macOS fixes, this still has platforms = platforms.linux; and doesn't pass IOKit.

@prusnak
Copy link
Member Author

prusnak commented Feb 22, 2020

As explained here: #80196 (comment) simply switching from platforms.linux to platforms.unix plus adding IOKit to buildInputs for darwin did not fix the issue (the build still fails on #include <IOKit/IOKitlib.h>), so I changed #80196 to not use libfido2 for darwin.

I have no way to test and debug locally on macos/darwin and debugging via gramacofborg bot is tedious and not very reasonable.

@artemist
Copy link
Member

Okay, reasonable. I'll try to work on fixing it on Darwin and make a separate PR. You might want to edit your PR text though.

@prusnak
Copy link
Member Author

prusnak commented Feb 22, 2020

@artemist PR text fixed, sorry about that. Will gladly review your PR once you figure out how to fix the issue.

artemist added a commit to artemist/nixpkgs that referenced this pull request Feb 23, 2020
* pass IOKit to libfido2
* Add a patch so that cmake uses lld flags when linking
* Upgrade from 1.3.0 to 1.3.1 (based off NixOS#80781)
* Specify CMAKE_INSTALL_LIBDIR so that the demo binaries link
  correctly on macOS and libfido2.pc specifies correct arguments
@artemist artemist mentioned this pull request Feb 23, 2020
10 tasks
@prusnak
Copy link
Member Author

prusnak commented Feb 23, 2020

Deprecated in favor of #80909

@prusnak prusnak closed this Feb 23, 2020
@prusnak prusnak deleted the libfido2 branch February 23, 2020 20:07
prusnak pushed a commit to prusnak/nixpkgs that referenced this pull request Feb 29, 2020
* pass IOKit to libfido2
* Add a patch so that cmake uses lld flags when linking
* Upgrade from 1.3.0 to 1.3.1 (based off NixOS#80781)
* Specify CMAKE_INSTALL_LIBDIR so that the demo binaries link
  correctly on macOS and libfido2.pc specifies correct arguments

(cherry picked from commit 099359a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants