lol

Merge pull request #266253 from amjoseph-nixpkgs/pr/skalibs/fixcross

authored by

Artturi and committed by
GitHub
cc0b49cc cfd83c93

+16 -1
+16 -1
pkgs/development/skaware-packages/skalibs/default.nix
··· 1 - { skawarePackages, pkgs }: 1 + { lib 2 + , stdenv 3 + , skawarePackages 4 + , pkgs 5 + }: 2 6 3 7 with skawarePackages; 4 8 ··· 21 25 # Empty the default path, which would be "/usr/bin:bin". 22 26 # It would be set when PATH is empty. This hurts hermeticity. 23 27 "--with-default-path=" 28 + 29 + ] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [ 30 + # ./configure: sysdep posixspawnearlyreturn cannot be autodetected 31 + # when cross-compiling. Please manually provide a value with the 32 + # --with-sysdep-posixspawnearlyreturn=yes|no|... option. 33 + # 34 + # posixspawnearlyreturn: `yes` if the target has a broken 35 + # `posix_spawn()` implementation that can return before the 36 + # child has successfully exec'ed. That happens with old glibcs 37 + # and some virtual platforms. 38 + "--with-sysdep-posixspawnearlyreturn=no" 24 39 ]; 25 40 26 41 postInstall = ''