nixpkgs/pkgs/stdenv/nix-linux-static/coreutils-static/builder.sh

9 lines
132 B
Bash

. $stdenv/setup
PATH=$gzip:$PATH
$curl/bin/curl $src > $tarball
$tar/bin/tar zxvf $tarball
mkdir $out
cp -a coreutils-5.0/* $out