Age | Commit message (Collapse) | Author | Files | Lines |
|
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
|
|
Building such a derivation will result in
error: derivation '/nix/store/nk4wms3hk4mp9lc86k30vc8w44fcq0rj-foo.drv' has '__noChroot' set, but that's not allowed when 'sandbox' is 'true'
when attempting to build it without --option sandbox false
|
|
|
|
This makes things easier and hopefully fixes the arg too long issue.
Fixes #49206.
|
|
buildStackProject is overridding shell hook and doesn't append
user-specified shellHook to it, resulting in user's shellHook
never executing.
|
|
Fixes #43665.
Hopefully. :)
|
|
We need to add the STACK_IN_NIX_EXTRA_ARGS hook in configurePhase also to ensure we get the right args when calling ```nix-build``` (as opposed to nix-shell).
|
|
Fixes #40039
This adds a shellHook to handle propagated dependencies like that seen
in #40039 where gpgme needed libgpg-error.
|
|
|
|
|
|
This reverts commit 9cad7076d1bc5475a857fd2c6e9a56d9ed254252.
See https://github.com/NixOS/nixpkgs/commit/9cad7076d1bc5475a857fd2c6e9a56d9ed254252#commitcomment-22548331
|
|
|
|
`stack setup` should not be called inside `nix-build` because
that makes stack download a GHC instead of using nix's one
(the one provided `generic-stack-builder.nix` as the `ghc` argument),
which will not work.
Further evidence for this is that the `stack --nix` support
intentionally uses `--system-ghc` for the same purpose.
|
|
|
|
|
|
buildStackProject: Fix missing STACK_ROOT causing build errors
|
|
|
|
|
|
generic-stack-builder was not setting STACK_PLATFORM_VARIANT="nix".
This is required by stack when handling its haskell packages database
snapshot. Stack must keep separated packages built with its own GHC
and those built with GHC from Nixpkgs.
|
|
Don't make LD_LIBRARY_PATH pick up cwd when original string is empty,
due to colon terminated search path.
|
|
Previously, the user could only compile using the default version of
GHC in Nixpkgs. Now this can be changed by setting the `ghc` attribute
appropriately.
|
|
|
|
|