about summary refs log tree commit diff
path: root/pkgs/stdenv
AgeCommit message (Collapse)AuthorFilesLines
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-08-31Merge pull request #95536 from Infinisil/inputDerivationSilvan Mosberger1-0/+26
mkDerivation: Introduce .inputDerivation for shell.nix build convenience
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-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-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>
2020-03-16armv{5tel,6l,7l}: update bootstrap tools after #80497Graham Christensen3-15/+33
2020-03-08Merge staging-next into masterFrederik Rietdijk4-17/+12
2020-03-06unpack-bootstrap-tools: remove obsolete linker script patchingBen Wolsieffer1-5/+0
The linker scripts no longer contain store paths, so this does nothing. More importantly, libpthread.so is not longer a linker script on ARM, so the patching would corrupt it.
2020-03-06stdenv: update ARM bootstrap tarballsBen Wolsieffer3-12/+12
Fixes building glibc 2.30, which requires at least GCC 6. Picked from the following cross-trunk evaluation: https://hydra.nixos.org/eval/1568864 based on nixpkgs commit ac241fb7a57. armv5tel job: https://hydra.nixos.org/build/111556418 armv6l job: https://hydra.nixos.org/build/111556521 armv7l job: https://hydra.nixos.org/build/111556551
2020-02-18make-bootstrap-tools: add libssp to allow stack protector to workBen Wolsieffer1-0/+2
2020-02-10make-bootstrap-tools: fixup after glibc updateVladimír Čunát1-0/+1
There's a generated header that got comment about the source header from glibc.dev, which added unwanted runtime dependency. Tested: nix build -f pkgs/top-level/release.nix stdenvBootstrapTools.{aarch64,i686,x86_64}-linux.test
2020-02-09Merge master into staging-nextFrederik Rietdijk1-3/+0
2020-02-05stdenv: Remove isArm (use isAarch32 instead)Chuck1-3/+0
isArm has been deprecated for three releases. All references have been removed. Tree-wide substitution was performed in #37401 21 months ago.
2020-02-05stdenv bootstrap tools: switch one file to official URLVladimír Čunát1-1/+1
2020-02-05Merge #66528: glibc: 2.27 -> 2.30 (into staging)Vladimír Čunát4-10/+32
Includes update of stdenv bootstap tools (for three main platforms) and many package fixes with new glibc.
2020-02-05stdenv bootstrap tools: regenerate "officialy"Vladimír Čunát3-12/+10
From Hydra's binaries for c5aabb0 (19.09). This time I re-tested full stdenv bootstrap on these three platforms. https://github.com/NixOS/nixpkgs/pull/66528#issuecomment-582351637
2020-02-02Merge staging-next into stagingFrederik Rietdijk1-1/+1
2020-02-01Merge branch 'staging' into glibc230Maximilian Bosch1-10/+16
2020-01-31cmake: move CMAKE_OSX_ARCHITECTURES out of the stdenvDaiderd Jordan1-1/+0
This was initially introduced in 92188d9d1751892ddbf8913da73dfc150d18fadb, not clear how relevant this still is but i686 isn't supported anymore so disable it explicitly.
2020-01-31stdenv: introduce appleSdkVersion and macosVersionMinDaiderd Jordan1-7/+9
2020-01-31stdenv: make darwin builds reproducableDaiderd Jordan1-5/+10
Fixes #21629 Passing these extra linker flags removes both the semi-random uuid included in most binaries as well as making the sdk version consistent instead of based on the current os version. Load command 8 cmd LC_UUID cmdsize 24 uuid 70FAF921-5DC8-371C-B814-4F121FADFDF4 Load command 9 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.12 sdk 10.13 The -macosx_version_min flag isn't strictly necessary since that's already handled by MACOSX_DEPLOYMENT_TARGET.
2020-01-30stdenv, darwin: fix setupHook locationLuka Blaskovic1-1/+1
2020-01-23Merge branch 'staging' into glibc230Maximilian Bosch2-23/+11