1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/stdenv/mingw/msys-builder.sh
Martin Bravenboer 5992b95b64 Basic stdenv for mingw. No compiler yet and setup needs more fixing.
svn path=/nixpkgs/trunk/; revision=6124
2006-08-15 21:25:14 +00:00

16 lines
289 B
Bash

source $stdenv/setup
mkdir $out
cd $out
tar zxvf $src
# Make the Nix store available to MSYS.
# Hack: we are assuming that the stdenv is based on Cygwin.
nixdir="$(cygpath --windows /nix)"
mkdir $out/nix
cat > $out/etc/fstab <<EOF
#Win32_Path Mount_Point
$nixdir /nix
EOF