1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/build-support/vsenv/build-solution.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

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;
}