forked from mirrors/nixpkgs
377924dd7b
Fix instances of tool dependencies coming from `self` or `pkgs` instead of `self.buildHaskellPackages` or `pkgs.buildPackages` respectively. This makes sure cross-evaluation and -compilation will work although their may still be more kinks to work out (or cases I missed). This change was mostly created by searching for `[tTool]` and `\${` in the respective files. Note that this has intentionally not been for test tool dependencies: Like in `stdenv.mkDerivation` we need to view tests as being executed on the *host platform* which is why we can't run tests while cross compiling anyways. In practice this is not an important distinction, though: `pkgs.buildPackages` and `pkgs` are almost identical in the native case. Resolves #127232. |
||
---|---|---|
.. | ||
configuration-hackage2nix | ||
patches | ||
cabal2nix-unstable.nix | ||
configuration-arm.nix | ||
configuration-common.nix | ||
configuration-darwin.nix | ||
configuration-ghc-8.6.x.nix | ||
configuration-ghc-8.8.x.nix | ||
configuration-ghc-8.10.x.nix | ||
configuration-ghc-9.0.x.nix | ||
configuration-ghc-head.nix | ||
configuration-nix.nix | ||
configuration-tensorflow.nix | ||
default.nix | ||
generic-builder.nix | ||
generic-stack-builder.nix | ||
hackage-packages.nix | ||
HACKING.md | ||
hoogle-local-wrapper.sh | ||
hoogle.nix | ||
initial-packages.nix | ||
lib.nix | ||
make-package-set.nix | ||
non-hackage-packages.nix | ||
stack-hook.sh | ||
with-packages-wrapper.nix |