summary refs log tree commit diff
path: root/pkgs/stdenv/freebsd/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-04-27config.contentAddressedByDefault: init optionArtturin1-1/+1
2021-04-28Make the bootsrap respect the contentAddressedByDefault settingregnat1-2/+6
Patch every `derivation` call in the bootsrap process to add it a conditional `__contentAddressed` parameter. That way, passing `contentAddressedByDefault` means that the entire build closure of a system can be content addressed
2021-04-15stdenv/freebsd/cc: make overrideable fixing nixpkgs evalsternenseemann1-1/+1
stdenv.cc didn't have an override attribute on FreeBSD previously, breaking evaluation of all-packages.nix consequently. Resolves #119075.
2021-02-07stdenv: Improve/fix FreeBSD supportAshish SHUKLA1-8/+186
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
2021-01-24treewide: fix double quoted strings in meta.descriptionvolth1-1/+1
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2018-12-04stdenv: implement crossOverlaysMatthew Bauer1-1/+1
crossOverlays only apply to the packages being built, not the build packages. It is useful when you don’t care what is used to build your packages, just what is being built. The idea relies heavily on the cross compiling infrastructure. Using this implies that we need to create a cross stdenv.
2018-02-18fetchurl: cleanup, better errorsJan Malakhovski1-1/+2
Also fix what seems like bugs in uncommon `stdenv`s.
2017-09-26cc-wrapper: Use stdenvNoCC to buildJohn Ericson1-1/+1
cc-wrapper may wrap a cc-compiler, but it doesn't need one to build itself. (c.f. expand-response-params is a separate derivation.) This helps avoid cycles on the cross stuff, in addition to removing a useless dependency edge. I could have been super careful with overrides in the stdenv to avoid the mass rebuild, but I don't think it's worth it.
2017-08-21cc-wrapper: Remove unused paramsJohn Ericson1-10/+4
Ensured hashes unchanged and eval succeeds in tarball job
2017-07-07top-level: {build,host,target}Platform are defined in the stdenv insteadJohn Ericson1-5/+9
See #27069 for a discussion of this
2017-06-22cc-wrapper: Learn about target prefixesJohn Ericson1-0/+1
This is first step towards getting rid of gcc-wrapper-cross
2017-06-22cc-wrapper: Remove `stdenv.is*` for `targetPlatform.is*`John Ericson1-0/+1
Modify bootstrapping stdenvs to make sure `targetPlatform` also passed.
2017-05-22stdenv: define is* predicates with hostPlatform.is*John Ericson1-5/+8
This is a saner default until stdenv's are removed altogether
2017-01-24top-level: Lay the groundwork for `{build,host,target}Platform`John Ericson1-2/+6
The long term goal is a big replace: { inherit system platform; } => buildPlatform crossSystem => hostPlatform stdenv.cross => targetPlatform And additionally making sure each is defined even when not cross compiling. This commit refactors the bootstrapping code along that vision, but leaves the old identifiers with their null semantics in place so packages can be modernized incrementally.
2017-01-16Add overlays mechanism to Nixpkgs.Nicolas B. Pierron1-2/+2
This patch add a new argument to Nixpkgs default expression named "overlays". By default, the value of the argument is either taken from the environment variable `NIXPKGS_OVERLAYS`, or from the directory `~/.nixpkgs/overlays/`. If the environment variable does not name a valid directory then this mechanism would fallback on the home directory. If the home directory does not exists it will fallback on an empty list of overlays. The overlays directory should contain the list of extra Nixpkgs stages which would be used to extend the content of Nixpkgs, with additional set of packages. The overlays, i-e directory, files, symbolic links are used in alphabetical order. The simplest overlay which extends Nixpkgs with nothing looks like: ```nix self: super: { } ``` More refined overlays can use `super` as the basis for building new packages, and `self` as a way to query the final result of the fix-point. An example of overlay which extends Nixpkgs with a small set of packages can be found at: https://github.com/nbp/nixpkgs-mozilla/blob/nixpkgs-overlay/moz-overlay.nix To use this file, checkout the repository and add a symbolic link to the `moz-overlay.nix` file in `~/.nixpkgs/overlays` directory.
2017-01-13top-level: Normalize stdenv bootingJohn Ericson1-47/+68
Introduce new abstraction, `stdenv/booter.nix` for composing bootstraping stages, and use it everywhere for consistency. See that file for more doc. Stdenvs besides Linux and Darwin are completely refactored to utilize this. Those two, due to their size and complexity, are minimally edited for easier reviewing. No hashes should be changed.
2016-12-01top-level: turn the screwJohn Ericson1-4/+4
- Non-cross stdenvs are honest and assert that `crossSystem` is null - `crossSystem` is a mandatory argument to top-level/stage.nix, just like `system` and `platform` - Broken default arguments on stdenvs for testing are gone. - All stdenvs (but little-used stdenvNix) take the same arguments for easy testing.
2016-11-30top-level: Remove cycles: stdenv calls in top-level but not vice versaJohn Ericson1-1/+1
This commit changes the dependencies of stdenv, and clean-up the stdenv story by removing the `defaultStdenv` attribute as well as the `bootStdenv` parameter. Before, the final bootstrapping stage's stdenv was provided by all-packages, which was iterating multiple times over the top-level/default.nix expression, and non-final bootstrapping stages' stdenvs were explicitly specified with the `bootStdenv` parameter. Now, all stages' stdenvs are specified with the `stdenv` parameter. For non-final bootstrapping stages, this is a small change---basically just rename the parameter. For the final stage, top-level/default.nix takes the chosen stdenv and makes the final stage with it. `allPackages` is used to make all bootstrapping stages, final and non-final alike. It's basically the expression of `stage.nix` (along with a few partially-applied default arguments) Note, the make-bootstrap-tools scripts are temporarily broken
2016-03-13Replace references to all-packages.nix, by references to the top-level of ↵Nicolas B. Pierron1-2/+2
nixpkgs repository.
2016-01-01FreeBSD: improve bootstrapping, re-enable bdb for heimdaljanus1-3/+3
2016-01-01FreeBSD: minor fixes, add notes and make stdenv more robustjanus1-94/+28
2016-01-01FreeBSD: patch expat, kerberos, libedit, ossp-uuid, lz4, sharutils, add ↵janus1-2/+2
libelf-freebsd
2016-01-01FreeBSD: use own stdenv, do not run libtiff tests, use PIC for zlibjanus1-0/+131
2008-06-18* Folded the Cygwin, powerpc-darwin and FreeBSD stdenv into the "native"Eelco Dolstra1-25/+0
stdenv. svn path=/nixpkgs/trunk/; revision=12147
2008-05-27* curl: build with OpenSSL (https) support by default.Eelco Dolstra1-1/+2
* Some fetchurl-related refactoring. The `realCurl' attribute is gone, `curl' is the real thing. To prevent an infinite recursion in `fetchurl' (because it depends on curl and building curl needs fetchurl), curl and its dependencies (openssl, zlib, perl) use `fetchurlBoot', which is the fetchurl used by the previous bootstrap phase (e.g. the statically linked version of curl for stdenv-linux). So as a result you can use https:// urls almost everywhere. There's also some hackery to prevent a different curl from being built in every stdenv-linux bootstrap phase (namely the stdenv.fetchurl attribute which allows fetchurl to be overriden everywhere). svn path=/nixpkgs/trunk/; revision=11905
2006-10-27* nativeGlibc -> nativeLibc (gcc-cross-wrapper is probably brokenEelco Dolstra1-1/+1
right now; should merge gcc-wrapper changes). svn path=/nixpkgs/trunk/; revision=6876
2006-03-08* Fix "infinite recursion" errors on FreeBSD and Darwin.Eelco Dolstra1-0/+5
svn path=/nixpkgs/branches/usability/; revision=4997
2005-05-10* Add a simple standard environment for FreeBSD.Eelco Dolstra1-0/+19
* Use the system Perl on all non-i686-linux platforms. * Don't build Python support in libxml2 on most platforms. svn path=/nixpkgs/trunk/; revision=3019