about summary refs log tree commit diff
path: root/pkgs/build-support
Commit message (Collapse)AuthorAge
* Add Ubuntu 15.04Eelco Dolstra2015-05-22
|
* buildRustPackage: Don't hardcode registry index hashRicardo M. Correia2015-05-19
| | | | | | | | | | | Instead, discover it automatically when building the package. This makes `buildRustPackage` more future-proof with respect to changes in how `cargo` generates the hash. Also, it fixes broken builds in i686 because apparently, cargo generates a different registry index hash in this architecture (compared to x86-64).
* emacsWithPackages: install support filesThomas Tuegel2015-05-17
| | | | | The wrapper needs to link the desktop file, icons, info and man pages into place so they will appear when emacsWithPackages is installed.
* Merge pull request #7817 from gridaphobe/cc-wrapper-isgnu-isclangEric Seidel2015-05-14
|\ | | | | Add isGNU and isClang attributes to cc-wrapper
| * add is{GNU,Clang} attrs to cc-wrapper.Eric Seidel2015-05-11
| | | | | | | | | | | | | | | | These will be more pleasant to use than the existing (cc.cc.isClang or false) nonsense we currently do.
* | Make module loading work in VMsEelco Dolstra2015-05-13
| | | | | | | | Also, execute stage 2 as PID 1.
* | Provide /run in VMsEelco Dolstra2015-05-13
| |
* | Merge pull request #7501 from wizeman/u/upd-rustRicardo M. Correia2015-05-12
|\ \ | |/ |/| Add support for Rust / Cargo packaging
| * buildRustPackage: Get rid of /proc/self/cwd hackRicardo M. Correia2015-04-23
| | | | | | | | | | | | | | This makes buildRustPackage portable to non-Linux platforms. Additionally, now we also save the `Cargo.lock` file into the fetch output, so that we don't have to run $cargoUpdateHook again just before building.
| * buildRustPackage: Add a mechanism to patch registry depsRicardo M. Correia2015-04-23
| | | | | | | | | | | | | | | | ... in a more generic way. With this commit, if you need to patch a registry package to make it work with Nix, you just need to add a script to patch-registry-deps in the same style as the `pkg-config` script.
| * cargo: Remove setupHookRicardo M. Correia2015-04-23
| | | | | | | | | | | | | | Instead, move that code into buildRustPackage. The setup hook was only doing part of the work anyway, and having it in a separate place was obscuring what was really going on.
| * buildRustPackage: Fix Cargo.lock being ignoredRicardo M. Correia2015-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that `cargo`, with respect to registry dependencies, was ignoring the package versions locked in `Cargo.lock` because we changed the registry index URL. Therefore, every time `rustRegistry` would be updated, we'd always try to use the latest version available for every dependency and as a result the deps' SHA256 hashes would almost always have to be changed. To fix this, now we do a string substitution in `Cargo.lock` of the `crates.io` registry URL with our URL. This should be safe because our registry is just a copy of the `crates.io` registry at a certain point in time. Since now we don't always use the latest version of every dependency, the build of `cargo` actually started to fail because two of the dependencies specified in its `Cargo.lock` file have build failures. To fix the latter problem, I've added a `cargoUpdateHook` variable that gets ran both when fetching dependencies and just before building the program. The purpose of `cargoUpdateHook` is to do any ad-hoc updating of dependencies necessary to get the package to build. The use of the '--precise' flag is needed so that cargo doesn't try to fetch an even newer version whenever `rustRegistry` is updated (and therefore have to change depsSha256 as a consequence).
| * buildRustPackage: Add check phase and enable it by defaultRicardo M. Correia2015-04-21
| | | | | | | | | | Also disable check phase in cargo as there are lots of failures (some probably due to trying to access the network).
| * Add support for building cargo'ed Rust programsGeorges Dubus2015-04-21
| |
| * fetchgit: Add support for specifying branch nameRicardo M. Correia2015-04-21
| | | | | | | | | | | | | | | | This is useful when `leaveDotGit = true` and some other derivation expects some branch name to exist. Previously, `nix-prefetch-git` always created a branch with a hard-coded name (`fetchgit`).
* | Merge branch 'master' into stagingWilliam A. Kennington III2015-05-08
|\ \
| * | kernel: 4.0.1 -> 4.0.2William A. Kennington III2015-05-07
| | |
| * | Mount /dev/shm in VMsEelco Dolstra2015-05-07
| | |
* | | Merge remote-tracking branch 'upstream/master' into stagingWilliam A. Kennington III2015-05-07
|\| |
| * | Drop obsolete pre-NG Haskell builds.Peter Simons2015-05-05
| | |
| * | Merge pull request #7235 from risicle/fetchhgsubrepoEdward Tjörnhammar2015-05-04
| |\ \ | | | | | | | | fetchhg: add option to fetch hg subrepos
| | * | fetchhg: add option to fetch hg subreposRobert Scott2015-05-04
| | | |
* | | | Merge remote-tracking branch 'upstream/master' into stagingThomas Tuegel2015-04-29
|\| | |
| * | | fetchhg: pass proxyvars to hgEdward Tjörnhammar2015-04-28
| |/ /
* | | Merge 'master' into stagingVladimír Čunát2015-04-26
|\| | | | | | | | | | | (relatively simple conflicts)
| * | emacsWithPackages: don't call package-initializeThomas Tuegel2015-04-23
| | | | | | | | | | | | | | | | | | Emacs will call package-initialize itself, if required, or the user will call it in their initialization file. There is no reason to call it in the wrapper and doing so only increases start-up time.
| * | fhs-userenv: refactor and try to chdir to the current directoryNikolay Amiantov2015-04-22
| | | | | | | | | | | | | | | runScript now expects a filename instead of a Bash snippet; thus, "exec" should be omitted.
| * | fhs-userenv: fix mkdirsNikolay Amiantov2015-04-22
| | |
| * | fhs-userenv: move mounts mapNikolay Amiantov2015-04-22
| | |
| * | fhs-userenv: refactor envvars and propagate SSL_CERT_FILENikolay Amiantov2015-04-22
| | |
| * | fhs-chrootenv: propagate SSL_CERT_FILENikolay Amiantov2015-04-22
| | |
| * | fhs-chrootenv-env: cleanupNikolay Amiantov2015-04-22
| | |
| * | fhs-chrootenv-env: refactor /etc build and add ssl certsNikolay Amiantov2015-04-22
| | |
| * | add emacsWithPackagesThomas Tuegel2015-04-21
| |/
* | Merge branch master into stagingEric Seidel2015-04-06
|\|
| * agda: migrate to haskell-ng, update and cleanupNikolay Amiantov2015-04-06
| | | | | | | | Resolves https://github.com/NixOS/nixpkgs/pull/7172.
| * Get rid of fetchurlGnomeRyan Mulligan2015-04-04
| | | | | | | | closes #1707
| * Merge pull request #5874 from robberer/nixos/libredirectaccessMichael Raskin2015-04-04
| |\ | | | | | | libredirect: add access syscall
| | * libredirect: add access syscallLongrin Wischnewski2015-01-20
| | |
| * | Merge pull request #7150 from joachifm/grsec-typesArseniy Seroka2015-04-03
| |\ \ | | | | | | | | grsecurity module: use types.enum
| | * | grsecurity module: use types.enumJoachim Fasting2015-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also - set desktop as default system - make virtualisationSoftware nullOr - make virtualisationConfig nullOr
| * | | fetchgitlocal: use output of `git show` and `git diff` to tell nix whether ↵Eric Seidel2015-03-31
| |/ / | | | | | | | | | | | | | | | the source has changed. this is way more hacky than i was hoping...
* | | Merge branch 'master' into stagingWilliam A. Kennington III2015-03-29
|\| |
| * | ghcjs: support for Haskell-NGCharles Strahan2015-03-29
| | | | | | | | | | | | | | | closes #5828 closes #6786
| * | fetchgitlocal: don't force copying the whole source directory into the store..Eric Seidel2015-03-28
| | |
| * | fetchgitlocal: local fetcher based on `git ls-files`Eric Seidel2015-03-28
| | |
| * | Merge pull request #7038 from avnik/gccgo-wrapperDaniel Peebles2015-03-27
| |\ \ | | | | | | | | Rename ccgo back to gccgo
| | * | Rename ccgo back to gccgoAlexander V. Nikolaev2015-03-27
| | | | | | | | | | | | | | | | I believe this is result of typo, introduced in 48f63c2f.
* | | | Merge branch 'master' into stagingWilliam A. Kennington III2015-03-27
|\| | |
| * | | Support unraring source filesWilliam A. Kennington III2015-03-27
| |/ /