forked from M-Labs/nac3
1
0
Fork 0

flake: distribute mcfgthreads-12.dll on hydra

This commit is contained in:
Sebastien Bourdeauducq 2022-01-24 15:49:32 +08:00
parent ced7acd871
commit 9c34dd9c80
1 changed files with 10 additions and 0 deletions

View File

@ -211,6 +211,16 @@
inherit (packages.x86_64-linux) llvm-nac3 nac3artiq;
llvm-nac3-mingw = packages.x86_64-w64-mingw32.llvm-nac3;
nac3artiq-mingw = packages.x86_64-w64-mingw32.nac3artiq;
mcfgthreads = pkgs-mingw.stdenvNoCC.mkDerivation {
name = "mcfgthreads-hydra";
phases = [ "installPhase" ];
installPhase =
''
mkdir -p $out $out/nix-support
ln -s ${pkgs-mingw.windows.mcfgthreads}/bin/mcfgthreads-12.dll $out/
echo file binary-dist $out/mcfgthreads-12.dll >> $out/nix-support/hydra-build-products
'';
};
};
};