From 9c34dd9c8022d604a72cf46c96318527b7f475ce Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 24 Jan 2022 15:49:32 +0800 Subject: [PATCH] flake: distribute mcfgthreads-12.dll on hydra --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/flake.nix b/flake.nix index 28442566..fb13ebdb 100644 --- a/flake.nix +++ b/flake.nix @@ -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 + ''; + }; }; };