mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
stdenv: reduce io
This commit is contained in:
parent
54475daa27
commit
1200c8175c
@ -6,12 +6,14 @@ done
|
||||
|
||||
mkdir $out
|
||||
|
||||
echo "export SHELL=$shell" > $out/setup
|
||||
echo "initialPath=\"$initialPath\"" >> $out/setup
|
||||
echo "defaultNativeBuildInputs=\"$defaultNativeBuildInputs\"" >> $out/setup
|
||||
echo "defaultBuildInputs=\"$defaultBuildInputs\"" >> $out/setup
|
||||
echo "$preHook" >> $out/setup
|
||||
cat "$setup" >> $out/setup
|
||||
{
|
||||
echo "export SHELL=$shell"
|
||||
echo "initialPath=\"$initialPath\""
|
||||
echo "defaultNativeBuildInputs=\"$defaultNativeBuildInputs\""
|
||||
echo "defaultBuildInputs=\"$defaultBuildInputs\""
|
||||
echo "$preHook"
|
||||
cat "$setup"
|
||||
} > "$out/setup"
|
||||
|
||||
# Allow the user to install stdenv using nix-env and get the packages
|
||||
# in stdenv.
|
||||
|
Loading…
Reference in New Issue
Block a user