3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/freebsd/trivial-builder.nix

14 lines
337 B
Nix
Raw Normal View History

{ system, name, ver, url, sha256, configureArgs ? [], executable ? false } :
let fetchURL = import <nix/fetchurl.nix>;
in derivation {
inherit system configureArgs;
name = "trivial-bootstrap-${name}-${ver}";
dname = "${name}-${ver}";
src = fetchURL {
inherit url sha256 executable;
};
builder = ./trivial-builder.sh;
}