uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
23
pkgs/stdenv/generic/builder.sh
Normal file
23
pkgs/stdenv/generic/builder.sh
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
export PATH=
|
||||
for i in $initialPath; do
|
||||
if [ "$i" = / ]; then i=; fi
|
||||
PATH=$PATH${PATH:+:}$i/bin
|
||||
done
|
||||
|
||||
mkdir $out
|
||||
|
||||
{
|
||||
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.
|
||||
mkdir $out/nix-support
|
||||
if [ "$propagatedUserEnvPkgs" ]; then
|
||||
printf '%s ' $propagatedUserEnvPkgs > $out/nix-support/propagated-user-env-packages
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue