- For Linux, the real fix is `hardeningDisable` of "fortify"; - For macOS, the real fix is setting the C and CXX compilers in `desktop/build.sh` as well as disabling CMake install step; - Unfortunately for iOS we still need stdenvNoCC (or find a way to use GNU's ld instead of Apple's) Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
18 lines
412 B
Nix
18 lines
412 B
Nix
{ stdenv, pkgs }:
|
|
|
|
with pkgs;
|
|
with stdenv;
|
|
|
|
let
|
|
baseImage = callPackage ./base-image { };
|
|
appimagekit = callPackage ./appimagekit { };
|
|
linuxdeployqt = callPackage ./linuxdeployqt { inherit appimagekit; };
|
|
|
|
in
|
|
{
|
|
buildInputs = [ appimagekit linuxdeployqt patchelf baseImage ];
|
|
|
|
# Fixes Cgo related build failures (see https://github.com/NixOS/nixpkgs/issues/25959 )
|
|
hardeningDisable = [ "fortify" ];
|
|
}
|