summaryrefslogtreecommitdiffstats
path: root/pkgs/build-support
AgeCommit message (Collapse)Author
2019-02-25buildRustCrate: adding the description fieldPierre-Étienne Meunier
2019-02-25build-support/skaware: factor out clean packaging utilsProfpatsch
They are useful for other packages as well.
2019-02-24Merge pull request #56314 from P-E-Meunier/carnix-0.9.8Ryan Mulligan
Carnix: 0.9.7 -> 0.9.8
2019-02-24Merge pull request #55972 from andir/rust-editionsAndreas Rammhold
buildRustCrate support editions
2019-02-24Carnix: 0.9.7 -> 0.9.8Pierre-Étienne Meunier
2019-02-24nix-prefetch-github: 2.0 -> 2.1Sebastian Jordan
2019-02-23Merge pull request #54693 from tilpner/appimage-toolsGraham Christensen
appimageTools: init
2019-02-23skawarePackages.execline: wrap execlineb with toolsProfpatsch
The execlineb program is the launcher (and lexer) of execline scripts. So it makes a lot of sense to have all the small tools in scope by default. We append to the end of PATH so that they can be easily overwritten by the user. Co-authored-by: Alyssa Ross <hi@alyssa.is>
2019-02-23appimageTools: inittilpner
The appimageTools attrset contains utilities to prevent the usage of appimage-run to package AppImages, like done/attempted in #49370 and #53156. This has the advantage of allowing for per-package environment changes, and extracts into the store instead of the users home directory. The package list was extracted into appimageTools to prevent duplication.
2019-02-22Merge pull request #56168 from seppeljordan/bumb-nix-prefetch-githubRyan Mulligan
nix-prefetch-github: 1.3 -> 2.0
2019-02-22Merge pull request #50504 from symphorien/local-closureInfoSilvan Mosberger
nixos: add preferLocalBuild=true; on derivations for config files and closureInfo
2019-02-22nixos: add preferLocalBuild=true; on derivations for config filesSymphorien Gibol
2019-02-21nix-prefetch-github: 1.3 -> 2.0Sebastian Jordan
2019-02-21dockerTools: mark store-path-to-layer.sh as executableAustin Seipp
bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 introduced a treewide change to use ${stdenv.shell} where-ever possible. However, this broke a script used by dockerTools, store-path-to-layer.sh, as it did not preserve the +x mode bit. This meant the file got put into the store as mode 0444, resulting in a build-time error later on that looked like: xargs: /nix/store/jixivxhh3c8sncp9xlkc4ls3y5f2mmxh-store-path-to-layer.sh: Permission denied However, in a twist of fate, bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 not only introduced this regression but, in this particular instance, didn't even fix the original bug: the store-path-to-layer.sh script *still* uses /bin/sh as its shebang line, rather than an absolute path to stdenv. (Fixing this can be done in a separate commit.) Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-19buildBazelPackage: autodetect nix toolchain instead of Xcode one on macOS ↵Uri Baghin
(#56033)
2019-02-18Merge pull request #55859 from nlewo/dockerTools-fix-55290Linus Heckemann
dockerTools.buildImage: preserve layers ordering at image repacking
2019-02-18nix-gitignore: init at v3.0.0 (#46112)Raitis Veinbahs
closes siers/nix-gitignore#6
2019-02-18buildRustCrate: support rust editionsAndreas Rammhold
In combination with carnix we can now build crates that require a specific edition of rust features. A few crates started requiring that already and having this in nixpkgs is just logical.
2019-02-18buildRustCrate: pass extraRustcOpts to configure crateAndreas Rammhold
Previously build flags would not be available during the configure phase while they might be required to build the `build.rs` file.
2019-02-17Merge branch 'master' into singularityJustin Bedő
2019-02-17Merge pull request #55035 from uri-canva/bazel-depsRyan Mulligan
bazel-deps: 2018-11-01 -> 2019-02-01
2019-02-16mirrorx.nix: add https and http mirrors for gccBen Hipple
HTTP is never worse and often better than FTP, since many users may be on networks that do not allow FTP traffic.
2019-02-16dockerTools.buildImage: preserve layers ordering at image repackingAntoine Eiche
This patch preserves the ordering of layers of a parent image when the new image is packed. It is currently not the case: layers are stacked in the reverse order. Fixes #55290
2019-02-13Merge pull request #55129 from oxij/tree/move-defaults-to-package-filesMichael Raskin
all-packages.nix: move defaults to package files
2019-02-11Document undocumented argument to makeWrapper()deliciouslytyped
2019-02-10Merge pull request #55003 from volth/patch-303Michael Raskin
linkFarm: hacky quoting -> escapeShellArg
2019-02-08linkFarm: allowSubstitutes = falsevolth
trivial builder
2019-02-06Merge branch 'master' into staging-nextVladimír Čunát
Hydra nixpkgs: ?compare=1503899
2019-02-05Merge pull request #54626 from FlorianFranzen/bionicEelco Dolstra
buid-support: Add Ubuntu bionic base images
2019-02-03fetchsvn: move defaults to package fileJan Malakhovski
2019-02-20Merge branch 'staging-next'Vladimír Čunát
This round is without the systemd CVE, as we don't have binaries for that yet. BTW, I just ignore darwin binaries these days, as I'd have to wait for weeks for them.
2019-02-19Fix alpha-embedded Target on Hydra (#55725)Vincent Weisner
2019-02-19Merge branch 'master' into staging-nextVladimír Čunát
Hydra nixpkgs: ?compare=1505754
2019-02-18Merge master into staging-nextFrederik Rietdijk
2019-02-17Merge branch 'master' into staging-nextVladimír Čunát
A mass darwin rebuild from master (#55784).
2019-02-16Merge master into staging-nextFrederik Rietdijk
2019-02-13Merge master into staging-nextFrederik Rietdijk
2019-02-09Merge remote-tracking branch 'origin/master' into stagingMatthew Bauer
2019-02-08Merge pull request #54578 from alyssais/gcj-darwinAlyssa Ross
gcj: fix build on Darwin
2019-02-03fetchsvnssh: move defaults to package fileJan Malakhovski
2019-02-01Merge pull request #54909 from ↵Jan Tojnar
tollb/fix/wrap-gapps-hook_unnecessary_symlink_wrap wrap-gapps-hook.sh: only wrap links when required
2019-02-01Merge branch 'staging-next' into stagingVladimír Čunát
2019-02-01Merge branch 'master' into staging-nextVladimír Čunát
Comments on conflicts: - llvm: d6f401e1 vs. 469ecc70 - docs for 6 and 7 say the default is to build all targets, so we should be fine - some pypi hashes: they were equivalent, just base16 vs. base32
2019-02-01bazel-deps: 2018-11-01 -> 2019-02-01Uri Baghin
2019-01-31wrap-gapps-hook.sh: only wrap links when requiredBruce Toll
Unless dontWrapGapps is set, the wrap-gapps-hook.sh will currently wrap all executables (and symbolic links to executables) found under the target directories: bin and libexec. As a result, if a symbolic link in a target directory points to an executable in a target directory, both will get wrapped. This causes an extra shell/exec when following the symbolic link, as well as increasing the size of the final executable's environment. To avoid wrapping a link to an already wrapped executable, this commit splits the determination of what gets wrapped into two phases: 1. All binaries under the target directories are wrapped and logged with "Wrapping program ..." 2. All links to executables under the target directories are identified and checked to see if they reference an executable under one of the target directories. If yes, the required wrapping has already been performed on the associated binary (in phase 1), so no wrapping is done and "Not wrapping link: ... (already wrapped)" is logged. If no, the link points at an executable that hasn't been wrapped, so the link is wrapped and "Wrapping link: ..." is logged. As an example, the yelp package has a bin directory that contains an executable "yelp" and a symbolic link "gnome-help" -> "yelp". Prior to this commit, the bin directory would contain these files after wrapping: gnome-help -- wrapper to exec .gnome-help-wrapped .gnome-help-wrapped -- a symbolic link to yelp yelp -- wrapper to exec .yelp-wrapped .yelp-wrapped -- the original yelp binary After this commit, the bin directory will instead contain: gnome-help -- a symbolic link to yelp yelp -- wrapper to exec .yelp-wrapped .yelp-wrapped -- the original yelp binary NOTE: The primary motivation for this commit is to avoid obscuring the fact that two or more paths are simple aliases and expected to behave identically. It also reduces the likelihood of hitting limits related to environment variable size. LIMITATION: The method used above is intended to be conservative and will still wrap symbolic links to other symbolic links when the ultimate target is outside of bin or libexec.
2019-01-31cc-wrapper: set priority to 10Matthew Bauer
2019-01-31linkFarm: hacky quoting -> escapeShellArgvolth
2019-01-31singularity: 2.6.0 -> 3.0.1Justin Bedo
2019-01-30gcj: fix build on DarwinAlyssa Ross
Partially addresses https://github.com/NixOS/nixpkgs/issues/29715.
2019-01-29runInLinuxVM: pkgs.linux -> kernelvolth
There is a function params `kernel' intended to specify which kernel to use. It defaults to `pkgs.linux`. But when we override `kernel', compiling and using two kernels seems not to be the intendend bevavior.