| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
The wrapper needs to link the desktop file, icons, info and man pages
into place so they will appear when emacsWithPackages is installed.
|
|\
| |
| | |
Add isGNU and isClang attributes to cc-wrapper
|
| |
| |
| |
| |
| |
| |
| |
| | |
These will be more pleasant to use than the existing
(cc.cc.isClang or false)
nonsense we currently do.
|
| |
| |
| |
| | |
Also, execute stage 2 as PID 1.
|
| | |
|
|\ \
| |/
|/| |
Add support for Rust / Cargo packaging
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
... 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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| | |
Also disable check phase in cargo as there are lots of failures (some
probably due to trying to access the network).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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`).
|
|\ \ |
|
| | | |
|
| | | |
|
|\| | |
|
| | | |
|
| |\ \
| | | |
| | | | |
fetchhg: add option to fetch hg subrepos
|
| | | | |
|
|\| | | |
|
| |/ / |
|
|\| |
| | |
| | |
| | | |
(relatively simple conflicts)
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
runScript now expects a filename instead of a Bash snippet; thus, "exec" should be
omitted.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
|\| |
|
| |
| |
| |
| | |
Resolves https://github.com/NixOS/nixpkgs/pull/7172.
|
| |
| |
| |
| | |
closes #1707
|
| |\
| | |
| | | |
libredirect: add access syscall
|
| | | |
|
| |\ \
| | | |
| | | | |
grsecurity module: use types.enum
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also
- set desktop as default system
- make virtualisationSoftware nullOr
- make virtualisationConfig nullOr
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
the source has changed.
this is way more hacky than i was hoping...
|
|\| | |
|
| | |
| | |
| | |
| | |
| | | |
closes #5828
closes #6786
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Rename ccgo back to gccgo
|
| | | |
| | | |
| | | |
| | | | |
I believe this is result of typo, introduced in 48f63c2f.
|
|\| | | |
|
| |/ / |
|