mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
5992b95b64
svn path=/nixpkgs/trunk/; revision=6124
16 lines
289 B
Bash
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
|