about summary refs log tree commit diff
path: root/pkgs/stdenv
AgeCommit message (Collapse)AuthorFilesLines
2020-11-09Promote allowUnfreePredicate in remediation messageArnout Engelen1-5/+15
2020-11-05Merge pull request #101833 from wamserma/allow-via-envKevin Cox1-2/+17
stdenv/check-meta: add hint to NIXPKGS_ALLOW_* for unfree/broken/…
2020-10-31Merge branch 'master' into staging-nextVladimír Čunát1-4/+5
2020-10-30Merge pull request #96318 from matthewbauer/provide-patchelf-in-native-stdenvMatthew Bauer1-4/+5
stdenv/native: provide patchelf on linux
2020-10-27stdenv/check-meta: add hint to NIXPKGS_ALLOW_* for unfree/broken/unsupported ↵Markus S. Wamser1-2/+17
system
2020-10-26Recover the complicated situation after my bad mergeVladimír Čunát1-4/+1
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át1-1/+4
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 Ericson1-4/+1
cmake: Tighten deps
2020-10-13darwin bootstrapping: Dedup code a bitJohn Ericson1-4/+1
2020-10-06Merge staging-next into stagingFrederik Rietdijk2-2/+4
2020-09-14Merge pull request #97000 from danieldk/stdenv-darwin-unset-sdkrootDaniël de Kok1-1/+1
stdenv: unset SDKROOT on Darwin
2020-09-12hooks: add moveSystemdUserUnitsHookRobert Helgesson1-1/+4
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 Bauer2-9/+4
stdenv/darwin: enable tapi support in cctools
2020-09-05Merge pull request #76794 from ↵Silvan Mosberger1-2/+6
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 Dudebout1-2/+6
2020-09-03stdenv: unset SDKROOT on DarwinDaniël de Kok1-1/+1
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 Mosberger1-0/+26
mkDerivation: Introduce .inputDerivation for shell.nix build convenience
2020-08-25stdenv/native: provide patchelf on linuxMatthew Bauer1-4/+5
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 Childs2-9/+4
2020-08-19Merge pull request #95129 from aaronjanse/aj-fix-llvm-for-redoxMatthew Bauer1-1/+2
mkDerivation: use `Generic` as system name for Redox in cmakeFlags
2020-08-16mkDerivation: Introduce .inputDerivation for shell.nix build convenienceSilvan Mosberger1-0/+26
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 Janse1-1/+2
2020-08-02gnu-config: 2019-04-15 -> 2020-05-04Emery Hemingway1-1/+2
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 Thalheim1-5/+6
2020-07-21redox: add as targetAaron Janse1-2/+2
2020-07-13Merge branch 'staging-next' (PR #91090)Vladimír Čunát1-4/+5
2020-07-11stdenv: correctly make `stdenv.system` refer to the host platformBen Wolsieffer1-2/+5
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 Ericson1-4/+5
2020-09-30Merge pull request #86223 from pikajude/darwin-static-evalSilvan Mosberger2-2/+4
pkgsStatic: use clang for C compiler on Darwin
2020-06-11stdenv/check-meta: alignment/widthzowoq1-7/+7
2020-06-10Merge branch 'staging-next'Vladimír Čunát3-18/+9
2020-06-10docs: increase awareness of NIXPKGS_ALLOW_INSECURE=1Geoffrey Huntley1-2/+7
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 Thalheim1-5/+6
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 Ericson1-8/+2
mesa wayland: Fix/simplify cross
2020-05-27mkDerivation: Don't need to specify pkg-config for meson any moreJohn Ericson1-8/+2
Env var will work fine.
2020-05-15Merge pull request #87583 from Gaelan/single-llvmMatthew Bauer1-6/+5
stdenv-darwin: now with 50% less LLVM!
2020-05-13Merge pull request #83180 from matthewbauer/only-add-ldflags-for-macosMatthew Bauer1-2/+0
bintools: only add macos flags when targeting macOS
2020-05-12*-wrapper; Switch from `infixSalt` to `suffixSalt`John Ericson1-2/+2
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 Steele1-6/+5
2020-04-28mkDerivation mesonFlags: Fix arm cpu familiesJohn Ericson1-2/+2
In my haste to unbreak eval, I screwed up and got the bit-widths, backwards.
2020-04-28mkDerivation mesonFlags: Fix cross file logic to handle more casesJohn Ericson1-9/+7
Otherwise eval breaks
2020-04-28pkgsStatic: fix eval on DarwinJude Taylor2-2/+4
2020-04-28meson: Make target-agnosticJohn Ericson1-0/+29
The cross file is added in the `mkDerivation`. It isn't nice putting build tool-specific stuff here, but our current architecture gives us little alternative.
2020-04-13Merge branch 'staging-next' into stagingJan Tojnar6-11/+11
2020-04-12setup.sh: add dontPatchworldofpeace1-0/+1
Fixes #85038
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly6-11/+11
2020-04-09generic/setup.sh: allow clobbering env-vars fileMatthew Bauer1-1/+1
If the option ‘noclobber’ is set in Bash, we get an error when we clobber an already existing env-vars. This is an okay error to ignore, so just >| instead. Note that >| is NOT a Bashism[[1]]. Fixes #79651 [1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_07_02
2020-03-31stdenv/linux: remove powerpc64le bootstrap toolsMatthew Bauer1-2/+0
These files never existed, so best to not leave the reference. If someone want to step up to maintain this, that would be fine. I don’t have the hardware to test these out. In addition, someone tried to use the bootstrap-tools currently built by Hydra and found that they were broken in some unclear way.
2020-03-23bintools: only add macos flags when targeting macOSMatthew Bauer1-2/+0
We can’t set this for cross-compiling since we use the GNU linker. Instead, set these flags only when targetPlatform is macOS. Fixes #80754 Fixes #83141
2020-03-16armv{5tel,6l,7l}: bootstrap-files: quote URLs for rfc-45Graham Christensen3-6/+6
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>