Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ddf043849371
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f05a209e34eb
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 27, 2020

  1. libfido2: make builds reproducible

    KamilaBorowska authored and FRidh committed Apr 27, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    CRBroughton Craig R Broughton
    Copy the full SHA
    f05a209 View commit details
Showing with 8 additions and 0 deletions.
  1. +8 −0 pkgs/development/libraries/libfido2/default.nix
8 changes: 8 additions & 0 deletions pkgs/development/libraries/libfido2/default.nix
Original file line number Diff line number Diff line change
@@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
buildInputs = [ hidapi libcbor openssl ]
++ stdenv.lib.optionals stdenv.isLinux [ udev ];

patches = [
# make build reproducible
(fetchpatch {
url = "https://github.com/Yubico/libfido2/commit/e79f7d7996e70d6b2ae9826fce81d61659cab4f6.patch";
sha256 = "0jwg69f95qqf0ym24q1ka50d3d3338cyw4fdfzpw4sab0shiaq9v";
})
];

cmakeFlags = [
"-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
"-DUSE_HIDAPI=1"