File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 620
620
lib . optionals ( builtins . compareVersions defaults . ghc . version "9.4.1" >= 0 )
621
621
[ buildPackages . gcc-unwrapped
622
622
# Find the versions of mcfgthreads used by stdenv.cc
623
- ( pkgs . threadsCrossFor or ( x : windows . mcfgthreads ) stdenv . cc . version ) . package
623
+ ( pkgs . threadsCrossFor or ( x : { package = pkgs . windows . mcfgthreads ; } ) pkgs . stdenv . cc . version ) . package
624
624
] ) } ; do
625
625
find "$p" -iname '*.dll' -exec ln -s {} $out/bin \;
626
626
done
Original file line number Diff line number Diff line change 10
10
# On windows systems we need these to be propagatedBuildInputs so that the DLLs will be found.
11
11
gcclibs = if pkgs . stdenv . hostPlatform . isWindows then [
12
12
# Find the versions of mcfgthreads used by stdenv.cc
13
- ( pkgs . threadsCrossFor or ( x : pkgs . windows . mcfgthreads ) pkgs . stdenv . cc . version ) . package
13
+ ( pkgs . threadsCrossFor or ( x : { package = pkgs . windows . mcfgthreads ; } ) pkgs . stdenv . cc . version ) . package
14
14
# If we just use `pkgs.buildPackages.gcc.cc` here it breaks the `th-dlls` test. TODO figure out why exactly.
15
15
( pkgs . buildPackages . runCommand "gcc-only" { nativeBuildInputs = [ pkgs . buildPackages . xorg . lndir ] ; } ''
16
16
mkdir $out
You can’t perform that action at this time.
0 commit comments