| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|\
| |
| |
| |
| | |
It's the last staging commit (mostly) built on Hydra,
and a minimal fix for Darwin regression in pysqlite.
|
| |\ |
|
| | | |
|
| |/
|/|
| |
| | |
Link it in stage 1.
|
| |
| |
| |
| |
| |
| |
| | |
Since the /nix/store directory is not immutable, tar can fails if it
has to push it into the layer archive.
Fixes #34137.
|
|/ |
|
|\ |
|
| |
| |
| | |
Null packages cause an error
|
|\ \
| |/
|/| |
descent 1 & 2: use assets from gog.com with the dxx-rebirth project
|
| | |
|
| |
| |
| |
| | |
fixes #34228
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I originally wrote this for packaging proprietary games in Vuizvui[1]
but I thought it would be generally useful as we have a fair amount of
proprietary software lurking around in nixpkgs, which are a bit tedious
to maintain, especially when the library dependencies change after an
update.
So this setup hook searches for all ELF executables and libraries in the
resulting output paths after install phase and uses patchelf to set the
RPATH and interpreter according to what dependencies are available
inside the builder.
For example consider something like this:
stdenv.mkDerivation {
...
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ mesa zlib ];
...
}
Whenever for example an executable requires mesa or zlib, the RPATH will
automatically be set to the lib dir of the corresponding dependency.
If the library dependency is required at runtime, an attribute called
runtimeDependencies can be used to list dependencies that are added to
all executables that are discovered unconditionally.
Beside this, it also makes initial packaging of proprietary software
easier, because one no longer has to manually figure out the
dependencies in the first place.
[1]: https://github.com/openlab-aux/vuizvui
Signed-off-by: aszlig <aszlig@nix.build>
Closes: #34506
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
cargo-vendor: Build from source using carnix
|
| | |
| | |
| | |
| | | |
Removes a binary bootstrap, and enables cargo-vendor on aarch64.
|
| | | |
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Among other things, this will allow *2nix tools to output plain data
while still being composable with the traditional
callPackage/.override interfaces.
|
|\| |
| | |
| | |
| | |
| | | |
Haskell rebuild.
Hydra: ?compare=1430378
|
| | |
| | |
| | |
| | |
| | | |
... by moving the existing definition to qemu-flags.nix and reusing
that.
|
| | | |
|
|\| |
| | |
| | |
| | | |
Hydra: ?compare=1429281
|
| | |
| | |
| | |
| | | |
We compute it on the fly, careful to avoid any mass rebuilds for now.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Summary:
According to git-submodule manpage,
"git submodule status" prefixes the hash with a '-' if it is not
initialized, and other chars in other circumstances.
(this is consistent on the various git versions tested)
nix-prefetch-git runs "git submodule init" which does you'd think,
but apparently despite this earlier versions of git before 2.16
would still give the hash the '-' suffix.
In particular this is the behavior when using 2.15 and 2.14.1
from the nixos-17.09 and nixos-17.03 channels respectively.
The script then used awk to drop the first char of the first field
which does the wrong thing when there is no prefix emitted:
while there is a space character before the hash, this is not
part of the field and so we ended up eating the first character
of the hash.
To fix this in a way that also works with the previous behavior,
this commit instead uses awk to grab the hash field
and uses tr to delete any '-' chars should they be present.
This seems to work in my testing, and for example can now
successfully fetch the source for "nginxModules.brotli"
where previously it would generate an error:
fatal: '22564a95d9ab58865a096b8d9f7324ea5f2e03e' is not a commit and a branch 'fetchgit' cannot be created from it
(we dropped a '2' from the beginning of the hash)
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | | |
It's 'Image' on AArch64.
|
|/ /
| |
| |
| |
| |
| | |
Close #33281. Edits by vcunat:
- use Eelco's idea: empty file instead of full copy
- use longer name suffix to decrease the likelihood of collision
|
|\ \
| | |
| | | |
fetchpatch: Add support for an arbitrary extra prefix
|
| |/
| |
| |
| |
| |
| | |
We still ensure the old and new ones start, respectfully, with `a/` and
`b/`. Use with `stripLen` to ensure tha the old `a/` and `/b` are gone
if a new prefix is added.
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
pkgs/build-support/fetchbower/default.nix
pkgs/build-support/fetchdarcs/default.nix
pkgs/build-support/fetchgx/default.nix
pkgs/development/python-modules/botocore/default.nix
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
pkgs/tools/admin/awscli/default.nix
|
| | |
|
| |\
| | |
| | | |
Fixed output deps
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 0af2c5891bfccfe5a6e8ba67e95c5852c45529d2.
See https://github.com/NixOS/nixpkgs/commit/0af2c5891bfccfe5a6e8ba67e95c5852c45529d2#commitcomment-26737983
This breaks the cargoSha256 hashes.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
cargo-vendor generates almost the right cargo config. Store it with the
vendored files and patch it on use.
This allows to re-use the generated config when using git dependencies.
|
|\| |
|
| |
| |
| |
| | |
Fixes #33378.
|
|\ \
| |/
|/| |
cacert: add hook that sets SSL_CERT_FILE
|
| | |
|