diff options
author | Artturin <Artturin@artturin.com> | 2023-06-08 22:25:48 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-06-08 23:05:42 +0300 |
commit | d5fa9726414a185463203d2c7af211cca6a89e40 (patch) | |
tree | f0028b92e68432e1e194bde398fe6e4c0fb26ee7 | |
parent | f50fc0cfc1532492aaa7e30a09801069bae60454 (diff) | |
download | nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.tar nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.tar.gz nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.tar.bz2 nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.tar.lz nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.tar.xz nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.tar.zst nixpkgs-d5fa9726414a185463203d2c7af211cca6a89e40.zip |
gnu-efi: fix musl build
gnu-efi> /build/gnu-efi-3.0.17//lib/console.c:84:68: error: passing argument 2 of ‘ConOut->OutputString’ from incompatible pointer type [8;;h ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;] gnu-efi> 84 | uefi_call_wrapper(ConOut->OutputString, 2, ConOut, L"\b \b"); gnu-efi> | ^~~~~~~~ gnu-efi> | | gnu-efi> | short unsigned int *
-rw-r--r-- | pkgs/development/libraries/gnu-efi/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnu-efi/default.nix b/pkgs/development/libraries/gnu-efi/default.nix index 1bdd6890ab2..e9746271ea2 100644 --- a/pkgs/development/libraries/gnu-efi/default.nix +++ b/pkgs/development/libraries/gnu-efi/default.nix @@ -20,6 +20,11 @@ stdenv.mkDerivation rec { "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ]; + postPatch = '' + substituteInPlace Make.defaults \ + --replace "-Werror" "" + ''; + passthru.updateScript = gitUpdater { # No nicer place to find latest release. url = "https://git.code.sf.net/p/gnu-efi/code"; |