haskell.nix/lib
Hamish Mackenzie 5341ac4a65
Avoid using srcOnly (#1563)
New versions of `srcOnly` pass the `prePatch` hook in and we `cd` into the sub directory for the package in that hook.  This means that the output includes only the package subdirectory.

We worked around this, but the work around breaks for older nixpkgs where `prePatch` is not passed.

This change replaces the use of `srcOnly` and instead uses the same trick as source so that the `buildPhase` is replaced and runs in the expected source directory (including and it should still include any sibling directories that have not been filtered).
2022-07-29 19:23:39 +12:00
..
spdx Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00
cabal-licenses.nix LicenseRef-OtherLicense is not free = false (#1006) 2021-01-20 00:27:18 +13:00
cabal-os-arch-comp.nix Update ghcjs810-src.json (#1291) 2021-11-17 02:17:02 +13:00
cabal-project-parser.nix Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00
call-cabal-project-to-nix.nix Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00
call-stack-to-nix.nix Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00
check.nix Avoid using srcOnly (#1563) 2022-07-29 19:23:39 +12:00
clean-cabal-component.nix Remove canCleanSource (#1409) 2022-03-25 12:57:36 +13:00
clean-git.nix Fix cleanGit when src is a git submodule. (#1469) 2022-05-13 20:00:41 +12:00
clean-source-haskell.nix Drop 19.09 support (#947) 2020-11-27 10:34:31 +13:00
clean-source-with.nix Support Nix <2.4 (#1418) 2022-03-29 01:24:01 +13:00
compat.nix Fix broken compat attribute 2019-02-12 12:55:10 +10:00
cover-project.nix Improve coverage reports (#1548) 2022-07-19 19:40:41 +12:00
cover.nix Improve coverage reports (#1548) 2022-07-19 19:40:41 +12:00
default.nix Avoid using srcOnly (#1563) 2022-07-29 19:23:39 +12:00
failed-cabal-configure.nix Add getComponent to project and package (#1060) 2021-03-04 20:10:58 +13:00
fetch-external.nix Provide hackage and stackage from haskell.nix 2019-02-13 14:51:10 +10:00
fetch-resolver.nix Improve cleaning of stack projects (#1074) 2021-03-19 10:25:32 +13:00
ghcjs-project.nix Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00
hackageIndex.nix [ifd] cabalProjectToNix (#122) 2019-05-18 22:00:28 +08:00
host-map.nix Adds ghcjs and Asterius as cross compilers (#106) 2019-05-16 21:06:16 +08:00
import-and-filter-project.nix Better support for allow-import-from-derivation=false (#1474) 2022-06-02 20:11:27 +12:00
make-source-pins.nix Fix evaluation on Hydra (#153) 2019-06-02 07:21:21 +10:00
materialize.nix Turn off trace messages (when checkMaterialization is disabled) to not bother user (#1555) 2022-07-27 09:10:13 +12:00
override-with.nix Provide hackage and stackage from haskell.nix 2019-02-13 14:51:10 +10:00
pkgconf-nixpkgs-map.nix Fixes to help building of all packages in stackage (#1503) 2022-06-02 22:45:09 +12:00
project-overlays.nix devshell: provide stdenv native deps (#1560) 2022-07-29 11:26:25 +12:00
stack-cache-generator.nix Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00
system-nixpkgs-map.nix Add mapping to Cabal extra-libraries: bcrypt (#1561) 2022-07-29 09:33:37 +12:00
system-pkgs.nix Add evalSystem and evalPackages project args (#1546) 2022-07-28 20:03:05 +12:00