forked from mirrors/nixpkgs
add (refactored) static stuff
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1679
This commit is contained in:
parent
a8fa64c3da
commit
53577663f5
2
pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh
Normal file
2
pkgs/stdenv/nix-linux-static/scripts/add-symlink.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
$extra2/bin/chmod u+w $out/include
|
||||
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1
|
|
@ -0,0 +1,10 @@
|
|||
set -x
|
||||
set -e
|
||||
|
||||
PATH=$coreutils/bin
|
||||
|
||||
mkdir $out
|
||||
|
||||
cat > $out/setup <<EOF
|
||||
PATH=$coreutils/bin:$gnused/bin
|
||||
EOF
|
8
pkgs/stdenv/nix-linux-static/scripts/curl-unpack
Normal file
8
pkgs/stdenv/nix-linux-static/scripts/curl-unpack
Normal file
|
@ -0,0 +1,8 @@
|
|||
set -x
|
||||
set -e
|
||||
|
||||
echo $curl
|
||||
|
||||
$gunzip -d < $curl | $tar xvf -
|
||||
|
||||
$cp -prvd * $out
|
14
pkgs/stdenv/nix-linux-static/scripts/download-script
Normal file
14
pkgs/stdenv/nix-linux-static/scripts/download-script
Normal file
|
@ -0,0 +1,14 @@
|
|||
set -x
|
||||
set -e
|
||||
|
||||
echo $curl
|
||||
|
||||
$curl/bin/curl "$url" > .tmp
|
||||
|
||||
$gunzip -d < .tmp | $tar xvf -
|
||||
|
||||
$cp -prvd * $out
|
||||
|
||||
if test -n "$postprocess"; then
|
||||
source $postprocess
|
||||
fi
|
BIN
pkgs/stdenv/nix-linux-static/tools/cp
Executable file
BIN
pkgs/stdenv/nix-linux-static/tools/cp
Executable file
Binary file not shown.
Loading…
Reference in a new issue