hnix-store/overlay.nix
Richard Marko ca43418b4d overlay.nix: use no io-testuite enabled package for darwin
This makes it not pick-up linux-namespaces dependency which
is Linux specific.
2023-11-11 19:00:21 +01:00

15 lines
465 B
Nix

pkgs: hlib: helf: huper: {
hnix-store-core =
helf.callCabal2nix "hnix-store-core" ./hnix-store-core {};
hnix-store-remote =
if pkgs.stdenv.isDarwin
then helf.callCabal2nix "hnix-store-remote" ./hnix-store-remote { }
else
( helf.callCabal2nixWithOptions "hnix-store-remote" ./hnix-store-remote "-fio-testsuite" { }
).overrideAttrs (attrs: {
buildInputs = attrs.buildInputs ++ [
pkgs.nix
];
});
}