From f05bcdc8677efef097b4849e8893d2702640ed2c Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 10 Jul 2020 22:37:25 -0700 Subject: dev: fixes for macos build --- nix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nix/default.nix') diff --git a/nix/default.nix b/nix/default.nix index 74917f8..04f9ee4 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,12 +1,12 @@ let sources = import ./sources.nix; nixpkgs = import sources.nixpkgs { - system = "x86_64-linux"; + system = __currentSystem; overlays = [ (_: _: { inherit sources; }) - (_: _: { niv = import sources.niv {}; }) (import ./sources-overlay.nix) (_: pkgs: pkgs.overridePinnedDeps pkgs.overrideSource) + (_: _: { niv = import sources.niv {}; }) (import ./haskell-overlay.nix) (_: pkgs: { wemux = pkgs.callPackage ./wemux.nix {}; }) ]; -- cgit v1.2.3