fcc03dbfc5
GitOrigin-RevId: ff96a0fa5635770390b184ae74debea75c3fd534
13 lines
337 B
Nix
13 lines
337 B
Nix
{ 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;
|
|
}
|