summary refs log blame commit diff
path: root/pkgs/stdenv/freebsd/trivial-builder.nix
blob: 64265081f542ea083cefb7da883be4c77404a014 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                            
{ 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;
}