summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Merge pull request #168932 from hercules-ci/init-postgresqlTestHookRobert Hensing2022-04-18
|\ | | | | `postgresqlTestHook`: init
| * postgresqlTestHook: initRobert Hensing2022-04-16
| |
* | Merge pull request #166135 from illustris/hadoopSandro2022-04-18
|\ \ | | | | | | hbase: 0.98.24 -> 2.4.11, spark & hadoop: improve interoperability
| * | mirrors: add recommended apache mirrorillustris2022-04-18
| | |
* | | Merge pull request #168703 from Artturin/testversion1Artturi2022-04-17
|\ \ \ | |/ / |/| |
| * | testVersion: when there is a error show the whole errorArtturin2022-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before $ nix build ".#whipper.tests.version" whipper> File "/nix/store/2iiyy58pmm1ys6dy8ycbmmmfm67iakv1-whipper-0.10.0/bin/.whipper-wrapped", line 6, in <module> whipper> File "/nix/store/2iiyy58pmm1ys6dy8ycbmmmfm67iakv1-whipper-0.10.0/lib/python3.9/site-packages/whipper/__init__.py", line 5, in <module> note: keeping build directory '/tmp/nix-build-whipper-0.10.0-test-version.drv-7' after $ nix build ".#whipper.tests.version" whipper> Traceback (most recent call last): whipper> File "/nix/store/2iiyy58pmm1ys6dy8ycbmmmfm67iakv1-whipper-0.10.0/bin/.whipper-wrapped", line 6, in <module> whipper> from whipper.command.main import main whipper> File "/nix/store/2iiyy58pmm1ys6dy8ycbmmmfm67iakv1-whipper-0.10.0/lib/python3.9/site-packages/whipper/__init__.py", line 5, in <module> whipper> from pkg_resources import (get_distribution, whipper> ModuleNotFoundError: No module named 'pkg_resources' note: keeping build directory '/tmp/nix-build-whipper-0.10.0-test-version.drv-34' error: builder for '/nix/store/5lxjicdhwgmjcz9ddlxgq3s3gyaa6lz4-whipper-0.10.0-test-version.drv' failed with exit code 1;
* | | Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2022-04-17
|\ \ \
| * | | emacsWrapper: preload autoloadsDaniel Nagy2022-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits changes the Emacs wrapper, in order to preload all autoload definitions when built with additional packages. The list of all definitions is generated at build-time. Packages do not need to be (require)d for them to work. Before this change, a code like ```sh nix-shell -I "nixpkgs=$PWD" -p "emacs.pkgs.withPackages(e:[e.magit])" \ --run "emacs -Q -nw -f magit" ``` will fail with the message `Symbol’s function definition is void: magit` After the change, the same code above will open Emacs with magit enabled. A slightly longer startup time of ~10ms was detected in local, informal experiments. More information on autoloading: https://www.gnu.org/software/emacs/manual/html_node/eintr/Autoload.html
* | | | Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2022-04-16
|\| | |
| * | | Merge pull request #168814 from helsinki-systems/feat/systemd-stage-1-pass-varsJanne Heß2022-04-16
| |\ \ \ | | | | | | | | | | nixos/systemd-stage-1: Pass more vars to the builder
| | * | | nixos/stage-1-init: Pass all parameters to the builderJanne Heß2022-04-16
| | |/ / | | | | | | | | | | | | | | | | This is for compatiblity with the old builder to get compat with uboot support and to prepend microcode updates to the initrd
* | | | Merge master into staging-nextgithub-actions[bot]2022-04-16
|\| | |
| * | | buildRustCrate: don't try to set CARGO_FEATURE_ variables for dep: featuresFaye Duxovni2022-04-16
| | | | | | | | | | | | | | | | | | | | | | | | These features are internal-only, have special characters that bash doesn't support in variable names, and aren't normally given environment variables by cargo as far as I can tell.
| * | | Merge pull request #168816 from thiagokokada/graalvm-cleanupThiago Kenji Okada2022-04-16
| |\ \ \ | | |_|/ | |/| | graalvmXX-ee: remove; graalvmXX-ce: remove Ruby/Python/WASM support
| | * | buildGraalvmNativeImage: mark as broken if Native Image is not availableThiago Kenji Okada2022-04-15
| | |/
* | | Merge remote-tracking branch 'origin/master' into staging-nextMartin Weinelt2022-04-16
|\| |
| * | autoPatchelfHook: fix precise dependency ignoranceLin Yinfeng2022-04-15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes precise dependency ignorance by converting the environment variable `autoPatchelfIgnoreMissingDeps` into a bash array `ignoreMissingDepsArray`, passing `"${ignoreMissingDepsArray[@]}"` instead of `"${autoPatchelfIgnoreMissingDeps[@]}"` to the python script. The original implementation does not work when `autoPatchelfIgnoreMissingDeps` contains multiple dependency names. Because it mistakenly passes `"${autoPatchelfIgnoreMissingDeps[@]}"` to the python script. According to the Nix manual (https://nixos.org/manual/nix/stable/expressions/derivations.html), lists of strings are concatenated into whitespace-separated strings, then passed to the builder as environment variables. So, if `autoPatchelfIgnoreMissingDeps = [ "dep1" "dep2" "dep3" ]`, `"${autoPatchelfIgnoreMissingDeps[@]}"` will be expanded to a single argument `"dep1 dep2 dep3"`, which is not the intended behavior, because the python script takes the long argument as a dependency name. With this commit, `"${ignoreMissingDepsArray[@]}"` will be expanded to three arguments `"dep1" "dep2" "dep3"` arguments as expected, fixing the issue.
* | Merge branch 'staging-next' into stagingVladimír Čunát2022-04-14
|\| | | | | | | | | | | Minor conflicts; I hope I didn't mess up: pkgs/development/tools/misc/binutils/default.nix pkgs/games/openjk/default.nix
| * Merge pull request #167397 from samuela/samuela/autopatchelfSamuel Ainsworth2022-04-12
| |\ | | | | | | autoPatchelfHook: more precise dependency ignorance
| | * autoPatchelfHook: more precise dependency ignoranceSamuel Ainsworth2022-04-11
| | |
| * | Merge pull request #164825 from ilya-fedin/fhs-less-copyArtturi2022-04-11
| |\ \
| | * | build-fhs-userenv-bubblewrap: symlink share directory when there's no need ↵Ilya Fedin2022-03-19
| | | | | | | | | | | | | | | | | | | | | | | | to merge There's no need to copy files if the directory won't be merged with multilib one leading to unnecessary increase of closure size
* | | | Merge remote-tracking branch 'origin/staging-next' into stagingzowoq2022-04-07
|\| | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/compilers/go/2-dev.nix
| * | | copyDesktopItems: Use variable for repeated pathtoonn2022-04-07
| | | | | | | | | | | | | | | | Co-authored-by: K900 <me@0upti.me>
| * | | copyDesktopItems: Use bin outputtoonn2022-04-07
| | |/ | |/| | | | | | | | | | | | | Desktop files are only useful when accompanied by the binaries they specify. So it makes more sense to put them next to the binaries rather than `$out` which only usually contains the binaries.
* | | Merge staging-next into staginggithub-actions[bot]2022-04-06
|\| |
| * | Merge #165406: staging-next 2022-03-23Vladimír Čunát2022-04-05
| |\ \
| * \ \ Merge pull request #166383 from hercules-ci/always-sanitize-derivation-nameRobert Hensing2022-04-05
| |\ \ \ | | | | | | | | | | Always sanitize derivation name
| | * | | testEqualDerivation: Rely on mkDerivation to sanitize nameRobert Hensing2022-03-30
| | | | |
| | * | | runCommand*: Rely on mkDerivation to sanitize nameRobert Hensing2022-03-30
| | | | |
* | | | | Merge staging-next into staginggithub-actions[bot]2022-04-05
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge master into staging-nextgithub-actions[bot]2022-04-05
| |\| | |
| | * | | dockerTools: misc fixeszowoq2022-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | - add nixosTests to `dockerTools.tests` - don't use `pkgs` or `lib.singleton`
| | * | | dockerTools: pkgs.system -> pkgs.stdenv.hostPlatform.systemzowoq2022-04-05
| | | | | | | | | | | | | | | | | | | | `pkgs.system` is an alias
* | | | | Merge remote-tracking branch 'origin/staging-next' into stagingMartin Weinelt2022-04-05
|\| | | |
| * | | | Merge master into staging-nextgithub-actions[bot]2022-04-05
| |\| | |
| | * | | Merge pull request #166792 from hercules-ci/pkgs-config-allowAliases-optionRobert Hensing2022-04-04
| | |\ \ \ | | | | | | | | | | | | config.allowAliases: Define as option
| | | * | | config.allowAliases: Define as optionRobert Hensing2022-04-01
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies usages and makes the default value consistent. In a few cases, the default value was interpreted to be `false`, but this is useless, because virtually nobody will explicitly set `allowAliases = true;`.
* | | | | Merge remote-tracking branch 'origin/staging-next' into stagingMartin Weinelt2022-04-04
|\| | | |
| * | | | Merge master into staging-nextgithub-actions[bot]2022-04-03
| |\| | |
| | * | | Merge pull request #164943 from ↵Janne Heß2022-04-03
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ElvishJerricco/systemd-initrd-reuse-systemd-module initrd: Opt-in bare bones systemd-based initrd
| | | * | | fakeNss: move to toplevelFlorian Klink2022-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make this reachable from pkgs.fakeNss. This is useful outside docker contexts, too. https://github.com/NixOS/nixpkgs/pull/164943#discussion_r833220769
| | | * | | make-initrd-ng: initWill Fancher2022-03-22
| | | | | |
* | | | | | Merge remote-tracking branch 'nixpkgs/staging-next' into stagingAlyssa Ross2022-04-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/libraries/zlib/default.nix pkgs/development/lua-modules/overrides.nix
| * | | | | Merge master into staging-nextgithub-actions[bot]2022-04-01
| |\| | | |
| | * | | | buildGraalvmNativeImage: allow usage of arbitrary graalvm derivationThiago Kenji Okada2022-03-31
| | | |/ / | | |/| | | | | | | | | | | | | | | | | This will allow for easier overrides for specific systems (e.g. `aarch64-linux` that is only supported in `graalvm17-ce`).
* | | | | Merge branch 'staging-next' into stagingJan Tojnar2022-03-28
|\| | | | | | | | | | | | | | | | | | | | | | | | ; Conflicts: ; pkgs/tools/archivers/rar/default.nix
| * | | | Merge branch 'master' into staging-nextJan Tojnar2022-03-28
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | ; Conflicts: ; pkgs/development/python-modules/dnspython/default.nix ; pkgs/development/python-modules/googleapis-common-protos/default.nix
| | * | | ocamlPackages.buildDunePackage: add support for dune 3Vincent Laporte2022-03-28
| | | | |
* | | | | Merge pull request #163924 from OPNA2608/fix/autoPatchelfHook_isLinuxBen Siraphob2022-03-26
|\ \ \ \ \