commit missing file

This commit is contained in:
Sebastien Bourdeauducq 2020-06-20 13:57:06 +08:00
parent 561eb3a02e
commit 8fa63fe916
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{ pkgs, name, filename, baseurl, sha256 }:
let
download = pkgs.fetchurl {
url = "${baseurl}${filename}";
inherit sha256;
};
in
pkgs.runCommand "conda-windows-${name}" { } ''
mkdir -p $out/win-64 $out/nix-support
ln -s ${download} $out/win-64/${filename}
echo file conda $out/win-64/${filename} >> $out/nix-support/hydra-build-products
''