about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* emacs: improve setup hookRobert Helgesson2020-03-14
| | | | | | | | | | | | | - Add packages installed in a sub-directory of site-lisp, such as mu4e, to EMACSLOADPATH. - Add ELPA packages to EMACSLOADPATH. - Add each package only once to EMACSLOADPATH. Before, each package would typically be added twice for each transitive dependency leading to a huge variable for a package having many dependencies. Fixed #78680
* Merge branch 'master' into staging-nextVladimír Čunát2020-03-10
|\ | | | | | | Hydra nixpkgs: ?compare=1574844
| * Merge pull request #82130 from Ericson2314/fetchsvn-crossJohn Ericson2020-03-10
| |\ | | | | | | fetchsvn: Fix for cross
| | * fetchsvn: Fix for crossJohn Ericson2020-03-09
| | | | | | | | | | | | Just use `nativeBuildInputs` at build time.
| * | Merge pull request #82155 from kolloch/buildRustCrate_findMatchingDirAndreas Rammhold2020-03-10
| |\ \ | | | | | | | | buildRustCrate: Search for matching Cargo.toml in sub directories
| | * | build-support/rust/buildRustCrate: Search for matching Cargo.toml in sub ↵Peter Kolloch2020-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directories This is what cargo does for git repositories. See related issues: * https://github.com/kolloch/crate2nix/issues/53 * https://github.com/kolloch/crate2nix/issues/33
| | * | buildRustCrate: refactor colored loggingPeter Kolloch2020-03-09
| | | | | | | | | | | | | | | | | | | | | | | | * Make errors include the crate name and make them much more prominent. * Move more code into lib.sh * Already source generated logging code and lib.sh in configure
| * | | Merge pull request #81974 from bhipple/feature/rust-docMario Rodas2020-03-10
| |\ \ \ | | |/ / | |/| | buildRustPackage: update docstring comment
| | * | buildRustPackage: update docstring commentBenjamin Hipple2020-03-07
| | | | | | | | | | | | | | | | | | | | | | | | The inlined readme that we were iterating on has been moved to GitHub issue #79975, and the default is now the new cargo fetcher, so this doc comment is out of date.
| * | | Merge pull request #81833 from bignaux/appimage-runJörg Thalheim2020-03-09
| |\ \ \ | | | | | | | | | | appimage-run: unify appimageTools and appimage-run
| | * | | appimage-exec.sh: simplify and improve getopts optionsBignaux Ronan2020-03-08
| | | | |
| | * | | appimageTools: wrapType1 = wrapType2;Bignaux Ronan2020-03-08
| | | | |
| | * | | appimageTools: fix appimage-exec.sh passing argumentsBignaux Ronan2020-03-08
| | | | |
| | * | | appimageTools: fix appimage-exec.sh according to shellcheckBignaux Ronan2020-03-08
| | | | |
| | * | | appimage: replace writeScript to a standalone appimage-exec.shBignaux Ronan2020-03-07
| | | | |
| * | | | Merge pull request #80921 from hercules-ci/buildLayeredImage-allow-empty-storeDomen Kožar2020-03-08
| |\ \ \ \ | | | | | | | | | | | | buildLayeredImage: Allow empty store, no paths to add
| | * | | | buildLayeredImage: Allow empty store, no paths to addRobert Hensing2020-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful when buildLayeredImage is called in a generic way that should allow simple (base) images to be built, which may not reference any store paths.
* | | | | | stdenv cc-wrapper: deal with edge-case regressionsVladimír Čunát2020-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced in PR #81191 80729b6787d. The file does not exist somewhere during bootstrap of pkgsStatic.busybox which is used in nix (by default). I tested the builds.
* | | | | | Merge pull request #81191 from clkamp/stdenv-multi-line-libc-cflagsJohn Ericson2020-03-07
|\ \ \ \ \ \ | |/ / / / / |/| | | | | stdenv: Fix gcc multi line libc-cflags
| * | | | | stdenv: Fix gcc multi line libc-cflagsChristian Lütke-Stetzkamp2020-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which broke at least libstdc++5. Closes #79761
* | | | | | Merge staging-next into stagingFrederik Rietdijk2020-03-06
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Merge pull request #81564 from NixOS/fetchpatch-base64Jan Tojnar2020-03-04
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | fetchpatch: Allow using base64-encoded hash
| | * | | | fetchpatch: Allow using base64-encoded hashJan Tojnar2020-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nix now returns base64-encoded SRI hashes on hash mismatch. Usually, people copy the returned hashes in TOFU fashion but since base64-encoded strings can contain slashes, they often broke our use of them for temporary file name. Escaping them should prevent the failures.
* | | | | | Merge pull request #81844 from lopsided98/gcc-separate-output-crossMatthew Bauer2020-03-05
|\ \ \ \ \ \ | | | | | | | | | | | | | | gcc: place cross-compiled target libraries in lib output
| * | | | | | gcc: move target-specific runtime libraries to separate outputBen Wolsieffer2020-03-04
| |/ / / / /
* | | | | | Merge branch 'staging-next' into stagingJan Tojnar2020-03-04
|\| | | | |
| * | | | | Merge pull request #81572 from bignaux/appimageJan Tojnar2020-03-04
| |\ \ \ \ \ | | | | | | | | | | | | | | appimage: refactoring extractType2 to avoid use of appimage packer
| | * | | | | appimage: fix suspicious ownershipBignaux Ronan2020-03-04
| | | | | | |
| | * | | | | appimage: split checks between appimageSignature and appimageTypeBignaux Ronan2020-03-04
| | | | | | |
| | * | | | | appimage: unify extract functionsBignaux Ronan2020-03-04
| | | | | | |
| | * | | | | appimage: refactoring extractType2 to avoid use of appimage packerBignaux Ronan2020-03-03
| | | |_|/ / | | |/| | |
| * | | | | buildBazelPackage: prime fixed output derivationsAndreas Rammhold2020-03-03
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All bazel fixed output derivations should be specific to the bazel version that was used to generate them. There is not guarantee that the build will still succeed or reproduces (without the cached fixed output) if the fetch phase wasn't rerun with a different bazel version. In the past bazel had been bumped but not all those packages that have fixed outputs from bazel builds. This lead to compiling and somewhat working TF versions that couldn't be reproduced without the cached fixed outputs.
| * | | | tensorflow: 1.15.0 -> 1.15.1Michael Lingelbach2020-03-02
| |/ / / | | | | | | | | | | | | | | | | | | | | * Apply glibc 2.3 patch * build tensorflow with bazel_1 * Bump openssl version to 1.1
* | | | wrapGAppsHook: Fix #78803worldofpeace2020-03-03
| | | | | | | | | | | | | | | | Add to gappsWrapperArgs in preFixupPhases.
* | | | Merge staging-next into stagingFrederik Rietdijk2020-02-29
|\| | |
| * | | enable-coverage-instrumentation.sh: Fix unbound variable errorEelco Dolstra2020-02-28
| |/ / | | | | | | | | | https://hydra.nixos.org/build/113299582
* / / rustPlatform.fetchCargo: handle custom Cargo.lock patchfiles with validationBenjamin Hipple2020-02-28
|/ / | | | | | | | | | | | | | | | | | | Previously, we would asssert that the lockfiles are consistent during the unpackPhase, but if the pkg has a patch for the lockfile itself then we must wait until the patchPhase is complete to check. This also removes an implicity dependency on the src attribute coming from `fetchzip` / `fetchFromGitHub`, which happens to name the source directory "source". Now we glob for it, so different fetchers will work consistently.
* | srcOnly: remove the ellipsis (#80903)zimbatm2020-02-24
| | | | | | The function doesn't make use of the extra arguments.
* | Merge pull request #80680 from samueldr/fix/71157Samuel Dionne-Riel2020-02-23
|\ \ | | | | | | runInLinuxVM: Ensure tools requiring /etc/passwd work
| * | runInLinuxVM: Ensure tools requiring /etc/passwd workSamuel Dionne-Riel2020-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes, but is not limited to: * whoami * nix >= 2.3.1 See * https://github.com/NixOS/nixpkgs/issues/71157 * https://github.com/NixOS/nixops/issues/1216 * https://github.com/nix-community/nixops-libvirtd/issues/5
* | | Merge pull request #80091 from NixOS/npregit-dumpallJan Tojnar2020-02-19
|\ \ \ | |/ / |/| | nix-prefetch-git: report deepClone & leaveDotGit
| * | nix-prefetch-git: Fix output manglingJan Tojnar2020-02-14
| | | | | | | | | | | | | | | | | | | | | | | | `git repack` and `git gc` sometimes print “Nothing new to pack.” to stdout, which breaks redirecting output to JSON file. Let’s move the stdout of all git calls where it is not used to stderr so that we still receive the info but it does not pollute our output.
| * | nix-prefetch-git: report deepClone & leaveDotGitJan Tojnar2020-02-14
| |/ | | | | | | | | Just like in https://github.com/NixOS/nixpkgs/commit/be30ba8e0eabbc2483122ddf9d5911484df3a578 we want `fetchgit (builtins.fromJSON (builtins.readFile ./src.json))` to work.
* | pkgs/build-support/writers: use `runCommandLocal` for scriptsProfpatsch2020-02-18
| | | | | | | | | | | | If we just want to write a non-compiled script (e.g. writeDash), it’s usually a lot faster just doing it locally. That’s what `runCommandLocal` was introduced for, so let’s use it in `writers`.
* | symlinkJoin: add more documentation(cdep)illabout2020-02-18
| |
* | linkFarmFromDrvs: Add a trivial builder to create a linkFarm from a list of ↵(cdep)illabout2020-02-18
| | | | | | | | derivations
* | Merge pull request #79816 from andir/buildRustCrate-no-override-depAndreas Rammhold2020-02-18
|\ \ | | | | | | buildRustCrate: remove superfluous dependency overrides
| * | buildRustCrate: remove superfluous dependency overridesAndreas Rammhold2020-02-11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By overriding each dependency on every level of the dependency tree we are creating a lot of unnecessary instances of the same derivation Looking at the output size of `nix-instantiate --trace-function-calls -vvvv …` and the execution time I got about a 10x improvement after applying this change. It was probably good intentions that lead to these overrides but in practice no tooling (that I know of) really needs this. `carnix` and `crate2nix` are fine without those overrides. Furthermore I believe that it is the job of the tooling around `buildRustCrate` to provide a coherent set of overrides. By not enforcing all of the overrides, debug flags, verbosity, … to be the same throughout the closure we also allow consumers to override specific aspects of the crates. Some (older?) crates might need different `crateOverrides` then newer crates with the same name. Currently such situations can not (easily) be implemented with the override in-place.
* | symlinkJoin: fix "bash: Argument list too long" errorBas van Dijk2020-02-17
| | | | | | | | | | | | | | | | | | | | | | When the `paths` argument is too big `symlinkJoin` will fail with: ``` while setting up the build environment: executing '/nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/bash': Argument list too long ``` This is fixed by passing `paths` as a file instead of as an environment variable.
* | rust: Fix for legacy fetch cargoBenjamin Hipple2020-02-15
| | | | | | | | See inline comment and #79975 for details.