mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
1c39662e63
Able to bootstrap stdenv on FreeBSD by compiling various dependencies using built-in FreeBSD tools so mostly works now Closes: https://github.com/NixOS/nixpkgs/pull/81459
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;
|
|
}
|