mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Hack to make sure the DLL linking job works with the check output
This commit is contained in:
parent
ae2b2849c9
commit
4a61827d2d
@ -338,6 +338,12 @@ in {
|
||||
echo "doc internal-api-docs $out/share/doc/nix/internal-api/html" >> ''${!outputDoc}/nix-support/hydra-build-products
|
||||
'';
|
||||
|
||||
# So the check output gets links for DLLs in the out output.
|
||||
preFixup = lib.optionalString (stdenv.hostPlatform.isWindows && builtins.elem "check" finalAttrs.outputs) ''
|
||||
ln -s "$check/lib/"*.dll "$check/bin"
|
||||
ln -s "$out/bin/"*.dll "$check/bin"
|
||||
'';
|
||||
|
||||
doInstallCheck = attrs.doInstallCheck;
|
||||
|
||||
installCheckFlags = "sysconfdir=$(out)/etc";
|
||||
|
Loading…
Reference in New Issue
Block a user