mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2025-01-06 03:06:58 +03:00
overlay.nix: use no io-testuite enabled package for darwin
This makes it not pick-up linux-namespaces dependency which is Linux specific.
This commit is contained in:
parent
1f55815e5b
commit
ca43418b4d
15
overlay.nix
15
overlay.nix
@ -2,10 +2,13 @@ pkgs: hlib: helf: huper: {
|
||||
hnix-store-core =
|
||||
helf.callCabal2nix "hnix-store-core" ./hnix-store-core {};
|
||||
hnix-store-remote =
|
||||
( helf.callCabal2nixWithOptions "hnix-store-remote" ./hnix-store-remote "-fio-testsuite" { }
|
||||
).overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [
|
||||
pkgs.nix
|
||||
];
|
||||
});
|
||||
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
|
||||
];
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user