mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
46b1474255
This reverts commit7701a9e6c6
, reversing changes made to8991dc8e9d
. Restore haskell-updates on staging-next to save resources on hydra.
26 lines
698 B
Nix
26 lines
698 B
Nix
{
|
|
haskell,
|
|
haskellPackages,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
let
|
|
inherit (haskell.lib.compose) overrideCabal justStaticExecutables;
|
|
|
|
overrides = {
|
|
description = "OAuth credential MAnager";
|
|
homepage = "https://github.com/pdobsan/oama";
|
|
maintainers = with lib.maintainers; [ aidalgol ];
|
|
|
|
passthru.updateScript = ./update.sh;
|
|
};
|
|
|
|
raw-pkg = haskellPackages.callPackage ./generated-package.nix { };
|
|
in
|
|
lib.pipe raw-pkg [
|
|
(overrideCabal overrides)
|
|
# FIXME: eliminate all erroneous references on aarch64-darwin manually,
|
|
# see https://github.com/NixOS/nixpkgs/issues/318013
|
|
(if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else justStaticExecutables)
|
|
]
|