| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This commit adds test based on real-world crates (brotli).
There were a few more edge cases that were missing beforehand. Also it
turned out that we can get rid of the `finalBins` list since that will
now be handled during runtime.
|
| |
|
| |
|
|
|
|
|
|
| |
The build expression got quiet large over time and to make it a bit
easier to grasp the different scripts involved in the build are now
separated from the nix file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cargo has a few odd (old) ways of picking source files if the `bin.path`
attribute isn't given in the Cargo.toml. This commit adds support for
some of those. The previous behaviour always defaulted to `src/main.rs`
which was not always the right choice.
Since there is look-ahead into the unpacked sources before running the
actual builder the path selection logic has to be embedded within the
build script.
`buildRustCrate` currently supports two ways of running building
binaries when processing a crate:
- Explicit definition of all the binaries (& optionally the paths to
their respective `main.rs`) and,
- if not binary was explictly configured all files matching the patterns
`src/main.rs`, `src/bin/*.rs`.
When the explicit list is given without path information paths are now
being picked from a list of candidates. The first match wins. The order
is the same as within the cargo compatibility code.
If the crate does not provide any libraries the path `src/{bin_name}.rs`
is also considered.
All underscores within the binary names are translated into dashes (`-`)
before the lookups are made. This seems to be a common convention.
|
|
|
|
|
|
|
| |
Previously the Release.xz URL would show up with a new hash whenever
debian releases an update. By using archive.org we should have a stable
source for those. I wasn't able to find the equivalent in the debian
world. Maybe they don't keep all the different Release files around..
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
toPath has confusing semantics and is never necessary; it can always
either just be omitted or replaced by pre-concatenating `/.`. It has
been marked as "!!! obsolete?" for more than 10 years in a C++
comment, hopefully removing it will let us properly deprecate and,
eventually, remove it.
|
| |
| |
| |
| | |
It should be more performant this way.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce a `skawarePackages.buildPackage` function that contains the
common setup, removing a lot of duplication.
In particular, we require that the build directory has to be empty
after the `fixupPhase`, to make sure every relevant file is moved to
the outputs.
A next step would be to deduplicate the `configureFlags` attributes
and only require a `skawareInputs` field.
|
| | |
|
| |
| |
| |
| |
| |
| | |
There's no reason `linkFarm` can't be used for symlinks in
subdirectories, except that currently it doesn't ensure the directory
of the link exists. This backwards-compatible change expands the utility
of the function.
|
| |
| |
| |
| |
| | |
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
|
| |
| |
| |
| | |
It is deprecated and will be removed after 18.09.
|
|\ \
| | |
| | | |
make-desktopitem: make genericName optional
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
Hydra: ?compare=1474932
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 89efc27f571368b475ce87e71445be10a9d1121a, reversing
changes made to d0f11020ca55dfe20ecad05005343e3a3e3cbd90.
|
|\| | | |
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Security fixes for a few packages are included.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Progress towards #27069
|
|\ \ \ \ \
| | | | | |
| | | | | | |
audit-tmpdir: fix processing of files with spaces, quote variables
|
| | |/ / /
| |/| | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* ppc64le enablement
* gcc, glibc: properly handle __float128
* lib/systems, stdenv: syntax cleanup
* gcc7: remove ugly hack
* gcc: add/update __float128 flags
* stdenv: add another pair of quotes for consistency
* gcc: move __float128 flag for ppc64le-glibc into common/platform-flags.nix
|
|\ \ \ \
| | | | |
| | | | | |
{cc,bintools}-wrapper, ghc, libgcc: Define wrapper env vars as full paths
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | |/ / /
| |/| | | |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Hydra: ?compare=1473892
|
| | | | | | |
|
| | |\ \ \ \
| | | | | | |
| | | | | | | |
buildRustPackage: allow patches to fix Cargo.lock
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit b6e881ab72fbd0bb50b58668b457f7a79ceb8993.
We need to fix checksums for this pull request first.
Also see https://github.com/NixOS/nixpkgs/pull/44967
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | | |
buildRustPackage: allow patches to fix Cargo.lock
|
| | | |/ / / / |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Commits from master, conflict resolutions, etc.
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Hydra: ?compare=1472947
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix evaluation of two tests
|
| | | | |/ / /
| | | |/| | |
| | | | | | |
| | | | | | | |
it still does not build
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit 034c9816d5236e5c0131b715ee08fed56c89d4ad, reversing
changes made to 5afe87ed7a75e99c3b68f255562dc82b3e3c7d4e.
Huge rebuild, moving to staging.
|
| | | | | | | |
|
|/ / / / / / |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 28ad0703f3db92a3cbb8b1249101e0ff4e3616f6.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 02c09e01712ce0b61e5c8f7159047699a434f7fc.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
See discussion in #44516.
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit fd81a2ecb6b85594dc79ad53566c822849d4e47a.
Moved from master to staging.
|