2023-11-15 09:51:30 +03:00
|
|
|
pkgs: hlib: helf: huper:
|
|
|
|
let
|
|
|
|
lib = pkgs.lib;
|
|
|
|
in
|
|
|
|
{
|
2023-11-18 14:32:51 +03:00
|
|
|
# srk 2023-11-18: this is pinned in nixpkgs unstable to 1.0.5
|
|
|
|
# causing trouble with ghc963
|
|
|
|
some = helf.callHackageDirect
|
|
|
|
{ pkg = "some";
|
|
|
|
ver = "1.0.6";
|
|
|
|
sha256 = "sha256-AnjaUzSlsLi3lIURrEfs92Jo5FzX49RyNdfDSfFV3Kk=";
|
|
|
|
} {};
|
|
|
|
|
2023-11-08 20:03:27 +03:00
|
|
|
hnix-store-core =
|
2023-11-15 09:51:30 +03:00
|
|
|
lib.pipe
|
|
|
|
(helf.callCabal2nix "hnix-store-core" ./hnix-store-core {})
|
|
|
|
[
|
|
|
|
hlib.compose.buildFromSdist
|
|
|
|
];
|
2019-03-10 02:32:01 +03:00
|
|
|
hnix-store-remote =
|
2023-11-15 09:51:30 +03:00
|
|
|
lib.pipe
|
|
|
|
# enable -fio-testsuite for Linux systems as
|
|
|
|
# it requires linux-namespaces
|
|
|
|
# NOTE: we cannot use hlib.compose.enableCabalFlag
|
|
|
|
# as the testsuite deps won't get picked up
|
|
|
|
# after cabal2nix step
|
|
|
|
(
|
|
|
|
if pkgs.stdenv.isDarwin
|
|
|
|
then helf.callCabal2nix "hnix-store-remote" ./hnix-store-remote {}
|
|
|
|
else helf.callCabal2nixWithOptions "hnix-store-remote" ./hnix-store-remote "-fio-testsuite" {}
|
|
|
|
)
|
|
|
|
[
|
|
|
|
hlib.compose.buildFromSdist
|
|
|
|
(pkg: pkg.overrideAttrs (attrs: {
|
2023-11-11 18:13:02 +03:00
|
|
|
buildInputs = attrs.buildInputs ++ [
|
|
|
|
pkgs.nix
|
|
|
|
];
|
2023-11-15 09:51:30 +03:00
|
|
|
}))
|
|
|
|
];
|
2019-03-10 02:32:01 +03:00
|
|
|
}
|