about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* clang, cc-wrapper: Move `--gcc-toolchain` logic into CC wrapperJohn Ericson2021-01-24
| | | | | | Take 2, after #94582 had to be reverted. This reverts commit ac03cfa3c57027e82073ea7db71248d4ab78af66.
* treewide: fix double quoted strings in meta.descriptionvolth2021-01-24
| | | | Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
* treewide: stdenv.lib -> libPavol Rusnak2021-01-24
|
* lib: Clean up how linux and gcc config is specifiedJohn Ericson2021-01-23
| | | | | | | Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that commit for details. This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.
* Revert "lib: Clean up how linux and gcc config is specified"Jonathan Ringer2021-01-22
| | | | | | | This is a stdenv-rebuild, and should not be merged into master This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65.
* lib: Clean up how linux and gcc config is specifiedJohn Ericson2021-01-21
| | | | | | | | | | | | | | | | The `platform` field is pointless nesting: it's just stuff that happens to be defined together, and that should be an implementation detail. This instead makes `linux-kernel` and `gcc` top level fields in platform configs. They join `rustc` there [all are optional], which was put there and not in `platform` in anticipation of a change like this. `linux-kernel.arch` in particular also becomes `linuxArch`, to match the other `*Arch`es. The next step after is this to combine the *specific* machines from `lib.systems.platforms` with `lib.systems.examples`, keeping just the "multiplatform" ones for defaulting.
* Move disabling of gccForLibs for iOS to build-support cc-wrapperSteven Pease2021-01-20
|
* treewide: editorconfig fixeszowoq2021-01-20
| | | | | - remove trailing whitespace - use spaces for indentation
* Merge pull request #108741 from lukegb/envoyadisbladis2021-01-19
|\ | | | | envoy: init at 1.16.2
| * buildBazelPackage: only rewrite relevant symlinksLuke Granger-Brown2021-01-13
| |
* | treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nixJonathan Ringer2021-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
* | Merge branch 'master' into staging-nextJan Tojnar2021-01-15
|\ \
| * | dockerTools: typoRobert Hensing2021-01-15
| | | | | | | | | | | | Italian.
* | | Merge master into staging-nextgithub-actions[bot]2021-01-15
|\| |
| * | dockerTools: fix build (#109420)Milan2021-01-15
| |/
* | Merge branch 'master' into staging-nextJan Tojnar2021-01-14
|\|
| * treewide: emacsPackages -> emacs.pkgs & emacsWithPackages -> ↵adisbladis2021-01-13
| | | | | | | | | | | | emacs.pkgs.withPackages The previous names are now aliases and shouldn't be used anywhere inside nixpkgs.
* | Merge master into staging-nextgithub-actions[bot]2021-01-12
|\|
| * Merge pull request #109050 from xaverdh/rust-writerLassulus2021-01-12
| |\ | | | | | | writers: add writeRust and deduplicate binary stripping
| | * writers: add test for rustDominik Xaver Hörl2021-01-12
| | |
| | * writers: add rustDominik Xaver Hörl2021-01-12
| | |
| | * writers: deduplicate binary stripping logicDominik Xaver Hörl2021-01-11
| | |
| * | Merge pull request #109030 from xaverdh/modules-closure-ignore-missing-firmwareJörg Thalheim2021-01-12
| |\ \ | | | | | | | | nixos/modules-closure.sh: don't fail if firmware is missing
| | * | nixos/modules-closure.sh: don't fail if firmware is missingDominik Xaver Hörl2021-01-11
| | |/ | | | | | | | | | | | | | | | | | | | | | Since fdf32154fc90698ef72ffa96ef39d920e1b9c951, we no longer allow missing modules in the initrd. Unfortunately since before this commit, the modules-closure script would also fail on missing firmware, which is a very common case (e.g. xhci-pci.ko.xz lists renesas_usb_fw.mem as dependent firmware). Fix this by only issuing a warning instead.
* | | Merge master into staging-nextgithub-actions[bot]2021-01-11
|\| |
| * | fetchgit: add lfs supportJonathan Ringer2021-01-11
| |/
* | Merge branch 'master' into staging-nextJan Tojnar2021-01-11
|\|
| * treewide: with stdenv.lib; in meta -> with lib;Profpatsch2021-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
* | Merge staging-next into stagingFrederik Rietdijk2021-01-10
|\|
| * Merge master into staging-nextFrederik Rietdijk2021-01-10
| |\
| | * Merge pull request #107958 from ztzg/x-16304-ubuntu-determinismJörg Thalheim2021-01-10
| | |\ | | | | | | | | vmTools.debClosureGenerator: Fix non-determinism in dependency graph
| | | * vmTools.debClosureGenerator: Fix non-determinism in dependency graphDamien Diederen2020-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, Perl versions since 5.8.1 use randomization to make hashes resistant to complexity attacks. That randomization makes building VM images such as ubuntu1804x86_64 non-deterministic because the (imported) derivations built by deb/deb-closure.pl are not stable. This can easily be observed by repeating the following sequence of commands and noting the path of the image's .drv: nix-instantiate -E '(import <nixpkgs> {}).vmTools.diskImageFuns.ubuntu1804x86_64 {}' nix-store --delete /nix/store/*ubuntu-18.04-bionic-amd64.nix One source of non-determinism is the handling of Provides/Replaces, which depends on the order of iteration over %packages. Here is a diff showing the corresponding change in output: >>> awk -virtual awk: using original-awk - original-awk: libc6 (>= 2.14) +virtual awk: using mawk + mawk: libc6 (>= 2.14) - mawk: libc6 (>= 2.14) ->>> libc6 This patch sorts packages by name for Provides/Replaces processing, which seems to result in stable output. (If the above turns out not to be sufficient, one could also set the PERL_HASH_SEED and PERL_PERTURB_KEYS environment variables, documented in 'perlrun', to disable Perl's built-in randomization. Complexity attacks are not an issue as we control and trust all inputs.)
* | | | Merge staging-next into stagingFrederik Rietdijk2021-01-09
|\| | |
| * | | Merge branch 'master' into staging-nextMichael Weiss2021-01-09
| |\| | | | | | | | | | | | | | | | | | Manually resolved a conflict in pkgs/development/libraries/libbladeRF/default.nix.
| | * | coqPackages: refactorCyril Cohen2021-01-09
| | | |
| | * | defaultCrateOverrides: override crates necessary for building sequoiaJustin Humm2021-01-08
| | | | | | | | | | | | | | | | | | | | See https://git.sr.ht/~erictapen/sequoia for a flake using these overrides.
| | * | defaultCrateOverrides: pkgconfig -> pkg-configJustin Humm2021-01-08
| | | |
* | | | Merge staging-next into staginggithub-actions[bot]2021-01-08
|\| | |
| * | | Merge master into staging-nextgithub-actions[bot]2021-01-08
| |\| |
| | * | Merge pull request #108581 from roberth/dockerTools-don't-apologizeDaniël de Kok2021-01-08
| | |\ \ | | | | | | | | | | dockerTools: Don't apologize
| | | * | dockerTools: Don't apologizeRobert Hensing2021-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning about future breaking changes is wrong. - It suggests that the maintainers don't value backwards compatibility. They do. - It implies that other parts of Nixpkgs won't ever break. They will. - It implies that a well-defined "public" interface exists. It doesn't. - If the reasons above didn't apply, it should have been in the manual instead. Breaking changes will come, especially to the interface. That can be the only way we can make progress without breaking the image _contents_. I don't think dockerTools is any different from most of Nixpkgs in these regards.
* | | | | Merge staging-next into staginggithub-actions[bot]2021-01-08
|\| | | |
| * | | | Merge master into staging-nextgithub-actions[bot]2021-01-08
| |\| | |
| | * | | emacs: fix accidental double wrapper (Darwin)Alyssa Ross2021-01-08
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | This was already fixed on non-Darwin, but the fix missed that it was also reintroduced for the Darwin code path at the same time. Fixes: dd5d2482c9d ("emacs: Fix accidental double wrapping")
* | | | Merge branch 'staging-next' into stagingJan Tojnar2021-01-07
|\| | |
| * | | Merge branch 'master' into staging-nextJan Tojnar2021-01-07
| |\| | | | | | | | | | | | | | https://github.com/NixOS/nixpkgs/commit/b04fc593e7b55fe1f74421b11589f12a339c92e2 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
| | * | Merge pull request #108416 from srhb/streamlayeredimage-symlinked-storepathsRobert Hensing2021-01-05
| | |\ \ | | | | | | | | | | dockerTools: Fix streamLayeredImage for symlinks
| | | * | dockerTools: Test buildLayeredImage with symlinksSarah Brofeldt2021-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | This exercises layer creation in face of store path symlinks, ensuring they are not dereferenced, which can lead to broken layer tarballs
| | | * | dockerTools: Fix streamLayeredImage for symlinksSarah Brofeldt2021-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | When archiving `/nix/store/foo` and `foo` is itself a symlink, we must not traverse the symlink target, but archive the `foo` symlink itself
* | | | | Merge pull request #108081 from ↵Sandro2021-01-07
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | SuperSandro2000/silence-file-format-not-recognized setup-hooks/strip: silence 'File format not recognized' errors again