Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win-dll-link: Fix to look for DLLs in lib/ #38632

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

Here's a draft of what needs to be done. I don't really have time to test it so if one of you could take this over that would be great.

Motivation for this change

DLLs are symlinked bin/ for the exes that use them, but they should always be installed in lib/ for sake of regularity and multiple outputs.

Fix #38451

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

CC @expipiplus1 @angerman @dtzWill

@expipiplus1
Copy link
Contributor

Thanks, @Ericson2314! I'll try and give this a try tomorrow.

@expipiplus1
Copy link
Contributor

expipiplus1 commented Apr 11, 2018

Hi @Ericson2314,

Sadly the script fails to run:

The important bit

/nix/store/v97m8c85gbc9hlgrxqr2nlhzh3qd08vf-win-dll-link.sh: line 45: bin: unbound variable

The whole thing:

$ nb hello-cross.nix
these derivations will be built:
  /nix/store/by39p7dyk2s7sbyvdj28g1kn5y8q54k5-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv
  /nix/store/ym8jqb7akwmpzn5yqddx6fyf2mbyq3ak-x86_64-pc-mingw32-x86_64-pc-mingw32-binutils-wrapper-2.28.1.drv
  /nix/store/99sfyapri3n9gj4mgpv8d648sna8qkhp-gcc-7.3.0-x86_64-pc-mingw32-stage-static.drv
  /nix/store/baf35jf3cj0i7p415ddn3xnypk0jjxd7-x86_64-pc-mingw32-gcc-cross-wrapper-7.3.0-x86_64-pc-mingw32-stage-static.drv
  /nix/store/r1m2c025nhiq91a73sbilbdihb9avyd3-stdenv-linux.drv
  /nix/store/dqgw7p2pbmrhbxqnhi7p2fm1xh1vr8cb-mingw-w64-5.0.3-x86_64-pc-mingw32.drv
  /nix/store/ska5dydxxmcd8qickxj1sykzs41gbdkm-x86_64-pc-mingw32-x86_64-pc-mingw32-binutils-wrapper-2.28.1.drv
  /nix/store/nh9fb3pgp0lcr6hb9xl0bngbykm1xpds-gcc-7.3.0-x86_64-pc-mingw32-stage-final.drv
  /nix/store/9b42wny0lcn7h60dbnfjha9gzk3br863-x86_64-pc-mingw32-gcc-cross-wrapper-7.3.0-x86_64-pc-mingw32-stage-final.drv
  /nix/store/hgm1gnyxjg58i4i5ilr2glqlq1n2n0ad-stdenv-linux.drv
  /nix/store/dwwm5qhh9y4hdjlq7j410cgvc1jaalr9-hello-2.10-x86_64-pc-mingw32.drv
these paths will be fetched (71.73 MiB download, 88.86 MiB unpacked):
  /nix/store/ad1gpqrmpvqmh2cgq8pi2a5jhyl55cgm-stdenv-linux
  /nix/store/dix5whv5hlhjjrvrr2l7w85qkrw7hxxp-which-2.21
  /nix/store/m16cs9a00znx11mqfbkmk5f3i7gyn1ca-gcc-7.3.0.tar.xz
  /nix/store/nc9wrkn0cgls7vk0md8sgx7dxbw11l8a-x86_64-pc-mingw32-binutils-2.28.1-man
  /nix/store/nm7r84501dzl09s61ll52wgscwbqnaz8-texinfo-6.5
  /nix/store/p1ir7f977l5s4x8981x5r888v4vvgb7y-x86_64-pc-mingw32-binutils-2.28.1-info
  /nix/store/v1bkw1y1h5bhd0znk6n2vw5yicxvxv64-mingw-w64-v5.0.3.tar.bz2
  /nix/store/x1bxvs0i5iwmll37bnbjy1a3dyz50r8i-gettext-0.19.8
copying path '/nix/store/m16cs9a00znx11mqfbkmk5f3i7gyn1ca-gcc-7.3.0.tar.xz' from 'https://cache.nixos.org'...
copying path '/nix/store/v1bkw1y1h5bhd0znk6n2vw5yicxvxv64-mingw-w64-v5.0.3.tar.bz2' from 'https://cache.nixos.org'...
copying path '/nix/store/nc9wrkn0cgls7vk0md8sgx7dxbw11l8a-x86_64-pc-mingw32-binutils-2.28.1-man' from 'https://cache.nixos.org'...
copying path '/nix/store/p1ir7f977l5s4x8981x5r888v4vvgb7y-x86_64-pc-mingw32-binutils-2.28.1-info' from 'https://cache.nixos.org'...
copying path '/nix/store/x1bxvs0i5iwmll37bnbjy1a3dyz50r8i-gettext-0.19.8' from 'https://cache.nixos.org'...
copying path '/nix/store/nm7r84501dzl09s61ll52wgscwbqnaz8-texinfo-6.5' from 'https://cache.nixos.org'...
copying path '/nix/store/dix5whv5hlhjjrvrr2l7w85qkrw7hxxp-which-2.21' from 'https://cache.nixos.org'...
copying path '/nix/store/ad1gpqrmpvqmh2cgq8pi2a5jhyl55cgm-stdenv-linux' from 'https://cache.nixos.org'...
building '/nix/store/by39p7dyk2s7sbyvdj28g1kn5y8q54k5-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv'...
unpacking sources
unpacking source archive /nix/store/v1bkw1y1h5bhd0znk6n2vw5yicxvxv64-mingw-w64-v5.0.3.tar.bz2
source root is mingw-w64-v5.0.3
setting SOURCE_DATE_EPOCH to timestamp 1509098698 of file mingw-w64-v5.0.3/mingw-w64-tools/widl/src/write_msft.c
patching sources
configuring
configure flags: --prefix=/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32 --build=x86_64-unknown-linux-gnu --host=x86_64-pc-mingw32
checking for a BSD-compatible install... /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-pc-mingw32-strip... no
checking for strip... no
checking for a thread-safe mkdir -p... /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-mingw32
checking for a sed that does not truncate output... /nix/store/r0wkp0vkw6wjfl0skmdpykabgj1bkyn2-gnused-4.4/bin/sed
checking whether to rebuild headers with widl... no
checking whether to build a w32api package for Cygwin... no
checking for c-runtime headers... yes
checking for optional sdk headers... ddk,directx
checking if installing idl files is enabled... no
checking whether to enable the secure API... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating crt/_mingw.h
config.status: creating config.h
building
build flags: SHELL=/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash
make  all-am
make[1]: Entering directory '/tmp/nix-build-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv-0/mingw-w64-v5.0.3/mingw-w64-headers'
/nix/store/r0wkp0vkw6wjfl0skmdpykabgj1bkyn2-gnused-4.4/bin/sed s/MINGW_HAS_DX$/1/ crt/sdks/_mingw_directx.h.in > _mingw_directx.h
/nix/store/r0wkp0vkw6wjfl0skmdpykabgj1bkyn2-gnused-4.4/bin/sed s/MINGW_HAS_DDK$/1/ crt/sdks/_mingw_ddk.h.in > _mingw_ddk.h
make[1]: Leaving directory '/tmp/nix-build-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv-0/mingw-w64-v5.0.3/mingw-w64-headers'
installing
install flags: install SHELL=/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash
make  install-am
make[1]: Entering directory '/tmp/nix-build-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv-0/mingw-w64-v5.0.3/mingw-w64-headers'
make[2]: Entering directory '/tmp/nix-build-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv-0/mingw-w64-v5.0.3/mingw-w64-headers'
make[2]: Nothing to be done for 'install-exec-am'.
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 crt/_bsd_types.h crt/_cygwin.h crt/_mingw.h crt/_mingw_mac.h crt/_mingw_print_push.h crt/_mingw_print_pop.h crt/_mingw_secapi.h crt/_mingw_unicode.h crt/_timeval.h crt/crtdefs.h crt/excpt.h crt/intrin.h crt/vadefs.h crt/tchar.h ./include/_dbdao.h ./include/accctrl.h ./include/aclapi.h ./include/aclui.h ./include/activation.h ./include/activaut.h ./include/activdbg.h ./include/activdbg100.h ./include/activecf.h ./include/activeds.h ./include/activprof.h ./include/activscp.h ./include/adc.h ./include/adhoc.h ./include/admex.h ./include/adoctint.h ./include/adodef.h ./include/adogpool.h ./include/adogpool_backcompat.h ./include/adoguids.h ./include/adoid.h ./include/adoint.h ./include/adoint_backcompat.h ./include/adojet.h ./include/adomd.h ./include/adptif.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/adsdb.h ./include/adserr.h ./include/adshlp.h ./include/adsiid.h ./include/adsnms.h ./include/adsprop.h ./include/adssts.h ./include/adtgen.h ./include/advpub.h ./include/af_irda.h ./include/afxres.h ./include/agtctl.h ./include/agterr.h ./include/agtsvr.h ./include/alg.h ./include/alink.h ./include/apdevpkey.h ./include/apiset.h ./include/apisetcconv.h ./include/appmgmt.h ./include/aqadmtyp.h ./include/asptlb.h ./include/atacct.h ./include/atalkwsh.h ./include/atsmedia.h ./include/audevcod.h ./include/audioapotypes.h ./include/audioclient.h ./include/audioendpoints.h ./include/audioengineendpoint.h ./include/audiopolicy.h ./include/audiosessiontypes.h ./include/authif.h ./include/authz.h ./include/aux_ulib.h ./include/avifmt.h ./include/aviriff.h ./include/avrfsdk.h ./include/avrt.h ./include/axextendenums.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/azroles.h ./include/basetsd.h ./include/basetyps.h ./include/batclass.h ./include/bcrypt.h ./include/bdaiface.h ./include/bdaiface_enums.h ./include/bdamedia.h ./include/bdatypes.h ./include/bemapiset.h ./include/bh.h ./include/bidispl.h ./include/bits.h ./include/bits1_5.h ./include/bits2_0.h ./include/bitscfg.h ./include/bitsmsg.h ./include/blberr.h ./include/bluetoothapis.h ./include/bthdef.h ./include/bthsdpdef.h ./include/bugcodes.h ./include/callobj.h ./include/cardmod.h ./include/casetup.h ./include/cchannel.h ./include/cderr.h ./include/cdoex.h ./include/cdoexerr.h ./include/cdoexm.h ./include/cdoexstr.h ./include/cdonts.h ./include/cdosys.h ./include/cdosyserr.h ./include/cdosysstr.h ./include/celib.h ./include/certadm.h ./include/certbase.h ./include/certbcli.h ./include/certcli.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/certenc.h ./include/certenroll.h ./include/certexit.h ./include/certif.h ./include/certmod.h ./include/certpol.h ./include/certreqd.h ./include/certsrv.h ./include/certview.h ./include/cfg.h ./include/cfgmgr32.h ./include/cguid.h ./include/chanmgr.h ./include/cierror.h ./include/clfs.h ./include/clfsmgmt.h ./include/clfsmgmtw32.h ./include/clfsw32.h ./include/cluadmex.h ./include/clusapi.h ./include/cluscfgguids.h ./include/cluscfgserver.h ./include/cluscfgwizard.h ./include/cmdtree.h ./include/cmnquery.h ./include/codecapi.h ./include/colordlg.h ./include/comadmin.h ./include/combaseapi.h ./include/comcat.h ./include/comdef.h ./include/comdefsp.h ./include/comip.h ./include/comlite.h ./include/commapi.h ./include/commctrl.h ./include/commdlg.h ./include/commoncontrols.h ./include/compobj.h ./include/compressapi.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/compstui.h ./include/comsvcs.h ./include/comutil.h ./include/confpriv.h ./include/control.h ./include/cor.h ./include/corerror.h ./include/corhdr.h ./include/correg.h ./include/cpl.h ./include/cplext.h ./include/credssp.h ./include/cryptuiapi.h ./include/cryptxml.h ./include/cscapi.h ./include/cscobj.h ./include/ctfutb.h ./include/ctxtcall.h ./include/custcntl.h ./include/d2d1.h ./include/d2d1_1.h ./include/d2d1_1helper.h ./include/d2d1effectauthor.h ./include/d2d1effecthelpers.h ./include/d2d1effects.h ./include/d2d1helper.h ./include/d2dbasetypes.h ./include/d2derr.h ./include/daogetrw.h ./include/datapath.h ./include/datetimeapi.h ./include/davclnt.h ./include/dbdaoerr.h ./include/dbdaoid.h ./include/dbdaoint.h ./include/dbgautoattach.h ./include/dbgeng.h ./include/dbghelp.h ./include/dbgprop.h ./include/dbt.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/dciddi.h ./include/dciman.h ./include/dcommon.h ./include/dcomp.h ./include/dcompanimation.h ./include/dcomptypes.h ./include/dde.h ./include/ddeml.h ./include/ddrawgdi.h ./include/debugapi.h ./include/delayimp.h ./include/devguid.h ./include/devicetopology.h ./include/devioctl.h ./include/devpkey.h ./include/devpropdef.h ./include/dhcpcsdk.h ./include/dhcpsapi.h ./include/dhcpssdk.h ./include/dhcpv6csdk.h ./include/dhtmldid.h ./include/dhtmled.h ./include/dhtmliid.h ./include/digitalv.h ./include/dimm.h ./include/diskguid.h ./include/dispatch.h ./include/dispdib.h ./include/dispex.h ./include/dlcapi.h ./include/dlgs.h ./include/dmemmgr.h ./include/dmksctrl.h ./include/docobj.h ./include/docobjectservice.h ./include/documenttarget.h ./include/domdid.h ./include/downloadmgr.h ./include/dpapi.h ./include/dpfilter.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/driverspecs.h ./include/dsadmin.h ./include/dsclient.h ./include/dsgetdc.h ./include/dskquota.h ./include/dsquery.h ./include/dsrole.h ./include/dssec.h ./include/dtchelp.h ./include/dvbsiparser.h ./include/dvobj.h ./include/dwmapi.h ./include/dwrite.h ./include/dwrite_1.h ./include/dwrite_2.h ./include/dxtmpl.h ./include/dxva.h ./include/dxva2api.h ./include/dxvahd.h ./include/eapauthenticatoractiondefine.h ./include/eapauthenticatortypes.h ./include/eaphosterror.h ./include/eaphostpeerconfigapis.h ./include/eaphostpeertypes.h ./include/eapmethodauthenticatorapis.h ./include/eapmethodpeerapis.h ./include/eapmethodtypes.h ./include/eappapis.h ./include/eaptypes.h ./include/ehstorapi.h ./include/elscore.h ./include/emostore.h ./include/emptyvc.h ./include/endpointvolume.h ./include/errhandlingapi.h ./include/error.h ./include/errorrep.h ./include/esent.h ./include/evcoll.h ./include/eventsys.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/evntcons.h ./include/evntprov.h ./include/evntrace.h ./include/evr.h ./include/evr9.h ./include/exchform.h ./include/exdisp.h ./include/exdispid.h ./include/fci.h ./include/fdi.h ./include/fibersapi.h ./include/fileapi.h ./include/fileextd.h ./include/filehc.h ./include/filter.h ./include/filterr.h ./include/fltdefs.h ./include/fltuser.h ./include/fltuserstructures.h ./include/fltwinerror.h ./include/fsrm.h ./include/fsrmenums.h ./include/fsrmerr.h ./include/fsrmpipeline.h ./include/fsrmquota.h ./include/fsrmreports.h ./include/fsrmscreen.h ./include/ftsiface.h ./include/functiondiscoveryapi.h ./include/functiondiscoverycategories.h ./include/functiondiscoveryconstraints.h ./include/functiondiscoverykeys.h ./include/functiondiscoverykeys_devpkey.h ./include/functiondiscoverynotification.h ./include/fusion.h ./include/fwpmtypes.h ./include/fwpmu.h ./include/fwptypes.h ./include/gb18030.h ./include/gdiplus.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/gpedit.h ./include/gpio.h ./include/gpmgmt.h ./include/guiddef.h ./include/h323priv.h ./include/handleapi.h ./include/heapapi.h ./include/hidclass.h ./include/hidpi.h ./include/hidsdi.h ./include/hidusage.h ./include/highlevelmonitorconfigurationapi.h ./include/hlguids.h ./include/hliface.h ./include/hlink.h ./include/hostinfo.h ./include/hstring.h ./include/htiface.h ./include/htiframe.h ./include/htmlguid.h ./include/htmlhelp.h ./include/http.h ./include/httpext.h ./include/httpfilt.h ./include/httprequestid.h ./include/i_cryptasn1tls.h ./include/ia64reg.h ./include/iaccess.h ./include/iadmext.h ./include/iadmw.h ./include/iads.h ./include/icftypes.h ./include/icm.h ./include/icmpapi.h ./include/icodecapi.h ./include/icrsint.h ./include/identitycommon.h ./include/identitystore.h ./include/idf.h ./include/idispids.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/iedial.h ./include/ieverp.h ./include/ifdef.h ./include/iiis.h ./include/iiisext.h ./include/iimgctx.h ./include/iiscnfg.h ./include/iisrsta.h ./include/iketypes.h ./include/imagehlp.h ./include/ime.h ./include/imessage.h ./include/imm.h ./include/in6addr.h ./include/inaddr.h ./include/indexsrv.h ./include/inetreg.h ./include/inetsdk.h ./include/infstr.h ./include/initguid.h ./include/initoid.h ./include/inputscope.h ./include/inspectable.h ./include/interlockedapi.h ./include/intsafe.h ./include/intshcut.h ./include/invkprxy.h ./include/ioapiset.h ./include/ioevent.h ./include/ipexport.h ./include/iphlpapi.h ./include/ipifcons.h ./include/ipinfoid.h ./include/ipmib.h ./include/ipmsp.h ./include/iprtrmib.h ./include/ipsectypes.h ./include/iptypes.h ./include/ipxconst.h ./include/ipxrip.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/ipxrtdef.h ./include/ipxsap.h ./include/ipxtfflt.h ./include/iscsidsc.h ./include/isguids.h ./include/issper16.h ./include/issperr.h ./include/isysmon.h ./include/iwamreg.h ./include/jobapi.h ./include/kcom.h ./include/knownfolders.h ./include/ks.h ./include/ksdebug.h ./include/ksguid.h ./include/ksmedia.h ./include/ksproxy.h ./include/ksuuids.h ./include/ktmtypes.h ./include/ktmw32.h ./include/kxia64.h ./include/l2cmn.h ./include/libloaderapi.h ./include/lm.h ./include/lmaccess.h ./include/lmalert.h ./include/lmapibuf.h ./include/lmat.h ./include/lmaudit.h ./include/lmconfig.h ./include/lmcons.h ./include/lmdfs.h ./include/lmerr.h ./include/lmerrlog.h ./include/lmjoin.h ./include/lmmsg.h ./include/lmon.h ./include/lmremutl.h ./include/lmrepl.h ./include/lmserver.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/lmshare.h ./include/lmsname.h ./include/lmstats.h ./include/lmsvc.h ./include/lmuse.h ./include/lmuseflg.h ./include/lmwksta.h ./include/loadperf.h ./include/locationapi.h ./include/lpmapi.h ./include/lzexpand.h ./include/madcapcl.h ./include/magnification.h ./include/mailmsgprops.h ./include/manipulations.h ./include/mapi.h ./include/mapicode.h ./include/mapidbg.h ./include/mapidefs.h ./include/mapiform.h ./include/mapiguid.h ./include/mapihook.h ./include/mapinls.h ./include/mapioid.h ./include/mapispi.h ./include/mapitags.h ./include/mapiutil.h ./include/mapival.h ./include/mapiwin.h ./include/mapiwz.h ./include/mapix.h ./include/mciavi.h ./include/mcx.h ./include/mdcommsg.h ./include/mddefw.h ./include/mdhcp.h ./include/mdmsg.h ./include/mediaobj.h ./include/memoryapi.h ./include/mergemod.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/mfapi.h ./include/mferror.h ./include/mfidl.h ./include/mfmp2dlna.h ./include/mfobjects.h ./include/mfplay.h ./include/mfreadwrite.h ./include/mftransform.h ./include/mgm.h ./include/mgmtapi.h ./include/midles.h ./include/mimedisp.h ./include/mimeinfo.h ./include/minmax.h ./include/minwinbase.h ./include/minwindef.h ./include/mlang.h ./include/mmc.h ./include/mmcobj.h ./include/mmdeviceapi.h ./include/mmreg.h ./include/mmsystem.h ./include/mobsync.h ./include/moniker.h ./include/mpeg2bits.h ./include/mpeg2data.h ./include/mpeg2psiparser.h ./include/mpeg2structs.h ./include/mprapi.h ./include/mprerror.h ./include/mq.h ./include/mqmail.h ./include/mqoai.h ./include/msacm.h ./include/msacmdlg.h ./include/msado15.h ./include/msasn1.h ./include/msber.h ./include/mscat.h ./include/mschapp.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/msclus.h ./include/mscoree.h ./include/msctf.h ./include/msctfmonitorapi.h ./include/msdadc.h ./include/msdaguid.h ./include/msdaipp.h ./include/msdaipper.h ./include/msdaora.h ./include/msdaosp.h ./include/msdasc.h ./include/msdasql.h ./include/msdatsrc.h ./include/msdrm.h ./include/msdrmdefs.h ./include/msdshape.h ./include/msfs.h ./include/mshtmcid.h ./include/mshtmdid.h ./include/mshtmhst.h ./include/mshtml.h ./include/mshtmlc.h ./include/msi.h ./include/msidefs.h ./include/msimcntl.h ./include/msimcsdk.h ./include/msinkaut.h ./include/msiquery.h ./include/msoav.h ./include/msopc.h ./include/msp.h ./include/mspab.h ./include/mspaddr.h ./include/mspbase.h ./include/mspcall.h ./include/mspcoll.h ./include/mspenum.h ./include/msplog.h ./include/mspst.h ./include/mspstrm.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/mspterm.h ./include/mspthrd.h ./include/msptrmac.h ./include/msptrmar.h ./include/msptrmvc.h ./include/msputils.h ./include/msrdc.h ./include/msremote.h ./include/mssip.h ./include/msstkppg.h ./include/mstask.h ./include/mstcpip.h ./include/msterr.h ./include/mswsock.h ./include/msxml.h ./include/msxml2.h ./include/msxml2did.h ./include/msxmldid.h ./include/mtsadmin.h ./include/mtsevents.h ./include/mtsgrp.h ./include/mtx.h ./include/mtxadmin.h ./include/mtxattr.h ./include/mtxdm.h ./include/muiload.h ./include/multimon.h ./include/multinfo.h ./include/mxdc.h ./include/namedpipeapi.h ./include/namespaceapi.h ./include/napcertrelyingparty.h ./include/napcommon.h ./include/napenforcementclient.h ./include/napmanagement.h ./include/napmicrosoftvendorids.h ./include/napprotocol.h ./include/napservermanagement.h ./include/napsystemhealthagent.h ./include/napsystemhealthvalidator.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/naptypes.h ./include/naputil.h ./include/nb30.h ./include/ncrypt.h ./include/ndattrib.h ./include/ndfapi.h ./include/ndhelper.h ./include/ndkinfo.h ./include/ndr64types.h ./include/ndrtypes.h ./include/netcon.h ./include/neterr.h ./include/netevent.h ./include/netioapi.h ./include/netlistmgr.h ./include/netmon.h ./include/netprov.h ./include/nettypes.h ./include/newapis.h ./include/newdev.h ./include/nldef.h ./include/nmsupp.h ./include/npapi.h ./include/nsemail.h ./include/nspapi.h ./include/ntdd1394.h ./include/ntdd8042.h ./include/ntddbeep.h ./include/ntddcdrm.h ./include/ntddcdvd.h ./include/ntddchgr.h ./include/ntdddisk.h ./include/ntddft.h ./include/ntddkbd.h ./include/ntddmmc.h ./include/ntddmodm.h ./include/ntddmou.h ./include/ntddndis.h ./include/ntddpar.h ./include/ntddpsch.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/ntddscsi.h ./include/ntddser.h ./include/ntddstor.h ./include/ntddtape.h ./include/ntddtdi.h ./include/ntddvdeo.h ./include/ntddvol.h ./include/ntdef.h ./include/ntdsapi.h ./include/ntdsbcli.h ./include/ntdsbmsg.h ./include/ntgdi.h ./include/ntiologc.h ./include/ntldap.h ./include/ntmsapi.h ./include/ntmsmli.h ./include/ntquery.h ./include/ntsdexts.h ./include/ntsecapi.h ./include/ntsecpkg.h ./include/ntstatus.h ./include/ntverp.h ./include/oaidl.h ./include/objbase.h ./include/objectarray.h ./include/objerror.h ./include/objidl.h ./include/objidlbase.h ./include/objsafe.h ./include/objsel.h ./include/ocidl.h ./include/ocmm.h ./include/odbcinst.h ./include/odbcss.h ./include/ole.h ./include/ole2.h ./include/ole2ver.h ./include/oleacc.h ./include/oleauto.h ./include/olectl.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/olectlid.h ./include/oledb.h ./include/oledbdep.h ./include/oledberr.h ./include/oledbguid.h ./include/oledlg.h ./include/oleidl.h ./include/oletx2xa.h ./include/opmapi.h ./include/optary.h ./include/p2p.h ./include/packoff.h ./include/packon.h ./include/parser.h ./include/patchapi.h ./include/patchwiz.h ./include/pathcch.h ./include/pbt.h ./include/pchannel.h ./include/pciprop.h ./include/pcrt32.h ./include/pdh.h ./include/pdhmsg.h ./include/penwin.h ./include/perflib.h ./include/perhist.h ./include/persist.h ./include/pgobootrun.h ./include/physicalmonitorenumerationapi.h ./include/pla.h ./include/pnrpdef.h ./include/pnrpns.h ./include/poclass.h ./include/polarity.h ./include/poppack.h ./include/portabledeviceconnectapi.h ./include/portabledevicetypes.h ./include/powrprof.h ./include/prnasnot.h ./include/prntfont.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/processenv.h ./include/processthreadsapi.h ./include/processtopologyapi.h ./include/profileapi.h ./include/profinfo.h ./include/propidl.h ./include/propkey.h ./include/propkeydef.h ./include/propsys.h ./include/propvarutil.h ./include/prsht.h ./include/psapi.h ./include/pshpack1.h ./include/pshpack2.h ./include/pshpack4.h ./include/pshpack8.h ./include/pshpck16.h ./include/pstore.h ./include/qmgr.h ./include/qos.h ./include/qos2.h ./include/qosname.h ./include/qospol.h ./include/qossp.h ./include/ras.h ./include/rasdlg.h ./include/raseapif.h ./include/raserror.h ./include/rassapi.h ./include/rasshost.h ./include/ratings.h ./include/rdpencomapi.h ./include/realtimeapiset.h ./include/reason.h ./include/recguids.h ./include/reconcil.h ./include/regbag.h ./include/regstr.h ./include/rend.h ./include/resapi.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/restartmanager.h ./include/richedit.h ./include/richole.h ./include/rkeysvcc.h ./include/rnderr.h ./include/roapi.h ./include/routprot.h ./include/rpc.h ./include/rpcasync.h ./include/rpcdce.h ./include/rpcdcep.h ./include/rpcndr.h ./include/rpcnsi.h ./include/rpcnsip.h ./include/rpcnterr.h ./include/rpcproxy.h ./include/rpcsal.h ./include/rpcssl.h ./include/rrascfg.h ./include/rtcapi.h ./include/rtccore.h ./include/rtcerr.h ./include/rtinfo.h ./include/rtm.h ./include/rtmv2.h ./include/rtutils.h ./include/sal.h ./include/sapi.h ./include/sapi51.h ./include/sapi53.h ./include/sapi54.h ./include/sas.h ./include/sbe.h ./include/scarddat.h ./include/scarderr.h ./include/scardmgr.h ./include/scardsrv.h ./include/scardssp.h ./include/scesvc.h ./include/schannel.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/schedule.h ./include/schemadef.h ./include/schnlsp.h ./include/scode.h ./include/scrnsave.h ./include/scrptids.h ./include/sddl.h ./include/sdkddkver.h ./include/sdoias.h ./include/sdpblb.h ./include/sdperr.h ./include/secext.h ./include/security.h ./include/securityappcontainer.h ./include/securitybaseapi.h ./include/sens.h ./include/sensapi.h ./include/sensevts.h ./include/sensors.h ./include/sensorsapi.h ./include/servprov.h ./include/setupapi.h ./include/sfc.h ./include/shappmgr.h ./include/shdeprecated.h ./include/shdispid.h ./include/shellapi.h ./include/sherrors.h ./include/shfolder.h ./include/shldisp.h ./include/shlguid.h ./include/shlobj.h ./include/shlwapi.h ./include/shobjidl.h ./include/shtypes.h ./include/simpdata.h ./include/simpdc.h ./include/sipbase.h ./include/sisbkup.h ./include/slerror.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/slpublic.h ./include/smpab.h ./include/smpms.h ./include/smpxp.h ./include/smtpguid.h ./include/smx.h ./include/snmp.h ./include/softpub.h ./include/specstrings.h ./include/sperror.h ./include/sphelper.h ./include/sporder.h ./include/sql.h ./include/sql_1.h ./include/sqlext.h ./include/sqloledb.h ./include/sqltypes.h ./include/sqlucode.h ./include/srrestoreptapi.h ./include/srv.h ./include/sspguid.h ./include/sspi.h ./include/sspserr.h ./include/sspsidl.h ./include/sti.h ./include/stierr.h ./include/stireg.h ./include/stllock.h ./include/stm.h ./include/storage.h ./include/storduid.h ./include/storprop.h ./include/stralign.h ./include/stringapiset.h ./include/strmif.h ./include/strsafe.h ./include/structuredquerycondition.h ./include/subauth.h ./include/subsmgr.h ./include/svcguid.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/svrapi.h ./include/synchapi.h ./include/sysinfoapi.h ./include/systemtopologyapi.h ./include/t2embapi.h ./include/tabflicks.h ./include/tapi.h ./include/tapi3.h ./include/tapi3cc.h ./include/tapi3ds.h ./include/tapi3err.h ./include/tapi3if.h ./include/taskschd.h ./include/tbs.h ./include/tcerror.h ./include/tcguid.h ./include/tcpestats.h ./include/tcpmib.h ./include/tdh.h ./include/tdi.h ./include/tdiinfo.h ./include/termmgr.h ./include/textserv.h ./include/textstor.h ./include/threadpoolapiset.h ./include/threadpoollegacyapiset.h ./include/timeprov.h ./include/timezoneapi.h ./include/tlbref.h ./include/tlhelp32.h ./include/tlogstg.h ./include/tmschema.h ./include/tnef.h ./include/tom.h ./include/tpcshrd.h ./include/traffic.h ./include/transact.h ./include/triedcid.h ./include/triediid.h ./include/triedit.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/tsattrs.h ./include/tspi.h ./include/tssbx.h ./include/tsuserex.h ./include/tuner.h ./include/tvout.h ./include/txcoord.h ./include/txctx.h ./include/txdtc.h ./include/txfw32.h ./include/typeinfo.h ./include/uastrfnc.h ./include/udpmib.h ./include/uiautomation.h ./include/uiautomationclient.h ./include/uiautomationcore.h ./include/uiautomationcoreapi.h ./include/uiviewsettingsinterop.h ./include/umx.h ./include/unknown.h ./include/unknwn.h ./include/unknwnbase.h ./include/urlhist.h ./include/urlmon.h ./include/usb.h ./include/usb100.h ./include/usb200.h ./include/usbcamdi.h ./include/usbdi.h ./include/usbioctl.h ./include/usbiodef.h ./include/usbprint.h ./include/usbrpmif.h ./include/usbscan.h ./include/usbspec.h ./include/usbuser.h ./include/userenv.h ./include/usp10.h ./include/utilapiset.h ./include/uuids.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/uxtheme.h ./include/vcr.h ./include/vdmdbg.h ./include/vds.h ./include/vdslun.h ./include/versionhelpers.h ./include/vfw.h ./include/virtdisk.h ./include/vsadmin.h ./include/vsbackup.h ./include/vsmgmt.h ./include/vsprov.h ./include/vss.h ./include/vsstyle.h ./include/vssym32.h ./include/vswriter.h ./include/w32api.h ./include/wab.h ./include/wabapi.h ./include/wabcode.h ./include/wabdefs.h ./include/wabiab.h ./include/wabmem.h ./include/wabnot.h ./include/wabtags.h ./include/wabutil.h ./include/wbemads.h ./include/wbemcli.h ./include/wbemdisp.h ./include/wbemidl.h ./include/wbemprov.h ./include/wbemtran.h ./include/wcmconfig.h ./include/wcsplugin.h ./include/wct.h ./include/wdsbp.h ./include/wdsclientapi.h ./include/wdspxe.h ./include/wdstci.h ./include/wdstpdi.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/wdstptmgmt.h ./include/werapi.h ./include/wfext.h ./include/wia.h ./include/wiadef.h ./include/wiadevd.h ./include/wiavideo.h ./include/winable.h ./include/winapifamily.h ./include/winbase.h ./include/winber.h ./include/wincodec.h ./include/wincon.h ./include/wincred.h ./include/wincrypt.h ./include/winddi.h ./include/winddiui.h ./include/windef.h ./include/windns.h ./include/windot11.h ./include/windows.foundation.h ./include/windows.h ./include/windows.security.cryptography.h ./include/windows.storage.h ./include/windows.storage.streams.h ./include/windows.system.threading.h ./include/windowsx.h ./include/winefs.h ./include/winerror.h ./include/winevt.h ./include/wingdi.h ./include/winhttp.h ./include/wininet.h ./include/winineti.h ./include/winioctl.h ./include/winldap.h ./include/winnetwk.h ./include/winnls.h ./include/winnls32.h ./include/winnt.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/winperf.h ./include/winreg.h ./include/winresrc.h ./include/winsafer.h ./include/winsatcominterfacei.h ./include/winscard.h ./include/winsdkver.h ./include/winsmcrd.h ./include/winsnmp.h ./include/winsock.h ./include/winsock2.h ./include/winsplp.h ./include/winspool.h ./include/winstring.h ./include/winsvc.h ./include/winsxs.h ./include/winsync.h ./include/winternl.h ./include/wintrust.h ./include/winusb.h ./include/winusbio.h ./include/winuser.h ./include/winver.h ./include/winwlx.h ./include/wlanapi.h ./include/wlanihvtypes.h ./include/wlantypes.h ./include/wmcodecdsp.h ./include/wmcontainer.h ./include/wmiatlprov.h ./include/wmistr.h ./include/wmiutils.h ./include/wmsbuffer.h ./include/wmsdkidl.h ./include/wnnc.h ./include/wow64apiset.h ./include/wownt16.h ./include/wownt32.h ./include/wpapi.h ./include/wpapimsg.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/wpcapi.h ./include/wpcevent.h ./include/wpcrsmsg.h ./include/wpftpmsg.h ./include/wppstmsg.h ./include/wpspihlp.h ./include/wptypes.h ./include/wpwizmsg.h ./include/wrl.h ./include/ws2atm.h ./include/ws2bth.h ./include/ws2def.h ./include/ws2dnet.h ./include/ws2ipdef.h ./include/ws2spi.h ./include/ws2tcpip.h ./include/wsdapi.h ./include/wsdattachment.h ./include/wsdbase.h ./include/wsdclient.h ./include/wsddisco.h ./include/wsdhost.h ./include/wsdtypes.h ./include/wsdutil.h ./include/wsdxml.h ./include/wsdxmldom.h ./include/wshisotp.h ./include/wsipv6ok.h ./include/wsipx.h ./include/wsman.h ./include/wsmandisp.h ./include/wsnetbs.h ./include/wsnwlink.h ./include/wspiapi.h ./include/wsrm.h ./include/wsvns.h ./include/wtsapi32.h ./include/wtypes.h ./include/wtypesbase.h ./include/xa.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/xcmc.h ./include/xcmcext.h ./include/xcmcmsx2.h ./include/xcmcmsxt.h ./include/xenroll.h ./include/xmldomdid.h ./include/xmldsodid.h ./include/xmllite.h ./include/xmltrnsf.h ./include/xolehlp.h ./include/xpsdigitalsignature.h ./include/xpsobjectmodel.h ./include/xpsobjectmodel_1.h ./include/xpsprint.h ./include/xpsrassvc.h ./include/zmouse.h ./include/msinkaut_i.c ./include/color.dlg ./include/fileopen.dlg ./include/findtext.dlg ./include/font.dlg ./include/icmui.dlg ./include/msacmdlg.dlg ./include/oledlg.dlg ./include/prnsetup.dlg ./include/windowsx.h16 ./include/ilogobj.hxx ./include/mdbrole.hxx ./include/commctrl.rh ./include/dde.rh ./include/winnt.rh ./include/winuser.rh ./include/common.ver ./include/verinfo.ver ./crt/_bsd_types.h ./crt/_cygwin.h ./crt/_mingw.h ./crt/_mingw_mac.h ./crt/_mingw_off_t.h ./crt/_mingw_print_pop.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./crt/_mingw_print_push.h ./crt/_mingw_secapi.h ./crt/_mingw_stat64.h ./crt/_mingw_stdarg.h ./crt/_mingw_unicode.h ./crt/_timeval.h ./crt/assert.h ./crt/complex.h ./crt/conio.h ./crt/crtdbg.h ./crt/crtdefs.h ./crt/ctype.h ./crt/dir.h ./crt/direct.h ./crt/dirent.h ./crt/dos.h ./crt/dvec.h ./crt/eh.h ./crt/errno.h ./crt/excpt.h ./crt/fcntl.h ./crt/fenv.h ./crt/float.h ./crt/fpieee.h ./crt/ftw.h ./crt/fvec.h ./crt/getopt.h ./crt/ieeefp.h ./crt/intrin.h ./crt/inttypes.h ./crt/io.h ./crt/ivec.h ./crt/libgen.h ./crt/limits.h ./crt/locale.h ./crt/malloc.h ./crt/math.h ./crt/mbctype.h ./crt/mbstring.h ./crt/mem.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./crt/memory.h ./crt/new.h ./crt/process.h ./crt/profile.h ./crt/pthread_signal.h ./crt/pthread_time.h ./crt/pthread_unistd.h ./crt/search.h ./crt/sehmap.h ./crt/setjmp.h ./crt/setjmpex.h ./crt/share.h ./crt/signal.h ./crt/stdarg.h ./crt/stddef.h ./crt/stdexcpt.h ./crt/stdint.h ./crt/stdio.h ./crt/stdlib.h ./crt/string.h ./crt/strings.h ./crt/syslimits.h ./crt/tchar.h ./crt/time.h ./crt/uchar.h ./crt/unistd.h ./crt/utime.h ./crt/vadefs.h ./crt/varargs.h ./crt/wchar.h ./crt/wctype.h ./crt/xlocinfo.h ./crt/xmath.h ./crt/ymath.h ./crt/yvals.h ./crt/swprintf.inl '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/ddk'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./ddk/include/ddk/acpiioct.h ./ddk/include/ddk/afilter.h ./ddk/include/ddk/amtvuids.h ./ddk/include/ddk/atm.h ./ddk/include/ddk/bdasup.h ./ddk/include/ddk/classpnp.h ./ddk/include/ddk/csq.h ./ddk/include/ddk/d3dhal.h ./ddk/include/ddk/d3dhalex.h ./ddk/include/ddk/d4drvif.h ./ddk/include/ddk/d4iface.h ./ddk/include/ddk/dderror.h ./ddk/include/ddk/dmusicks.h ./ddk/include/ddk/drivinit.h ./ddk/include/ddk/drmk.h ./ddk/include/ddk/dxapi.h ./ddk/include/ddk/fltsafe.h ./ddk/include/ddk/hidclass.h ./ddk/include/ddk/hubbusif.h ./ddk/include/ddk/ide.h ./ddk/include/ddk/ioaccess.h ./ddk/include/ddk/kbdmou.h ./ddk/include/ddk/mcd.h ./ddk/include/ddk/mce.h ./ddk/include/ddk/miniport.h ./ddk/include/ddk/minitape.h ./ddk/include/ddk/mountdev.h ./ddk/include/ddk/mountmgr.h ./ddk/include/ddk/msports.h ./ddk/include/ddk/ndis.h ./ddk/include/ddk/ndisguid.h ./ddk/include/ddk/ndistapi.h ./ddk/include/ddk/ndiswan.h ./ddk/include/ddk/netpnp.h ./ddk/include/ddk/ntagp.h ./ddk/include/ddk/ntddk.h ./ddk/include/ddk/ntddpcm.h ./ddk/include/ddk/ntddsnd.h ./ddk/include/ddk/ntifs.h ./ddk/include/ddk/ntimage.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/ddk'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./ddk/include/ddk/ntnls.h ./ddk/include/ddk/ntpoapi.h ./ddk/include/ddk/ntstrsafe.h ./ddk/include/ddk/oprghdlr.h ./ddk/include/ddk/parallel.h ./ddk/include/ddk/pfhook.h ./ddk/include/ddk/poclass.h ./ddk/include/ddk/portcls.h ./ddk/include/ddk/punknown.h ./ddk/include/ddk/scsi.h ./ddk/include/ddk/scsiscan.h ./ddk/include/ddk/scsiwmi.h ./ddk/include/ddk/smbus.h ./ddk/include/ddk/srb.h ./ddk/include/ddk/stdunk.h ./ddk/include/ddk/storport.h ./ddk/include/ddk/strmini.h ./ddk/include/ddk/swenum.h ./ddk/include/ddk/tdikrnl.h ./ddk/include/ddk/tdistat.h ./ddk/include/ddk/upssvc.h ./ddk/include/ddk/usbbusif.h ./ddk/include/ddk/usbdlib.h ./ddk/include/ddk/usbdrivr.h ./ddk/include/ddk/usbkern.h ./ddk/include/ddk/usbprint.h ./ddk/include/ddk/usbprotocoldefs.h ./ddk/include/ddk/usbscan.h ./ddk/include/ddk/usbstorioctl.h ./ddk/include/ddk/video.h ./ddk/include/ddk/videoagp.h ./ddk/include/ddk/wdm.h ./ddk/include/ddk/wdmguid.h ./ddk/include/ddk/wmidata.h ./ddk/include/ddk/wmilib.h ./ddk/include/ddk/ws2san.h ./ddk/include/ddk/xfilter.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/ddk'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./direct-x/include/_mingw_dxhelper.h ./direct-x/include/amaudio.h ./direct-x/include/amstream.h ./direct-x/include/amstream.idl ./direct-x/include/amvideo.h ./direct-x/include/amvideo.idl ./direct-x/include/audevcod.h ./direct-x/include/austream.h ./direct-x/include/austream.idl ./direct-x/include/d3d.h ./direct-x/include/d3d10.h ./direct-x/include/d3d10.idl ./direct-x/include/d3d10_1.h ./direct-x/include/d3d10_1.idl ./direct-x/include/d3d10_1shader.h ./direct-x/include/d3d10effect.h ./direct-x/include/d3d10misc.h ./direct-x/include/d3d10shader.h ./direct-x/include/d3d11.h ./direct-x/include/d3d11.idl ./direct-x/include/d3d11_1.h ./direct-x/include/d3d11_1.idl ./direct-x/include/d3d11sdklayers.h ./direct-x/include/d3d11sdklayers.idl ./direct-x/include/d3d11shader.h ./direct-x/include/d3d8.h ./direct-x/include/d3d8caps.h ./direct-x/include/d3d8types.h ./direct-x/include/d3d9.h ./direct-x/include/d3d9caps.h ./direct-x/include/d3d9types.h ./direct-x/include/d3dcaps.h ./direct-x/include/d3dcommon.h ./direct-x/include/d3dcommon.idl ./direct-x/include/d3dcompiler.h ./direct-x/include/d3dhal.h ./direct-x/include/d3drm.h ./direct-x/include/d3drmdef.h ./direct-x/include/d3drmobj.h ./direct-x/include/d3dtypes.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./direct-x/include/d3dvec.inl ./direct-x/include/d3dx9.h ./direct-x/include/d3dx9anim.h ./direct-x/include/d3dx9core.h ./direct-x/include/d3dx9effect.h ./direct-x/include/d3dx9math.h ./direct-x/include/d3dx9math.inl ./direct-x/include/d3dx9mesh.h ./direct-x/include/d3dx9shader.h ./direct-x/include/d3dx9shape.h ./direct-x/include/d3dx9tex.h ./direct-x/include/d3dx9xof.h ./direct-x/include/ddraw.h ./direct-x/include/ddrawi.h ./direct-x/include/ddstream.h ./direct-x/include/ddstream.idl ./direct-x/include/dinput.h ./direct-x/include/dls1.h ./direct-x/include/dls2.h ./direct-x/include/dmdls.h ./direct-x/include/dmerror.h ./direct-x/include/dmo.h ./direct-x/include/dmodshow.h ./direct-x/include/dmodshow.idl ./direct-x/include/dmoreg.h ./direct-x/include/dmort.h ./direct-x/include/dmplugin.h ./direct-x/include/dmusbuff.h ./direct-x/include/dmusicc.h ./direct-x/include/dmusicf.h ./direct-x/include/dmusici.h ./direct-x/include/dmusics.h ./direct-x/include/dpaddr.h ./direct-x/include/dplay.h ./direct-x/include/dplay8.h ./direct-x/include/dplobby.h ./direct-x/include/dplobby8.h ./direct-x/include/dpnathlp.h ./direct-x/include/dsconf.h ./direct-x/include/dsdriver.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./direct-x/include/dshow.h ./direct-x/include/dsound.h ./direct-x/include/dvdevcod.h ./direct-x/include/dvdmedia.h ./direct-x/include/dxdiag.h ./direct-x/include/dxerr8.h ./direct-x/include/dxerr9.h ./direct-x/include/dxfile.h ./direct-x/include/dxgi.h ./direct-x/include/dxgi.idl ./direct-x/include/dxgi1_2.h ./direct-x/include/dxgi1_2.idl ./direct-x/include/dxgiformat.h ./direct-x/include/dxgitype.h ./direct-x/include/edevdefs.h ./direct-x/include/errors.h ./direct-x/include/evcode.h ./direct-x/include/mediaerr.h ./direct-x/include/mediaobj.h ./direct-x/include/mediaobj.idl ./direct-x/include/medparam.h ./direct-x/include/medparam.idl ./direct-x/include/mmstream.h ./direct-x/include/mmstream.idl ./direct-x/include/qedit.h ./direct-x/include/qedit.idl ./direct-x/include/qnetwork.h ./direct-x/include/qnetwork.idl ./direct-x/include/vfwmsgs.h ./direct-x/include/vmr9.h ./direct-x/include/vmr9.idl ./direct-x/include/xinput.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/gdiplus'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/gdiplus/gdiplus.h ./include/gdiplus/gdiplusbase.h ./include/gdiplus/gdiplusbrush.h ./include/gdiplus/gdipluscolor.h ./include/gdiplus/gdipluscolormatrix.h ./include/gdiplus/gdipluseffects.h ./include/gdiplus/gdiplusenums.h ./include/gdiplus/gdiplusflat.h ./include/gdiplus/gdiplusgpstubs.h ./include/gdiplus/gdiplusgraphics.h ./include/gdiplus/gdiplusheaders.h ./include/gdiplus/gdiplusimageattributes.h ./include/gdiplus/gdiplusimagecodec.h ./include/gdiplus/gdiplusimaging.h ./include/gdiplus/gdiplusimpl.h ./include/gdiplus/gdiplusinit.h ./include/gdiplus/gdipluslinecaps.h ./include/gdiplus/gdiplusmatrix.h ./include/gdiplus/gdiplusmem.h ./include/gdiplus/gdiplusmetafile.h ./include/gdiplus/gdiplusmetaheader.h ./include/gdiplus/gdipluspath.h ./include/gdiplus/gdipluspen.h ./include/gdiplus/gdipluspixelformats.h ./include/gdiplus/gdiplusstringformat.h ./include/gdiplus/gdiplustypes.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/gdiplus'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/GL'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/GL/gl.h ./include/GL/glaux.h ./include/GL/glcorearb.h ./include/GL/glext.h ./include/GL/glu.h ./include/GL/glxext.h ./include/GL/wglext.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/GL'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/psdk_inc'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/psdk_inc/_dbg_LOAD_IMAGE.h ./include/psdk_inc/_dbg_common.h ./include/psdk_inc/_fd_types.h ./include/psdk_inc/_ip_mreq1.h ./include/psdk_inc/_ip_types.h ./include/psdk_inc/_pop_BOOL.h ./include/psdk_inc/_push_BOOL.h ./include/psdk_inc/_socket_types.h ./include/psdk_inc/_varenum.h ./include/psdk_inc/_ws1_undef.h ./include/psdk_inc/_wsa_errnos.h ./include/psdk_inc/_wsadata.h ./include/psdk_inc/_xmitfile.h ./include/psdk_inc/intrin-impl.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/psdk_inc'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sdks'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 _mingw_directx.h _mingw_ddk.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sdks'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sec_api'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./crt/sec_api/conio_s.h ./crt/sec_api/crtdbg_s.h ./crt/sec_api/mbstring_s.h ./crt/sec_api/search_s.h ./crt/sec_api/stdio_s.h ./crt/sec_api/stdlib_s.h ./crt/sec_api/stralign_s.h ./crt/sec_api/string_s.h ./crt/sec_api/tchar_s.h ./crt/sec_api/wchar_s.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sec_api'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sec_api/sys'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./crt/sec_api/sys/timeb_s.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sec_api/sys'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sys'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./crt/sys/cdefs.h ./crt/sys/fcntl.h ./crt/sys/file.h ./crt/sys/locking.h ./crt/sys/param.h ./crt/sys/stat.h ./crt/sys/time.h ./crt/sys/timeb.h ./crt/sys/types.h ./crt/sys/unistd.h ./crt/sys/utime.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/sys'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/wrl'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/wrl/client.h ./include/wrl/internal.h ./include/wrl/module.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/wrl'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/wrl/wrappers'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 ./include/wrl/wrappers/corewrappers.h '/nix/store/m0gsbx74ps88lxmw8qph9hvf966gcdaz-mingw-w64-5.0.3-headers-x86_64-pc-mingw32/include/wrl/wrappers'
make[2]: Leaving directory '/tmp/nix-build-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv-0/mingw-w64-v5.0.3/mingw-w64-headers'
make[1]: Leaving directory '/tmp/nix-build-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv-0/mingw-w64-v5.0.3/mingw-w64-headers'
post-installation fixup
/nix/store/v97m8c85gbc9hlgrxqr2nlhzh3qd08vf-win-dll-link.sh: line 45: bin: unbound variable
builder for '/nix/store/by39p7dyk2s7sbyvdj28g1kn5y8q54k5-mingw-w64-5.0.3-headers-x86_64-pc-mingw32.drv' failed with exit code 1
cannot build derivation '/nix/store/dqgw7p2pbmrhbxqnhi7p2fm1xh1vr8cb-mingw-w64-5.0.3-x86_64-pc-mingw32.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9b42wny0lcn7h60dbnfjha9gzk3br863-x86_64-pc-mingw32-gcc-cross-wrapper-7.3.0-x86_64-pc-mingw32-stage-final.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hgm1gnyxjg58i4i5ilr2glqlq1n2n0ad-stdenv-linux.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dwwm5qhh9y4hdjlq7j410cgvc1jaalr9-hello-2.10-x86_64-pc-mingw32.drv': 1 dependencies couldn't be built
error: build of '/nix/store/dwwm5qhh9y4hdjlq7j410cgvc1jaalr9-hello-2.10-x86_64-pc-mingw32.drv' failed

Also, it's not clear from a quick browse of the new script that it will look in x86_64-pc-mingw32/lib/ for that stack protector library.

@expipiplus1
Copy link
Contributor

I don't have the time at the moment to take this over, sorry

@Ericson2314
Copy link
Member Author

@expipiplus1 I fixed some things in the script, but the next problem is stdenv.cc.cc.lib isn't a propagatedBuildInput as it should be, yet another case of building libraries with compilers causing problems. I really want to just fix those GCC derivations, but the expedient thing to do is to hack that in here somehow.

@expipiplus1
Copy link
Contributor

Thanks for the hard work John, sadly this doesn't fix the original issue. I think because the libraries are in that strange pc-mingw directory.

@Ericson2314
Copy link
Member Author

Ericson2314 commented Apr 12, 2018

Oh! I think I know the solution now! We go backwards from -L... in NIX_LDFLAGS to such a path and then use that. That should work by definition: iff the DLL can be found by the linker, can we make the symlink.

DLLs are symlinked bin/ for the exes that use them, but they should
always be installed in lib/ for sake of regularity and multiple outputs.

Fix NixOS#38451
@Ericson2314
Copy link
Member Author

Ah, it still doesn't work. ld-wrapper adds some mod -L flags to NIX_LDFLAGS right before the invocation of ld, and we need those too. We'll have to fish them out.

Ericson2314 referenced this pull request Jul 27, 2018
This will be very useful for bootstrapping, eventually.
@mmahut
Copy link
Member

mmahut commented Aug 3, 2019

What is the status of this pull request?

@mmahut
Copy link
Member

mmahut commented Oct 5, 2019

Closing due to lack of activity, feel free re-open this if needed.

@mmahut mmahut closed this Oct 5, 2019
@Radvendii
Copy link
Contributor

I'm starting this up again and trying to make it work, and I'm finding that the -L flags all point to lib/ directories, but the .dll files are in the respective bin/ directories. I'm not sure if the .dlls should also be in the lib/ directories, or if we should be searching the bin/ directories, but it seems like the linker is not actually finding any .dlls.

To be clear, I checked the state of the -L flags that are passed to ld by ld-wrapper.

Does anyone have guidance? In particular

  1. Why are the .dll files not showing up in the lib/ folders. Is this intended behaviour?
  2. How are we able to create executables that work (when .dll files are moved into their directory), without passing -L/path/to/dll/folder/
  3. What should be changed here? Should .dlls be added to lib/ folders? Should we add -L/something/something/bin to NIX_LDFLAGS? Should we not be trying to find .dlls by searching along the -L directories?

@Radvendii Radvendii reopened this Jun 25, 2020
@Radvendii
Copy link
Contributor

Okay, so if I just manually force it to use the bin/ version of every path it thinks it needs, it works!... mostly. I'm still not sure this is the right approach, but it's the only one I knew how to implement.

There are still a few libraries that aren't picked up. The main one seems to be libstdc++-6.dll. It is not even being looked for, so it seems like maybe a problem with the output from objdump. I remember seeing people talking about libc being treated differently than other libraries, and this causing problems. Is this that same issue?

@Radvendii
Copy link
Contributor

Oh, I take it back. I was reading the output wrong. libstdc++-6.dll is being looked for, but it's not being found. the gcc derivation is not in the -L list I guess.

@Radvendii
Copy link
Contributor

I'm seeing that libstdc++-6.dll is in a strange place: it's in the folder x86_64-w64-mingw32/lib folder of its derivation, which is neither linked to via -L nor is it in the $PATH variable. (the regular bin folder of that derivation is in $PATH).

@SuperSandro2000 SuperSandro2000 marked this pull request as draft November 28, 2020 23:52
@stale
Copy link

stale bot commented Jun 3, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2021
@Artturin
Copy link
Member

Artturin commented Sep 5, 2023

#252459 a similar change was merged

@Ericson2314
Copy link
Member Author

Great! I think I'll keep this draft to someday rebase and double-check how it might differ/not-differ, but not sure when I'll get around to that either.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Sep 5, 2023
local outName
for outName in $outputs; do
addToSearchPath DLLPATH "${!outName}/bin"
addToSearchPath outputsDllPath "${!outName}/lib64"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the new PR does not check lib64

@wegank wegank added 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 2.status: merge conflict labels Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 2.status: work-in-progress 6.topic: windows Running, or buiding, packages on Windows 10.rebuild-darwin: 0 10.rebuild-linux: 0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross compiling for mingw doesn't find gcc DLLs
7 participants