mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2025-01-07 11:51:26 +03:00
ca43418b4d
This makes it not pick-up linux-namespaces dependency which is Linux specific.
15 lines
465 B
Nix
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
|
|
];
|
|
});
|
|
}
|