summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv
AgeCommit message (Collapse)Author
2020-11-17gcc: update to isl 0.20.0 for bootstrapping and recent versions (#103311)Arnout Engelen
2020-11-13Merge pull request #98541 from thefloweringash/darwin-tapi-stdenvDaiderd Jordan
darwin (Big Sur): tbd based stdenv
2020-11-12darwin/make-bootstrap-tools: remove references to old libSystemAndrew Childs
2020-11-12darwin/darwin-stubs: initAndrew Childs
2020-11-11Merge staging-next into stagingFrederik Rietdijk
2020-11-09Promote allowUnfreePredicate in remediation messageArnout Engelen
2020-11-09Merge staging-next into stagingFrederik Rietdijk
2020-11-09darwin/stdenv: refactoringAndrew Childs
Build the llvm support libraries (libcxx, libcxxabi) from scratch without using the existing llvm libraries. This is the same spirit and similar implementation as the "useLLVM" bootstrap in llvm package sets. Critically it avoids having libcxxabi provided by the cc-wrapper when building libcxx, which otherwise results in two libcxxabi instances. $ otool -L /nix/store/vd4vvgs9xngqbjzpg3qc41wl6jh42s9i-libc++-7.1.0/lib/libc++.dylib /nix/store/vd4vvgs9xngqbjzpg3qc41wl6jh42s9i-libc++-7.1.0/lib/libc++.dylib: /nix/store/vd4vvgs9xngqbjzpg3qc41wl6jh42s9i-libc++-7.1.0/lib/libc++.1.0.dylib (compatibility version 1.0.0, current version 1.0.0) /nix/store/gmpwk5fyp3iasppqrrdpswxvid6kcp8r-libc++abi-7.1.0/lib/libc++abi.dylib (compatibility version 1.0.0, current version 1.0.0) /nix/store/3hn7azynqgp2pm5gpdg45gpq0ia72skg-libc++abi-7.1.0/lib/libc++abi.dylib (compatibility version 1.0.0, current version 1.0.0) /nix/store/1nq94scbxs6bk7pimqhvz76q6cfmbv97-Libsystem-osx-10.12.6/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1) Additionally move some utilities (clang, binutils, coreutils, gnugrep) to the stage layers so they can be replaced before the final stdenv. This should cause most of stage4 to be built from the toolchain assembled as of stage3 instead of the bootstrap toolchain.
2020-11-09darwin/stdenv: assemble full clang toolchainAndrew Childs
Adapted from main expression for clang 7.
2020-11-09stdenv/darwin: bump bootstrap toolsDaiderd Jordan
This new version has tapi support, which is needed to build the new stubs based libSystem, etc. and Big Sur support. You can verify the provenance of these yourself by checking Hydra here: https://hydra.nixos.org/build/128192471
2020-11-07stdenv: Fix error message when checkPhase is missingJoachim Breitner
2020-11-05Merge pull request #101833 from wamserma/allow-via-envKevin Cox
stdenv/check-meta: add hint to NIXPKGS_ALLOW_* for unfree/broken/…
2020-10-31Merge branch 'master' into staging-nextVladimír Čunát
2020-10-30Merge pull request #96318 from matthewbauer/provide-patchelf-in-native-stdenvMatthew Bauer
stdenv/native: provide patchelf on linux
2020-10-27stdenv/check-meta: add hint to NIXPKGS_ALLOW_* for unfree/broken/unsupported ↵Markus S. Wamser
system
2020-10-26Recover the complicated situation after my bad mergeVladimír Čunát
I made a mistake merge. Reverting it in c778945806b undid the state on master, but now I realize it crippled the git merge mechanism. As the merge contained a mix of commits from `master..staging-next` and other commits from `staging-next..staging`, it got the `staging-next` branch into a state that was difficult to recover. I reconstructed the "desired" state of staging-next tree by: - checking out the last commit of the problematic range: 4effe769e2b - `git rebase -i --preserve-merges a8a018ddc0` - dropping the mistaken merge commit and its revert from that range (while keeping reapplication from 4effe769e2) - merging the last unaffected staging-next commit (803ca85c209) - fortunately no other commits have been pushed to staging-next yet - applying a diff on staging-next to get it into that state
2020-10-25Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"Vladimír Čunát
I'm sorry; I didn't notice it contained staging commits. This reverts commit 17f5305b6c20df795c365368d2d868266519599e, reversing changes made to a8a018ddc0a8b5c3d4fa94c94b672c37356bc075.
2020-10-13Merge pull request #99401 from Ericson2314/cmake-optional-opensslJohn Ericson
cmake: Tighten deps
2020-10-13darwin bootstrapping: Dedup code a bitJohn Ericson
2020-10-06Merge staging-next into stagingFrederik Rietdijk
2020-09-14Merge pull request #97000 from danieldk/stdenv-darwin-unset-sdkrootDaniël de Kok
stdenv: unset SDKROOT on Darwin
2020-09-12hooks: add moveSystemdUserUnitsHookRobert Helgesson
This hook moves systemd user service file from `lib/systemd/user` to `share/systemd/user`. This is to allow systemd to find the user services when installed into a user profile. The `lib/systemd/user` path does not work since `lib` is not in `XDG_DATA_DIRS`.
2020-09-10Merge pull request #93912 from thefloweringash/cctools-tapiMatthew Bauer
stdenv/darwin: enable tapi support in cctools
2020-09-05Merge pull request #76794 from ↵Silvan Mosberger
dudebout/document-nix-env-multiple-output-install-bug document nix-env bug relating to multiple output installation
2020-09-05document nix-env bug relating to multiple output installationNicolas Dudebout
2020-09-03stdenv: unset SDKROOT on DarwinDaniël de Kok
The Rust `cc` crate started running `xcrun` when SDKROOT is defined: https://github.com/alexcrichton/cc-rs/commit/a970b0ab0beecec1d9c589d2e6aa5f3ad1bd3f9b Consequently, building crates that use newer versions of the `cc` crate fail, because xcrun is not available in pure build environments.
2020-08-31Merge pull request #95536 from Infinisil/inputDerivationSilvan Mosberger
mkDerivation: Introduce .inputDerivation for shell.nix build convenience
2020-08-25stdenv/native: provide patchelf on linuxMatthew Bauer
This provides consistency with the pure stdenv, which provides patchelf this way. Native stdenv can always just manually install patchelf on their system, but like xz, it’s unlikely to be provided in /usr/bin/. In addition, it’s not even in the RHEL7 repos.
2020-08-21stdenv/darwin: enable tapi support in cctoolsAndrew Childs
2020-08-19Merge pull request #95129 from aaronjanse/aj-fix-llvm-for-redoxMatthew Bauer
mkDerivation: use `Generic` as system name for Redox in cmakeFlags
2020-08-16mkDerivation: Introduce .inputDerivation for shell.nix build convenienceSilvan Mosberger
This introduces the .inputDerivation attribute on all derivations created with mkDerivation. This is another derivation that can always build successfully and whose runtime dependencies are the build time dependencies of the original derivation. This allows easy building and distributing of all derivations needed to enter a nix-shell with nix-build shell.nix -A inputDerivation
2020-08-10mkDerivation: handle Redox in cmakeFlagsAaron Janse
2020-08-02gnu-config: 2019-04-15 -> 2020-05-04Emery Hemingway
Update gnu-config (config.sub, config.guess) to suport the Genode platform and apply the updateAutotoolsGnuConfigScriptsHook to Genode cross-compilation.
2020-08-01Merge pull request #89794 from Mic92/source-date-epochJörg Thalheim
2020-07-21redox: add as targetAaron Janse
2020-07-13Merge branch 'staging-next' (PR #91090)Vladimír Čunát
2020-07-11stdenv: correctly make `stdenv.system` refer to the host platformBen Wolsieffer
This was supposed to be done in 773233ca771a, but was not due to a small mistake.
2020-06-22C++ Compilers: Systematize handling of standard librariesJohn Ericson
2020-09-30Merge pull request #86223 from pikajude/darwin-static-evalSilvan Mosberger
pkgsStatic: use clang for C compiler on Darwin
2020-06-11stdenv/check-meta: alignment/widthzowoq
2020-06-10Merge branch 'staging-next'Vladimír Čunát
2020-06-10docs: increase awareness of NIXPKGS_ALLOW_INSECURE=1Geoffrey Huntley
https://github.com/NixOS/nixpkgs/blob/496bc90c6c9b54e8200a069862e3c4fad21f9f58/doc/using/configuration.xml#L190
2020-06-08stdenv: set SOURCE_DATE_EPOCH to a value python supportsJörg Thalheim
in nix-shell this value breaks the build because python's packaging refuses to build timestamps that date before 1980.
2020-05-27Merge pull request #89036 from Ericson2314/fix-mesa-wayland-crossJohn Ericson
mesa wayland: Fix/simplify cross
2020-05-27mkDerivation: Don't need to specify pkg-config for meson any moreJohn Ericson
Env var will work fine.
2020-05-15Merge pull request #87583 from Gaelan/single-llvmMatthew Bauer
stdenv-darwin: now with 50% less LLVM!
2020-05-13Merge pull request #83180 from matthewbauer/only-add-ldflags-for-macosMatthew Bauer
bintools: only add macos flags when targeting macOS
2020-05-12*-wrapper; Switch from `infixSalt` to `suffixSalt`John Ericson
I hate the thing too even though I made it, and rather just get rid of it. But we can't do that yet. In the meantime, this brings us more inline with autoconf and will make it slightly easier for me to write a pkg-config wrapper, which we need.
2020-05-11stdenv: only build LLVM once on darwinGaelan Steele
2020-04-28mkDerivation mesonFlags: Fix arm cpu familiesJohn Ericson
In my haste to unbreak eval, I screwed up and got the bit-widths, backwards.