forked from M-Labs/nix-scripts
commit missing file
This commit is contained in:
parent
561eb3a02e
commit
8fa63fe916
13
artiq-fast/conda-windows/redistribute.nix
Normal file
13
artiq-fast/conda-windows/redistribute.nix
Normal 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
|
||||
''
|
Loading…
Reference in New Issue
Block a user