mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-16 13:48:56 +00:00
haskellPackages.cryptol: move override to configuration-nix
This commit is contained in:
@@ -1453,17 +1453,6 @@ with haskellLib;
|
||||
# 2025-02-10: Too strict bounds on text < 2.1
|
||||
digestive-functors-blaze = doJailbreak super.digestive-functors-blaze;
|
||||
|
||||
# Wrap the generated binaries to include their run-time dependencies in
|
||||
# $PATH. Also, cryptol needs a version of sbl that's newer than what we have
|
||||
# in LTS-13.x.
|
||||
cryptol = overrideCabal (drv: {
|
||||
buildTools = drv.buildTools or [ ] ++ [ pkgs.buildPackages.makeWrapper ];
|
||||
postInstall = drv.postInstall or "" + ''
|
||||
for b in $out/bin/cryptol $out/bin/cryptol-html; do
|
||||
wrapProgram $b --prefix 'PATH' ':' "${lib.getBin pkgs.z3}/bin"
|
||||
done
|
||||
'';
|
||||
}) super.cryptol;
|
||||
|
||||
# Z3 removed aliases for boolean types in 4.12
|
||||
inherit
|
||||
|
||||
@@ -584,6 +584,16 @@ builtins.intersectAttrs super {
|
||||
mustache = dontCheck super.mustache;
|
||||
arch-web = dontCheck super.arch-web;
|
||||
|
||||
# Wrap the generated binaries to include their run-time dependencies in $PATH.
|
||||
cryptol = overrideCabal (drv: {
|
||||
buildTools = drv.buildTools or [ ] ++ [ pkgs.buildPackages.makeWrapper ];
|
||||
postInstall = drv.postInstall or "" + ''
|
||||
for b in $out/bin/cryptol $out/bin/cryptol-html; do
|
||||
wrapProgram $b --prefix 'PATH' ':' "${lib.getBin pkgs.z3}/bin"
|
||||
done
|
||||
'';
|
||||
}) super.cryptol;
|
||||
|
||||
# Some test cases require network access
|
||||
hpack_0_39_1 = doDistribute (
|
||||
overrideCabal (drv: {
|
||||
|
||||
Reference in New Issue
Block a user