core/pkgs/stdenv/freebsd/trivial-builder.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
348 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{
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;
}