summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Merge pull request #96562 from obsidiansystems/bazel-add-dont-add-bazel-optsMatthew Bauer2020-09-02
|\ | | | | build-bazel-package: add dontAddBazelOpts arg
| * build-bazel-package: add dontAddBazelOpts argMatthew Bauer2020-08-28
| | | | | | | | | | | | | | | | This adds an option to skip adding --copt and --linkopt to Bazel flags. In some cases, Bazel doesn’t like these flags, like when a custom toolchain is being used (as opposed to the builtin one. The compiler can still get the dependencies since it is invoked through gcc wrapper and picks up the NIX_CFLAGS_COMPILE / NIX_LDFLAGS.
* | Merge pull request #61019 from volth/gcc.arch-amdJohn Ericson2020-09-01
|\ \ | | | | | | platform.gcc.arch: support for AMD CPUs
| * | gcc.arch: refactor, move tables under lib/volth2020-08-05
| | |
| * | platform.gcc.arch: support for AMD CPUsvolth2020-08-05
| | |
* | | Merge pull request #96008 from ↵Linus Heckemann2020-08-28
|\ \ \ | | | | | | | | | | | | | | | | baloo/baloo/bugfixes/make-modules-closure_firmware makeModulesClosure: fixup firmware extraction
| * | | makeModulesClosuse: read modules from corrent kernel versionArthur Gautier2020-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, the firmware information would be loaded from the currently running kernel, not from the kernel to be loaded. This commit ensures the correct kernel version and modules are read.
| * | | makeModulesClosure: fixup firmware extractionArthur Gautier2020-08-27
| | | | | | | | | | | | | | | | | | | | | | | | After a recent upgrade of modinfo, its output is now incorrect for builtin modules. This commit filters out the output until a fix is made available upstream
* | | | fetchCrate: accept pname besides crateNameDaniël de Kok2020-08-28
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This enables short argument attrsets similar to fetchPypi: src = fetchCrate { inherit pname version; sha256 = "02h8pikmk19ziqw9jgxxf7kjhnb3792vz9is446p1xfvlh4mzmyx"; };
* | | Merge branch 'staging-next' into stagingJan Tojnar2020-08-23
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' into staging-nextJan Tojnar2020-08-23
| |\ \
| | * \ Merge pull request #94442 from Atemu/buildFHSUserEnvBwJörg Thalheim2020-08-19
| | |\ \
| | | * | build-fhs-user-env-bubblewrap: consistent camelCaseJörg Thalheim2020-08-17
| | | | |
| | | * | fhs-userenv-bubblewrap: bind mount host's devfsMichael Eden2020-08-17
| | | | | | | | | | | | | | | | | | | | Allows us to talk to devices
| | | * | fhs-userenv-bubblewrap: bind mount parts of host etc directlyMichael Eden2020-08-17
| | | | |
| | | * | fhs-userenv-bubblewrap: change to using bubblewrap over chrootenvMichael Eden2020-08-17
| | | | |
| | | * | fhs-userenv-bubblewrap: start with build-fhs-userenvAtemu2020-08-17
| | | |/ | | | | | | | | | | | | | | | | Just here to track @illegalprime's actual changes to build-fhs-userenv in the next commits
* | | | Merge pull request #95622 from marsam/buildrustpackage-parallel-buildJörg Thalheim2020-08-19
|\ \ \ \ | |/ / / |/| | | buildRustPackage: add support for parallel build
| * | | buildRustPackage: add support for parallel buildMario Rodas2020-08-16
| | | |
* | | | Merge master into staging-nextFrederik Rietdijk2020-08-17
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | nixos/systemd.tmpfiles.packages: fix an edge caseVladimír Čunát2020-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | symlinkJoin can break (silently) when the passed paths contain symlinks to directories. This should work now. Down-side: when lib/tmpfiles.d doesn't exist for some passed package, the error message is a little less explicit, because we never get to the postBuild phase (and symlinkJoin doesn't provide a better way): /nix/store/HASH-NAME/lib/tmpfiles.d: No such file or directory Also, it seemed pointless to create symlinks for whole package trees and using only a part of the result (usually very small part).
* | | Merge staging-next into stagingFrederik Rietdijk2020-08-15
|\| |
| * | Merge pull request #68524 from nspin/pr/repo-manifest-nameJörg Thalheim2020-08-14
| |\ \ | | | | | | | | fetchRepoProject: add manifestName parameter
| | * | fetchRepoProject: add manifestName parameterNick Spinale2019-09-11
| | | |
| * | | Merge pull request #92081 from CrystalGamma/modules-closureLinus Heckemann2020-08-13
| |\ \ \ | | | | | | | | | | makeModulesClosure: handle builtin modules better
| | * | | makeModulesClosure: handle builtin modules betterCrystalGamma2020-07-16
| | | | | | | | | | | | | | | | | | | | The previous code discarded entire dependency trees if the first entry in the dependency list compiled by `modprobe --show-depends` is a builtin and otherwise handled its output in a rather hackish way.
* | | | | Merge pull request #92412 from matthewbauer/blas-crossFrederik Rietdijk2020-08-15
|\ \ \ \ \ | |/ / / / |/| | | | Blas/Lapack cross fixes
| * | | | blas: use $NM instead of nmMatthew Bauer2020-07-06
| | | | | | | | | | | | | | | | | | | | This is the right one on cross compilation.
| * | | | cc-wrapper: set FC when langFortran is onMatthew Bauer2020-07-06
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to set FC so that CMake and other tools can find the fortran compiler. Also we need to limit the hardening flags since fortify and format don’t work with fortran. Fixes #88449
* | | | Merge master into staging-nextFrederik Rietdijk2020-08-11
|\ \ \ \
| * | | | buildRustCrate: editorconfig fixeszowoq2020-08-09
| | |_|/ | |/| |
* | | | Merge pull request #91293 from Ericson2314/cxx-wrapper-debt-part-2John Ericson2020-08-02
|\ \ \ \ | |/ / / |/| | | treewide: Get rid of `cc.gcc`
| * | | treewide: Get rid of `cc.gcc`John Ericson2020-08-02
| | | | | | | | | | | | | | | | | | | | Instead, we have a new `gccForLibs`, which has the appropriate definition for e.g. avoiding `x86_32` linking problems.
* | | | Merge master into staging-nextFrederik Rietdijk2020-08-01
|\| | |
| * | | nixos/tests/dockerTools: add test for running non-root containers with ↵Johan Thomsen2020-07-31
| | | | | | | | | | | | | | | | | | | | | | | | buildLayeredImage Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
| * | | dockerTools: fix permissions on /nix/storeJohan Thomsen2020-07-30
| | | |
* | | | Merge branch 'master' into stagingVladimír Čunát2020-07-29
|\| | |
| * | | Merge branch 'staging-next'Vladimír Čunát2020-07-25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Rebuild on Hydra seems OK-ish. mongodb.nix needed some conflict resolution (scons versions); all four versions seem to build fine.
| * | | | writers.makeScriptWriter: fix on Darwin\MacOS (#93757)Adrian2020-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * writers.makeScriptWriter: fix on Darwin\MacOS On Darwin a script cannot be used as an interpreter in a shebang line, which causes scripts produced with makeScriptWriter (and its derivatives) to fail at run time if the used interpreter was wrapped with makeWrapper (as in the case of python3.withPackages). This commit fixes the problem by detecting if the interpreter is a script and prepending its shebang to the final interpreter line. For example if used interpreter is; ``` /nix/store/ynwv137n2650qy39swcflxbcygk5jwv1-python3-3.8.3-env/bin/python ``` which is a script with following shebang: ``` #! /nix/store/knd85yc7iwli8344ghav3zli8d9gril0-bash-4.4-p23/bin/bash -e ``` then the shebang line in the produced script will be ``` #! /nix/store/knd85yc7iwli8344ghav3zli8d9gril0-bash-4.4-p23/bin/bash -e /nix/store/ynwv137n2650qy39swcflxbcygk5jwv1-python3-3.8.3-env/bin/python ``` This works on Darwin since there does not seem to be a limit to the length of the shabang line and the shebang lines support multiple arguments to the interpreters (as opposed to linux where the kernel imposes a strict limit on shebang lengh and everything following the interpreter is passed to it as a single string). fixes; #93609 related to: #65351 #11133 (and probably a bunch of others) NOTE: scripts produced on platforms other than Darwin will remain unmodified by this PR. However it might worth considering extending this fix to BSD systems in general. I didn't do it since I have no way of testing it on systems other than MacOS and linux. * writers.makeScriptWriter: fix typo in comment * writers.makeScriptWriter: fail build if interpreter of interpreter is a script
| * | | | Merge pull request #93758 from adrian-gierakowski/improve-writers.writePythonLassulus2020-07-25
| |\ \ \ \ | | | | | | | | | | | | writers.writePython2 and writePython3: use "bare" python if no deps are needed
| | * | | | writers.writePython2 and writePython3: use "bare" python if no deps are neededAdrian Gierakowski2020-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `python.withPackages` has a runtime dependecy on bash since it's wrapped with `makeWrapper`. This fix avoids bash as runtime dependency when it's not needed. as discussed here: https://github.com/NixOS/nixpkgs/issues/93609#issuecomment-662880047
| * | | | | Merge pull request #93165 from jbedo/singularityJörg Thalheim2020-07-24
| |\ \ \ \ \ | | | | | | | | | | | | | | singularity: 3.2.1 -> 3.6.1
| | * | | | | singularity: 3.2.1 -> 3.6.1Justin Bedo2020-07-22
| | | | | | |
| * | | | | | emacs: Add native builds for nativeComp enabled emacsenadisbladis2020-07-24
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #91974 from Mic92/nostdincJohn Ericson2020-07-28
|\ \ \ \ \ \ | | | | | | | | | | | | | | stdenv: make -nostdinc work as intended
| * | | | | | stdenv: make -nostdinc work as intendedJörg Thalheim2020-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now we add glibc to search path also -nostdinc was provided, which breaks projects providing their own gcc.
* | | | | | | Merge pull request #85976 from jtojnar/wrap-gapps-hook-testsJan Tojnar2020-07-26
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | wrapGAppsHook: add commentsJan Tojnar2020-07-24
| | | | | | |
| * | | | | | wrapGAppsHook: add testsJan Tojnar2020-07-24
| | | | | | |
| * | | | | | wrapGAppsHook: move to a separate fileJan Tojnar2020-07-23
| | | | | | |