summaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-07-10 22:37:25 -0700
committerBen Sima <ben@bsima.me>2020-07-10 22:37:50 -0700
commitf05bcdc8677efef097b4849e8893d2702640ed2c (patch)
treefe80f6403b5df4e39b0ac447fc733063579f67d8 /nix/default.nix
parent56990a680ab94110c27695bc737ae51b954b993c (diff)
dev: fixes for macos build
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix4
1 files changed, 2 insertions, 2 deletions
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 {}; })
];