let pkgs = import { }; in derivation { name = "hello"; builder = "${pkgs.bash}/bin/bash"; args = [ ./builder.sh ]; buildInputs = with pkgs; [ gnutar gzip gnumake gcc coreutils gawk gnused gnugrep binutils.bintools ]; src = ./hello-2.12.1.tar.gz; system = builtins.currentSystem; }