mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
19 lines
287 B
Nix
19 lines
287 B
Nix
{stdenv, vs}:
|
|
{ name
|
|
, src
|
|
, slnFile
|
|
, baseDir ? "."
|
|
, extraBuildInputs ? []
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit name src;
|
|
installPhase = ''
|
|
cd ${baseDir}
|
|
vcbuild.exe /rebuild ${slnFile}
|
|
mkdir -p $out
|
|
cp Debug/* $out
|
|
'';
|
|
buildInputs = [ vs ] ++ extraBuildInputs;
|
|
}
|