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: 332c90b3fb0b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 69cdf22aef53
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 26, 2018

  1. usbredir: -Wno-error

    dtzWill committed Mar 26, 2018
    Copy the full SHA
    23ace05 View commit details
  2. Merge pull request #37891 from dtzWill/fix/usbredir-werror

    usbredir: -Wno-error
    dtzWill authored Mar 26, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    69cdf22 View commit details
Showing with 1 addition and 3 deletions.
  1. +1 −3 pkgs/development/libraries/usbredir/default.nix
4 changes: 1 addition & 3 deletions pkgs/development/libraries/usbredir/default.nix
Original file line number Diff line number Diff line change
@@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0";
};

# Works around bunch of "format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned int}'" warnings
NIX_CFLAGS_COMPILE = stdenv.lib.optional (!stdenv.is64bit) "-Wno-error=format"
++ [ "-Wno-error=format-truncation" ]; # newly detected with gcc-7
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb ];