mirror of
https://github.com/srid/haskell-flake.git
synced 2024-08-15 17:00:41 +03:00
Switch to buildFromSdist
(#221)
This commit is contained in:
parent
c301f31092
commit
dd0d3b9d51
@ -5,6 +5,8 @@
|
||||
- #210: Add `extraLibraries` to `settings` module.
|
||||
- #215: Improved debug logging.
|
||||
- #216: Remove `debug` option (pass `--trace-verbose` to nix instead)
|
||||
- Breaking changes
|
||||
- #221: Switch to `buildFromSdist`, to allow using non-standard package sets (wherein `cabal-install` is otherwise built without using user's overrides)
|
||||
|
||||
## 0.4.0 (Aug 22, 2023)
|
||||
|
||||
|
@ -12,8 +12,10 @@
|
||||
}:
|
||||
|
||||
let
|
||||
fromSdist = self.buildFromCabalSdist or
|
||||
(log.traceWarning "Your nixpkgs does not have hs.buildFromCabalSdist" (pkg: pkg));
|
||||
# NOTE: We do not use the optimized version, `buildFromCabalSdist`, because it
|
||||
# breaks in some cases. See https://github.com/srid/haskell-flake/pull/220
|
||||
fromSdist = pkgs.haskell.lib.buildFromSdist or
|
||||
(log.traceWarning "Your nixpkgs does not have hs.buildFromSdist" (pkg: pkg));
|
||||
|
||||
mkNewStorePath = name: src:
|
||||
# Since 'src' may be a subdirectory of a store path
|
||||
|
Loading…
Reference in New Issue
Block a user