core/pkgs/stdenv/freebsd/trivial-builder.nix
2024-05-13 22:24:10 +01:00

12 lines
331 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;
}